[PHP] Re: Strange output by phpinfo()

2001-09-23 Thread Elias Santiago
That's the request string of the W32Nimda worm, it has propagated very fast in the Internet. Info and tool for removing it are at: http:[EMAIL PROTECTED] If you are running under an IIS webserver, it could be the server itself that could be infected and sending the request string to itself. Th

[PHP] Hello

2001-08-31 Thread Brian Elias
by decrease our percent of profits. Just click the link below to set up an appointment with one of my sales representatives today! Brian Elias President Hansons Windows & Siding P. S. This a one time email offer only good for the next 9 day or until we decrease our tax problem.

[PHP] Re: strange error

2001-08-24 Thread Elias Santiago
an error, try to count your "if" > statements and "endif;" maybe something is missing. > > Youri the correct structure would be: Note that curly braces (expression group) does not need the semicolon after them. If the IF, ELSEIF or ELSE constructs just need to exec

Re: [PHP] The future of PHP

2001-08-23 Thread Elias Santiago
Almost all modern technologies are the evolution of previous ones: C -> C++,Perl, PHP, Python; Basic -> QBasic -> VBasic/ASP; Even new languages like Rebol are based (in one way or another) to previous languages. Anyone could develop a parser/interpreter for any new language they could devis

Re: [PHP] Re: force download in IE -- conclusion

2001-08-22 Thread Elias Santiago
Not necessarily an answer but on my work (a computer center for medical students) we use a propietary Perl web-based course software and when doing attachments on email messages on the system's bulletin board, the system sends a header with "appplication/octet-stream" and IE 5.5 "attaches" the .ht

[PHP] Re: how to disable the automated "userID/password" in Internet Explor er

2001-08-22 Thread Elias Santiago
You need to go to: Tools -> Internet Options -> Content (tab) -> Autocomplete -> clear the box beneath "User names and passwords on forms" also press "Clear Passwords" if you're concerned about passwords being remembered. Just check/uncheck the options you need. "Gabe Da Silveira" <[EMAIL PROTE

Re: [PHP] The future of PHP

2001-08-22 Thread Elias Santiago
Just by looking at M$ history we all know that their only interest is $$money$$. Even if the product is not fully tested/bug-free and if 20% of it works, they spit it out and leave the dirty work (and headaches) to the system administrators and everyone else who's not a "plain non-technical user"

Re: [PHP] Any point in learning ASP/JSP etc?

2001-08-22 Thread Elias Santiago
I have learned (and used) both PHP and ASP. However, when I was beginning with PHP, I always made it first on ASP then re-implemented on PHP. I always found PHP to be easier, shorter (but more powerful) logic (scripts are shorter than ASP). I guess it has served me well, I have learned to do it

[PHP] Re: The future of PHP

2001-08-22 Thread Elias Santiago
"Thomas Deliduka" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > A little background... Skip to "THE JIST" if you wanna make this quick. > > I am on this webmaster's list where most of the people are fairly new > webmasters. They're just getting the hang of thi

[PHP] Re: Browser Detection & Redirection -- PHP or Apache ???

2001-08-19 Thread Elias Santiago
Why not use something easier like phpSniff. http://phpsniff.sourceforge.net/ You don't need a browscap.ini or troubling around with get_browser(); Elias Santiago "Christopher Raymond" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]..

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-17 Thread Elias Santiago
ction quality) to use it on my sites. "Phil Driscoll" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Thursday 16 August 2001 7:35 pm, Elias Santiago wrote: > > I believe that IIS passes the script name to php.exe with the first

[PHP] Interesting links

2001-08-16 Thread Elias Santiago
PHP IDE for Linux Only a.. Coffeecup Editor (the best IDE for PHP on Linux) PHP editor b.. HTML/PHP editors Quanta c.. HTML/PHP editors Blue Fish d.. HTML editors AswEdit On Windows a.. PHP IDE and Editor "PHP Coder" and mirror b.. Zend PHP IDE c.. IDE for PHP scripting (Web browser)

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Elias Santiago
Found MS explanation! (at least the only place I've found the reason WHY %s %s must be used) http://support.microsoft.com/support/kb/articles/Q276/4/94.ASP I know, this is a KB article for Python, but look closely at the line that says: "(The two "%s" after the executable are required for conso

Re: [PHP] Re: [PHP-WIN] Installation failed ! Please Help!

2001-08-16 Thread Elias Santiago
I've had PHP 3 to 4.01 and now 4.06 running under NT4 SP6a and now with W2K & IIS 5. From my experience, the %s %s is a requirement of IIS (not PHP). This according to Microsoft rules (apparently %s %s is CASE SENSITIVE): http://support.microsoft.com/support/kb/articles/Q245/2/25.ASP The %s %s h

[PHP] Re: WAHOO!!!

2001-08-12 Thread elias
Good work Kyle! "Kyle Smith" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... My first WORKING SCRIPT!!! http://www.stupeedstudios.f2s.com/index.php -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666

[PHP] Re: PHP.exe EAT's my win resources... (!)

2001-08-10 Thread elias
Hmm...Maybe because you're installing PHP as CGI. ISAPI runs fast only only once as you want. But it's not really stable. "Tribun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Tach! > > Is that correct, that my php.exe opens each time when a user access a pa

[PHP] Re: Printing

2001-08-09 Thread elias
Can't the operator request a report and hit the Print button in his browser? You also make sure that the report looks nice when printed from the browser. "Fernando Avila" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello php-general, > > I made a system i

[PHP] Re: Difference between win98 and win2000

2001-08-09 Thread elias
In windows 2000 unless you set permission to write files you can't! I mean that you have to explicitly specify that a certain folder can be written to. "..." <[EMAIL PROTECTED]> wrote in message 001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0">news:001d01c1215b$0c7613d0$14794ad3@maidew3qujo5j0... M

[PHP] Re: Emulating a POST

2001-08-09 Thread elias
hope this helps: /// http://";, 7) == 0) $url = substr ($url, 7); $p = strpos ($url, '/'); if (empty ($p)) { $req = "/"; } else { $req = substr ($url, $p); } if ($fp) { fputs ($fp, "POST $req HTTP/1.0\n"); send_headers ($fp); fputs ($fp, "Content-type: application/x-www-f

[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-09 Thread elias
As for snap two, try echoing the filename you're trying to fopen: do: $fn = "http://babynames.pregnancy.yahoo.com/bnfname?n=$name"; echo "$fn\n"; $fp = fopen($fn, "r"); Weird...maybe this yahoo service was doing at that moment? "Tribun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">new

Re: [PHP] Best way to take a copy of a Database from Server to server

2001-08-07 Thread elias
No I don't really have Telnet accessI have only access to phpMyAdmin 2.0.1 via my Hosting Control Panel... And it happens that both servers have this tool to access the database. How can I copy from a server to another? Please Help! "Jon Farmer" <[EMAIL PROTECTED]> wrote in message [EMAIL

[PHP] Best way to take a copy of a Database from Server to server

2001-08-07 Thread elias
Hello. I have two MySql databases running on different servers. I have no root access and only PHP + Mysql and MysqlAdmin. How can i take a dump of first database (which is about 1MB) and restore that dump on the second one? Actually, I'm doing a structure dump, but the outputed SQL text is ver

[PHP] Re: how can i tell if a field exists

2001-08-07 Thread elias
Yes! Try: "Zippy" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi, > > I am having trouble with some data i am retrieving from a mysql > database. > > after a query i am using mysql_fetch_array in a while loop to retrieve > data. ie;- > > $row = mysql_fetc

[PHP] Re: veuillez m'inscrire dans la liste

2001-08-07 Thread elias
Fait cela toi même. "Said El Maataoui" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... merci _ Le journal des abonnés Caramail - http://www.carazine.com -- PHP General Mailing List (http://www.php.net/

Re: [PHP] MySql help #1

2001-08-03 Thread elias
ecrement the items in stock by 3. > > Just an idea... > > Do you know about database normalization? How is the database designed? > > > > -Original Message- > From: elias [mailto:[EMAIL PROTECTED]] > Sent: August 2, 2001 6:32 PM > To: [EMAIL PROTECTED] &g

[PHP] Re: How to create session??

2001-08-03 Thread elias
Please post in text format. session_start(); if (isset($login)) { session_register("name", "pwd"); $name= $pwd = } else if (isset($logout)) { session_unregister("name"); session_unregister("pwd"); } - "Balaji Ankem" <[EMAIL PROTECTED]> wrote in message 00db01c11be2$57e26c20$

[PHP] Re: Oh and one more thing

2001-08-03 Thread elias
I guess you mean by "extra functions" the what so called extensions. Actually mail() and date() are builtin but if you want extra functions you have to install extra extensions. "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... How do i set up extra f

Re: [PHP] MySql help #1

2001-08-02 Thread elias
> So it's experimentation time. I've never tried, but as LIMIT works on a > SELECT, try it on an update. And let us know what happened. > Miles > > At 10:30 AM 8/2/01 +0200, elias wrote: > >How can I update only N fields from the database? > > > >usually we d

[PHP] Re: re:mysql help #1

2001-08-02 Thread elias
t won't work with other db. Best wishes, Andras. "elias" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Someone purchased items from my site let's say 3 items out of 5 total. All > items are the same. I just want to u

Re: [PHP] MySql help #1

2001-08-02 Thread elias
$count]=$resultset ["ID"]; > $count++; > } > > > for ($count=0;$count<2;$count++){ > "update table1 set field='VALUE' WHERE ID=".$array[$count]"; > $result = mysql_query ($sqlstring,$db) or die (mysql_error()); > } > > -Original Me

[PHP] Mysql Help #2

2001-08-02 Thread elias
Hi again. $result = mysql_query("SELECT id FROM table"); $id_array = array(); while ($r = mysql_fetch_array($result)) $id_array[] = $r["id"]; // now $id_array[] is an array of IDs that was grabbed from the database. Any faster and/or better approache to build the $id_array? -- PHP Gener

[PHP] MySql help #1

2001-08-02 Thread elias
How can I update only N fields from the database? usually we do: UPDATE table1 SET field='VALUE' WHERE condition1 now I want to update fields with a certain condition but only X fields out N total fields. ie: id value --- --- 1a 2b 3c 4d 5e how can i update such lik

[PHP] Re: Being a SERVER (you cant kill me, im.... DAMN!!)

2001-08-01 Thread elias
If you're running Windows system and you've got the windonws 98 SE original cdrom, you can just install from it PWS from: CDROMDRIVE:\addons\pws (...) "Kyle Smith" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Where do i download the best software (prefebly fre

[PHP] Re: Hmmm?

2001-08-01 Thread elias
Why you ppl. do this: if ($condition) { //action 1 //action 2 //action 3 } instead of this: if ($condition) { //action 1 //action 2 //action 3 } with the '}' you'll see directly the new code block that belongs to the IF statment. anyway...it's just a style aft

[PHP] Re: Make associative array from two arrays

2001-08-01 Thread elias
same same... Thought there was a PHP function to do that...instead of looping, "Tim Ward" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How about ... > > foreach ($keys as $key=>$value) $new_array[$value] = $vals[$key]; &

[PHP] Re: how can i send SMS from Php Scripts ?

2001-08-01 Thread elias
hehe:) but what have you wrote already? 3 words? :) "Damien Camus" <[EMAIL PROTECTED]> wrote in message sb67ed5f.072@senlis_gwia">news:sb67ed5f.072@senlis_gwia... Sorry for my english but i'm french -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] Make associative array from two arrays

2001-08-01 Thread elias
Hello! I have two arrays: $keys = array("a", "b", "c", "d"); $vals = array(1, 2, 3, 4); I would like to get an associative array holding this: $aarray = array("a" =>1, "b"=>2, "c"=>3, "d"=>4); I know I can do it with a "while" loop...but I wonder if there is any builtin PHP function that can d

[PHP] Re: Hmmm?

2001-08-01 Thread elias
It's called identing. It's just there to make the script more readable. That's common to almost all programming languages. Some programmers doesn't ident they code anyhow. Basically you increase the ident whenever you enter in a deeper code block. "Kyle Smith" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: warnings in php4

2001-08-01 Thread elias
check php.ini and the key "error_reporting" "Melania Popescu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a lot of php scripts developed with php3. > I've installed php4 and I get some warnings when I > evaluate variables there are not set (are empty

Re: [PHP] Re: storing array in mysql

2001-08-01 Thread elias
or data > (65k runs out fast), and that is a bit slower as well. > > Warren > > -Original Message- > From: elias [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 8:09 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: storing array in mysql > > Yes true, you

[PHP] Re: php_oci8.dll

2001-07-31 Thread elias
Basically if you don't have this file you can't use it. try to see if it exist first. If not go to www.php4win.de or www.php.net and download the complete PHP Win32 binaries. "Liviu Popescu2" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have installed PHP4 m

Re: [PHP] Re: storing array in mysql

2001-07-31 Thread elias
es makes the data mysql safe (i.e. allows me to store quotes in the > column, just in case they are in the array). > > Warren Vail > > -Original Message- > From: elias [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 31, 2001 4:05 AM > To: [EMAIL PROTECTED] > Subj

[PHP] Re: Embedding PHP into another application...

2001-07-31 Thread elias
pt is more easier than PHP. Good luck. //elias "Richard Lyle" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi Everyone, > > I'm currently looking at "Lua" for use as a embedded scripting language for > our game,

Re: [PHP] Re: window.open (javascript)

2001-07-31 Thread elias
or.php?nome=$nome & curriculo=$curriculo & > interesse=$interesse & adicionais=$adicionais & publicacoes=$publicacoes"; > print "\", \"f3_professor\", [\"toolbar=no\"]);\n";} > > print ""; > ?> > - Ori

[PHP] Re: php3 -> php4

2001-07-31 Thread elias
Edit your PHP.ini file and change the error_reporting to: error_reporting=E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; show only errors "Liviu Popescu" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a lot of php scripts developed with php3. > I've installed

[PHP] Re: window.open (javascript)

2001-07-31 Thread elias
can you show us the code that does the window.open('myfile.php?test=hey') for example ? "Eduardo Kokubo" <[EMAIL PROTECTED]> wrote in message 016e01c119b4$d784d920$a102a8c0@cttmar">news:016e01c119b4$d784d920$a102a8c0@cttmar... I passed some vars to another page using window.open and it worked fin

[PHP] Sort by bigger count(*)

2001-07-31 Thread elias
Hello, I made a query that uses count(*) now how can i get the results sorted following the biggest count(*) result? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrato

[PHP] Re: textfile??????

2001-07-31 Thread elias
I tried it and it works good! "Muhv" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Why this code will make empty line between each text line??? > > $linkFile='link.txt'; > $links=file($linkFile); > $fs=fopen($linkFile,'w+'); > for ($i=0; $i if (count(e

[PHP] Re: Making graphs from within PHP?

2001-07-31 Thread elias
You can use the GD Image Library calls to draw a graph, http://www.php.net/manual/en/ref.image.php "Dr. Evil" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a PHP application, and I need to display some dynamic data as a > simple line graph (a gif or

[PHP] Re: storing array in mysql

2001-07-31 Thread elias
when you submit this form, PHP will give a array variable called $name you can store in in MySql as: now to reget the array, you can select it back from MySql and split it as: //elias "Matthew Delmarter" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[

[PHP] Re: Can't write to file via php, just via ftp...Can anyone help?

2001-07-31 Thread elias
ecute chmod filename newmode (as ftp user) hope this gives a hint, //elias "Stephan HüBner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello all, > > another newbie-question, probably... :-) > > And sorry for my (poss

[PHP] Re: Text Database class

2001-07-30 Thread elias
tions and joints. "Henrik Hansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (Elias) wrote: > > > http://www.php.net/manual/en/ref.dba.php > > wasn't what I really wanted, > > > >

[PHP] Re: Text Database class

2001-07-30 Thread elias
thanks for sharing http://www.freesql.org link! "Henrik Hansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (Elias) wrote: > > > Yes, But I still want to know if any Text Database class exist... >

[PHP] Re: Text Database class

2001-07-30 Thread elias
http://www.php.net/manual/en/ref.dba.php wasn't what I really wanted, Any other ideas to use text databases? "Elias" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have hosting plan that doesn't support MySQL nor any Da

[PHP] Re: calling javascript functions inside PHP

2001-07-30 Thread elias
you really can't do that... try translating the decoding algorithm to PHP. "Dean Martin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I use a PHP self-validating form for taking orders off my site. (on submit > it calls itself and if there are no errors a se

[PHP] Re: Text Database class

2001-07-30 Thread elias
Thanks guys, I had no idea about this: http://www.php.net/manual/en/ref.dba.php I'll take a look to make sure if that's what i really want. "Elias" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have hosting plan that do

[PHP] Re: Text Database class

2001-07-30 Thread elias
Yes, But I still want to know if any Text Database class exist... "Henrik Hansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > [EMAIL PROTECTED] (Elias) wrote: > > > I have hosting plan that doesn't support MySQL no

[PHP] Text Database class

2001-07-30 Thread elias
I have hosting plan that doesn't support MySQL nor any Databases...Just PHP. I'm wondering if there is any text database class that simulates the MySql queries and function calls. I mean text database, like all the values and data is stored in a raw text file. -- PHP General Mailing List (ht

[PHP] Re: Form Data

2001-07-30 Thread elias
maybe the field is too small to hold the whole value? some code might also help. "Gerard Samuel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hey all. Another thought. In a form I have there is a drop down box > with age groups. ie 20-25 26-35 etc. If I

[PHP] Re: doubt regarding mysql & php

2001-07-30 Thread elias
a = b means PASSWORD(a) = PASSWORD(b) therefore, if correct password is 'a' and it was stored in the database like PASSWORD(a) then the user's inputed password is 'b' and must be equal like: PASSWORD(a) = PASSWORD(b) = "Balaji Ankem" <[EMAIL PROTECTED]> wrote in message 002801c11741

[PHP] Re: Global Variables -> Local Scope

2001-07-27 Thread elias
$varname = "hi!"; function read_global() { $varname = $GLOBLS["varname"]; } "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How can I read in all of the global variables and give them local > scope? PLEASE HELP ME. -- PHP General Mai

[PHP] Re: best php editor

2001-07-27 Thread elias
> It is free. How it's for free? and what's than then: http://www.chami.com/html-kit/register/ "Daniel Goldin )" <[EMAIL PROTECTED]> wrote in message 000601c1166a$9602e0c0$033a22c7@daniel">news:000601c1166a$9602e0c0$033a22c7@daniel... > Recently there's been a thread about what editor is best for

Re: [PHP] best php editor

2001-07-27 Thread elias
Then you must be one of the 3% who voted "Bad" at cnet.com ;) "Martin Marconcini" <[EMAIL PROTECTED]> wrote in message 001401c11673$9b2926a0$[EMAIL PROTECTED]">news:001401c11673$9b2926a0$[EMAIL PROTECTED]... > > languages. It is called HTML-kit! I absolutely love it and felt I had > to > > share

[PHP] Re: running a function after a form submit

2001-07-27 Thread elias
why don't you save just before the submit was clicked? what if he clicks submit and then he quickly closes and cancels everything out? (you just saved for vain!) "Richard Kurth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is there a way to run a function wh

[PHP] $str = var_dump()

2001-07-27 Thread elias
dump=$str"; //elias -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread elias
thanks David ;) "David Robley" <[EMAIL PROTECTED]> wrote in message 0107261823110B.03813@www">news:0107261823110B.03813@www... > On Thu, 26 Jul 2001 19:13, elias wrote: > > Hi. > > > > Usually, Any AUTO_INCREMENT field in MySql table will have always

Re: [PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread elias
yes, sort of... both have same number. "Alexander Skwar" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... So sprach »elias« am 2001-07-26 um 11:23:56 +0200 : > first field is the primary key and is called 'id' and is an intege

[PHP] Re: Install

2001-07-26 Thread elias
www.activestate.com (Perl) www.editplus.com (good editor for programming) "Roman" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello ! > > I want to install perl under apache in windows, please send me some > information > how can i install, where I find pe

[PHP] Anyway to reset MySql's AUTO_INCREMENT counter?

2001-07-26 Thread elias
Hi. Usually, Any AUTO_INCREMENT field in MySql table will have always an incrementing value. Now Suppose I emptied the table and then inserted one record, why not this record LAST_INSERT_ID is not '1' or '0' and why it is the lastid+1 before I empty the table? Can't I reset that pointer w/ delet

[PHP] Re: Avoiding repost

2001-07-26 Thread elias
I remember seeing a solution for this on PHPBuilder.com plz check it out "Ashley M. Kirchner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I have a card system that will ask for the required information, and > one hits a 'Send' button to send the card.

[PHP] I want to AUTO_INCREMENT fields

2001-07-26 Thread elias
Hi! I want to have to fields, first field is the primary key and is called 'id' and is an integer, and i want another field of type integer to be also autoincremented... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] MySql number/string comparing ideas...

2001-07-25 Thread elias
Thank you Brad and Lawrence. I have agreed to only allow numerical input on this specific field. And make a new one that allows X and Y ... Thanks again. "Brad Wright" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > elias, &

Re: [PHP] MySql number/string comparing ideas...

2001-07-24 Thread elias
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would use something like this: > > Select * from table where value1 < 500 AND value2 < 100 > > > hope this helps, > brad > > > From: "elias" <[EMAIL PROTECTED]> > > Date: Fri,

[PHP] Re: HTTP Authentication and PHP

2001-07-22 Thread elias
Try this when you want to logout: //elias "Jason Rennie" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, > > I've been playing around with PHP authentication via HTTP. > > I'm using apache, and when i

[PHP] Re: removing lines from array

2001-07-22 Thread elias
$recordsarray = file("records"); $remove = "schopf.net"; $temp = array(); for ($i=0;$i wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I an trying to figure out how to remove lines from a text file from > within an array. > > I fill the array with this > $recordsarray =

[PHP] Re: screen

2001-07-19 Thread elias
you can clear w/ refreshing! just do it via javascript as: document.open(); document.close(); "Jeremy Morano" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > is there any refresh or clear screen function in php? -- PHP General Mailing List (http://www.ph

[PHP] Re: Editing Files Using POST Forms

2001-07-19 Thread elias
try "stripcslashes()" "Rca Web Development" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have created a php page that accepts a variable called $file using GET. It > then displays this in a textarea box. You can then edit the file and click a > button to s

[PHP] Re: Loading values from a tag

2001-07-19 Thread elias
... then php would read as: "; } ?> "Mauricio T?Llez Jim?Nez" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all, I want to print all the text stored in a tag. For example: > > > Hello > World > Again!!! > > > This is the final select, but is created

[PHP] Re: a goog "whatever you want" editor

2001-07-19 Thread elias
As we already run into this sort of discussions...here's my opinion again: http://www.editplus.com Fast, light, and powerfull! I use it to edit all my files! even my assembly projects! "Aniceto Lopez" <[EMAIL PROTECTED]> wrote in message 003701c1103d$d1e24140$2a53a8c0@latinia">news:003701c1103d$d

[PHP] How can i pop my mails?

2001-07-18 Thread elias
Hi Using PHP, how can i check my mail and dump it to a text file? As if email2text ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: Command line args HELP!!!

2001-07-18 Thread elias
argv Array of arguments passed to the script. When the script is run on the command line, this gives C-style access to the command line parameters. When called via the GET method, this will contain the query string. argc Contains the number of command line parameters passed to the script (if run

[PHP] Re: How make the time

2001-07-18 Thread elias
select count(*) from test1 where MINUTE(tm1) >= 15 and MINUTE(tm1) <= 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how many customers where surfed at that time where 30-15=interval and 12 is the hour you're checking in! "D

[PHP] Re: How make the time

2001-07-18 Thread elias
select count(*) from test1 where MINUTE(tm1) >= 15 and MINUTE(tm1) <= 30 and HOUR(tm1)=12 this query will return you on column containing how many record found in that time range, same as how many customers where surfed at that time where 30-15=interval and 12 is the hour you're checking in! "D

[PHP] Re: Force new page in browser and wait commands

2001-07-17 Thread elias
a simple example: "; } ?> test! name: In this example you won't see the comment in the start of the page unless the user processes the form. "Hugh Danaher" <[EMAIL PROTECTED]> wrote in message 002501c10f17$876cbf40$2afeb3d1@default">news:002501c10f17$876cbf40$2afeb3d1@default... Help, I'm

[PHP] Re: Cannot copy a file to a dynamic folder

2001-07-17 Thread elias
Hi! when you use the "\" character in a string you have to escape it by putting "\\" instead of one! > $default_dir = ("D:\www\Proj\$textfield2\"); would become: $default_dir = "D:\\www\\Proj\\$textfield2\\"; do the same for the $filename variable. "Vincent Chew" <[EMAIL PROTECTED]> wrote in m

[PHP] Re: Known bugs with HTTP upload on Windows NT?

2001-07-17 Thread elias
Hmm... do you have write access on that directory? IUSR_xxx and IWAM_ users must be appropriate writes on that folder... "Adam Whitehead" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi All- > > I'm having trouble with a simple script that allows HTTP up

[PHP] Re: Output (Urgent!)

2001-07-17 Thread elias
Well, Yes... you have to stick to JavaScript + JavaScript and not JavaScript + PHP! You can let PHP talk w/ JavaScript and not the reverse! if (screen.width >= 1024) { var resolution = "1024"; } else { var resolution = "800"; } document.write(resolution); btw, why don't

[PHP] Re: variables.

2001-07-17 Thread elias
Hmm... It seems that you're variables are beeing reposted upon each page reload. yes, some code might help. "Johan Vikerskog" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . > ok, i still am a newbie to this and therefor ill ask this silly question. > > I have

[PHP] the triple equal sign?

2001-07-16 Thread elias
What is the '===' ? Please give me an example. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: mysql error

2001-07-13 Thread elias
Table is full? did you try searching MySql.com for "Table is full" error message? "Andreas )" <[EMAIL PROTECTED]> wrote in message 000c01c10b81$c765aa60$8d0a@devel01">news:000c01c10b81$c765aa60$8d0a@devel01... hi all, my script was now working for month but now suddenly get this error:

[PHP] MySql number/string comparing ideas...

2001-07-13 Thread elias
Hi! How is it possible to do a MySql query for something like: SELECT value from table WHERE value < '500x100' should return all values that part1 must be less than 500 and part2 less than 100? like 499x99 and reject something like: 500x101 please give me suggestions! -- PHP General Mail

[PHP] Re: Credit Card script that really works...

2001-07-12 Thread elias
Go to http://www.webberdev.com and search for a credit card script! I found one that is very good! and I'm using it. "Dhaval Desai" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi! > > > Well I jsut downloaded the credit card script from > this website: > >

[PHP] Re: $HTTP_REFERER < 10

2001-07-12 Thread elias
Maybe what you say about smallest refeerer length is true... but why don't you check via regexps the validity of the REFEERER format only if it was set? "InéRcia Sensorial" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is it possible? > > I am writing a r

[PHP] Re: Using PHP Variables with a Header

2001-07-12 Thread elias
Hey, A simple example with one field: *Name: "> //Elias "Michael Conley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a form that requires a user to enter various information (name, > address, ph

[PHP] Re: Login system

2001-07-12 Thread elias
I can suggest Session Variables instead of cookies, Try http://www.zend.com / Tutorial Section there, about Authorization and Session Variables, "Kristjan Kanarik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Dear list, I'm sorry to bother (or sorry for being

[PHP] Re: Silly table and php question.

2001-07-12 Thread elias
You can also do as: and create a file: checkonline.php Good luck, "Johan Vikerskog" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED].. . > Hi all. > I know this is a silly question but i dont know how to do it so thats why i am asking. > Be gentle towards me. Im

[PHP] Re: time compare in my sql

2001-07-12 Thread elias
try this: select * from table where TIME(time_field) < = 12 "Jack" <[EMAIL PROTECTED]> wrote in message 060101c10b0d$cd941940$[EMAIL PROTECTED]">news:060101c10b0d$cd941940$[EMAIL PROTECTED]... Hi folks I have a filed in data type "time" , how would I compare the value submited from the form with

[PHP] Re: Question

2001-07-12 Thread elias
see eregi() "James W Greene" <[EMAIL PROTECTED]> wrote in message 032f01c109fd$53ad0b70$0cfb94d0@calcutta">news:032f01c109fd$53ad0b70$0cfb94d0@calcutta... > Hi All, > I have an e-mail message stored in the var $message How can I grep for > say the From lines and such in $message using PHP.

[PHP] Re: Averaging columns in two tables?

2001-07-12 Thread elias
try, $result = mysql_query("select avg(tbl1.age) as avg1, avg(tbl2.age) as avg2 from tbl1, tbl2"); $r = mysql_fetch_array($result); $avg = ($r["avg1"] + $r["avg2"]) / 2; "Jeff Lewis" <[EMAIL PROTECTED]> wrote in message 007d01c10a36$c657f750$76a1a8c0@LEWISJCIT">news:007d01c10a36$c657f750$76a1a8c

[PHP] Re: Popquiz...

2001-07-12 Thread elias
How you mean *in it's original form* ? "Lasse" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ..Or call it a riddle.. Whatever... :-) > > What did the following code look like in it's original form? > > function bitdef($prefix, $name, $bitnum) > { > define

  1   2   3   >