[PHP] RE: Resetting result sets after looping

2004-09-29 Thread Michael Purdy
Steve Take a look at mysql_data_seek Mike

[PHP] Cookie behaviour

2004-08-23 Thread Michael Purdy
Folks I am running php 5.0.1 on NT. I have a small test script as shown below setcookie('cat','large',time()+3600); setcookie('dog','small',time()+3600); The outcome of this script is that only the LAST cookie is successfully stored.despite having a different name. Is this because the

[PHP] RE: PHP 5.0.0 NT Mail()

2004-08-10 Thread Michael Purdy
Jason Thank you for your response. In the php.ini I have tried: ; For Win32 only. sendmail_from = [EMAIL PROTECTED] sendmail_from = '[EMAIL PROTECTED]' sendmail_from = "[EMAIL PROTECTED]" This issue has been raised on other php forums, but has not received any responses. Mike

[PHP] 5.0.0 NT and Mail()

2004-08-09 Thread Michael Purdy
Folks Has anyone running php 5.0.0 on NT ran into the MAIL() error Warning: mail(): "sendmail_from" not set in php.ini or custom "From:" header missing I have tried numerous syntax changes to sendmail_from in the PHP.INI as well as setting headers without success. Mike

[PHP] RE: mysql_connect and PHP 5.0

2004-08-03 Thread Michael Purdy
Have you enabled MYSQL support by removing the semi-colon in front of the extension DLL in the php.ini file? Mike

[PHP] Sending mail() using 5.0.0

2004-07-30 Thread Michael Purdy
Folks I am running php 5.0.0 on Windows 2000 When using php-cgi.exe or php.exe for that matter I get the following error when using MAIL() Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in e:\http\cgi\mail.php on line 4 When using php-win.

[PHP] re: newbie needs help in getting php and MySQL integrated

2004-07-20 Thread Michael Purdy
Chris Have you removed the ";" from the extension DLL in the php.ini file? ;extension=php_ming.dll ;extension=php_mssql.dll ;extension=php_msql.dll extension=php_mysql.dll < Here ;extension=php_oci8.dll ;extension=php_openssl.dll ;extension=php_oracle.dll Mike

[PHP] Re: Using and Echoing Session Variables

2004-07-18 Thread Michael Purdy
Michael session_start() starts and resumes a session placing it in script that is being called will make the variable visible. Mike

[PHP] Re: old guy newbie needs some help

2004-07-17 Thread Michael Purdy
Bob A. Example path session.save_path = c:\http\cgi\session Basically a directory under the root of your webserver B. session_start() must be before any other commands in your script such as HTML. So Line 1:

[PHP] Re: Book Required

2004-07-17 Thread Michael Purdy
Michael Your right there is a wide selection available and as such you need to select based on your particular development slant. PHP and Mysql Web Development ISBN 0-672-32525-X 2nd Edition by Welling & Thomson is a good general text. Did you solve your table results printing question? Mike

[PHP] $_POST v4.3 to v5.0

2004-07-14 Thread Michael Purdy
Folks I appreciate the answers received previously in relation to my 4,3 to 5.0 question regarding $_REQUEST $_POST etc.. Unfortunately I am still no further advanced on solving the problem. Clearly the value from the form is not being passed to the script in 5.x, but being very new to PHP an

[PHP] $_Request from 4.3 to v5.x

2004-07-13 Thread Michael Purdy
Folks I am currently using 4.3.7. I have a script which accepts three POSTed variables from a basic form. Under 4.3.7 the script runs fine and the variables are successfully passed to the script. I am testing 5.0 C3 and receive the following error PHP Notice: Undefined index: searchtype in

[PHP] $_Request from 4.3 to v5.x

2004-07-13 Thread Michael Purdy
Folks I am currently using 4.3.7. I have a script which accepts three POSTed variables from a basic form. Under 4.3.7 the script runs fine and the variables are successfully passed to the script. I am testing 5.0 C3 and receive the following error PHP Notice: Undefined index: searchtype in c

[PHP] Cannot send session cookie

2004-07-12 Thread Michael Purdy
Folks I am a new to php. I am currently learning about session handling and would appreciate some assistance with the following: I am using php 4.3.7 and I am using the default values in the php.ini for session.use_cookies = 1 session.cache_limiter = nocache When experimenting with a few simp