[PHP] A Bug in string 'brbr eD'?

2005-06-26 Thread cchereTieShou
I found this quite weired problem when I was trying to generate a mysql query string, something like WHERE TheDateDATA_ADD(..) The query string returns something like WHERE TheDate Withought the left part. You can actually try to use this to verify the problem: echo 'brbr eD';

[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? -- PHP

[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 helps