[PHP] A Bug in string ' e
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.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Is there any way to show the error file without showing the dir information?
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 General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] help on "Array to string conversion" warning when use mail()
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 \r\n"; $MailH .= "Reply-to: $FromName <$MailFrom>\r\n"; $MailH .= "X-Priority: 3\r\n"; $MailH .= "X-Mailer: PHP mailer\r\n"; if(mail($MailTo, $MailSubj, $MailCon, $MailH, "[EMAIL PROTECTED]")){ echo "sending out succeessfully"; }else{ echo "Can't send out for some reason."; } ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php