[PHP] Problems sending to several recipients with mail() using WIN NT and Apache
Hi! I'm using Apache 1.3.14 on WIN NT, and can't send mail to more than one recipient using the PHP-mail command. I've checked php.ini, and everything seems to be fine... This is an example that won't work (but should have worked..?) mail("[EMAIL PROTECTED], [EMAIL PROTECTED]","subject","content"); This one however turns out fine: mail("[EMAIL PROTECTED]","subject","content"); I have also tried to "manipulate" the header with "cc:", but no copy arrives, only the one in the "to:" field. Any suggestions? Trond Straume -- 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] removing backslashes using regular expressions
Hi! I'm having problems using preg_replace to search and remove backslash character. print preg_replace("/\\/","","testing \\ testing"); This regexp produces this warning: No ending delimiter '/' found in c:\internweb\html\preg.php on line 27 It seems like I'm escaping the ending delimineter '/', but if i try to remove one'\' I'm still escaping. What do I have to do, to make this right? -- Regards Trond Straume -- 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]