RE: [PHP-DB] mail() - is there a limit?

2001-09-30 Thread Luke Muszkiewicz
olinux: > If I use set_time_limit(0); - will this override my hosts > timeout setting if > there is one? The short answer is yes, but please see http://www.php.net/manual/en/function.set-time-limit.php for more information. Good luck! -luke Luke Muszkiewicz Pure Development, LLC http://purede

[PHP-DB] Re: username/password db query

2001-09-30 Thread Jason
you may want to try this if ((strcmp($username,$myrow[0])==0) && (strcmp($password,$myrow[2])==0)) instead of if ($username==$myrow[0] && $password==$myrow[2]) You may also want to change your select query: $query = "SELECT Password FROM userinfo WHERE Username='$username'"; then change your co

Re: [PHP-DB] Executing a shell script HELP!

2001-09-30 Thread Armando Cerna
On Sunday 30 September 2001 04:38 pm, Andreas D. Landmark wrote: > At 01.10.2001 00:02, you wrote: > >I have a shell script that I am executing like this $files = > > `shellscript`; but if I do an if ($files) it doesn't read $files as > > existing. The contents of the shell script is a smbclient

Re: [PHP-DB] problem with WHILE loop

2001-09-30 Thread Jason G.
the mysql_query function returns a Result Identifier. For every row in the result (found by mysql_num_rows), you must call one of the the row retrieval functions (mysql_fetch_array, mysql_fetch_object, etc...) These functions automatically advance the row position in the Result. Replace the

[PHP-DB] problem with WHILE loop

2001-09-30 Thread Eric J Schwinder
I have the following code on a page: \n"); } ?> For some reason, when I load the page, instead of a list of the titles from table1, I get the title from the first row of table1 repeated over and over. Obviously I'm doing something wrong, and it's probably something really dumb, right in f

[PHP-DB] username/password db query

2001-09-30 Thread Ross Dmochowski
Hi. i'm new to PHP, and i can't seem to find out what i'm doing wrong with the following code: client posts username/password via SSL to this file, login.php, where i want to check the username/password combo against what is listed in the db if the entries are blank, it goes to a page that sends

Re: [PHP-DB] Executing a shell script HELP!

2001-09-30 Thread Andreas D. Landmark
At 01.10.2001 00:02, you wrote: >I have a shell script that I am executing like this $files = `shellscript`; >but if I do an if ($files) it doesn't read $files as existing. The contents >of the shell script is a smbclient line that copies a bunch of DBF files from >another machine. Anyone have a

[PHP-DB] Executing a shell script HELP!

2001-09-30 Thread Armando Cerna
I have a shell script that I am executing like this $files = `shellscript`; but if I do an if ($files) it doesn't read $files as existing. The contents of the shell script is a smbclient line that copies a bunch of DBF files from another machine. Anyone have any idea? Below is a little snipi

RE: [PHP-DB] Re: mysql_fetch_array() doesn't work

2001-09-30 Thread Jason Wong
>-Original Message- >From: Web user [mailto:[EMAIL PROTECTED]] >Sent: 30 September 2001 22:15 >To: [EMAIL PROTECTED] >Subject: [PHP-DB] Re: mysql_fetch_array() doesn't work [snip] >It only works when the $arr['user_id'] is out of the quotes. >echo "target='_top'>"; >then IE showed no er

[PHP-DB] Re: mysql_fetch_array() doesn't work

2001-09-30 Thread Web user
Hello, First, Thank you all for your help! I finally found the reason for why does the IE always show info as below: "Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in c:\program files\apache group\apache\htdocs\web\site1\list.php on line --[the number of line]"

[PHP-DB] sessions

2001-09-30 Thread nirat
how do u work with sessions in php IIS 5. -- PHP Database 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-DB] Script

2001-09-30 Thread Dave Watkinson
Alternatively if you're using Windows you can write a batch file and use AT to set it to run as often as you like. Just include the path to PHP.exe and the path to the PHP file in the batch file, like this... D:\PHP\PHP.exe D:\Scripts\email_sender.php HTH! Dave -Original Message- F