[PHP] What's the difference between mail() in PHP and sendmail?

2001-10-26 Thread Web user
What's the difference between mail() in PHP and sendmail? Thanks! Mike -- 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] Help, need the scripts of processing the to-be-confirmed email.

2001-10-25 Thread Web user
I need to some help about example scripts on: Question 1: How to process the confirmation email by clicking the url given in the email and by replying the email. Question 2: I know if using mail(), the From field of the mail sent out is always the web host server's mail sendout server, not from

[PHP] Session and header() errrors

2001-10-04 Thread Web user
Why do the errors occur while running the scripts below? It seems that the errors occured at the part of session and header(). Please give me some advice! Thank you! Mike System: PHP4.06 + Apache 1.3.20 Win32 + Win98 (the session configurations are default in php.ini) when the 1.php is

[PHP] 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] 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] mysql_fetch_array() doesn't work

2001-09-26 Thread Web user
System: PHP4.06 + Mysql3.23.41 Win32 + Apache 1.3.20 Win32 + Win98 When PHP is running at the line: $arr=mysql_fetch_array($res); 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

[PHP] mysql_fetch_array() doesn't work

2001-09-25 Thread Web user
System: PHP4.06 + Mysql3.23.41 Win32 + Apache 1.3.20 Win32 + Win98 ? .. .. $res=mysql_query($query); $num=mysql_num_rows($res); for($i=0; $i$num; $i++){ $arr=mysql_fetch_array($res); ... } ... When PHP is running at the line: $arr=mysql_fetch_array($res); The IE always show info as

[PHP] HTTP 500 server error

2001-08-29 Thread Web user
It always gets HTTP 500 server error, when I try to run the php scripts on Windows98 SE + PWS4.0. THE PHP installed is Ver 4.06 -win32, as a server module. However I get a screen full of html codes when I run c:\php\php.exe -i in MS-DOS command line So what's problem with the