[PHP] A Bug in string ' e

2005-06-26 Thread cchereTieShou
I found this quite weired problem when I was trying to generate a mysql query string, something like WHERE TheDate e Quite confusing. Anyone think this is a bug or something I missed? -- If you have a minute, please visit http://www.cchere.com -- PHP General Mailing List (http://www.php.ne

[PHP] Is there any way to show the error file without showing the dir information?

2005-04-29 Thread cchereTieShou
In many case, if there is an error happen in a php script, it may return an error message something like " Parse error: parse error, unexpected T_FUNCTION in /home/content/usr/html/test.php on line 6" Is there any way to not show the dir information, but only as "test.php on line 6" instead? -- P

[PHP] help on "Array to string conversion" warning when use mail()

2005-04-05 Thread cchereTieShou
I am using the mail() function to send a quite simple email but always get warning message as "Notice: Array to string conversion" at this line "if(mail($MailTo, $MailSubj, $MailCon, $MailH,"[EMAIL PROTECTED]")){" in the following php code. I don't see where is the Array at all. Appreciated for he