Re: Could mail() do ??? (part 2)
| From: | fongming | Date: | Tue, 27 May 2003 01:04:51 +0000 |
| Subject: | Re: Could mail() do ??? (part 2) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148999@lists.php.net to get a copy of this message | ||
Hi,Kilimajer:
Thanks,
I've update my scripts to get rid of them:
following is the scripts:
--------------------------------------------
mail($main_address,$title,stripslashes($content),"From: $your_email \r\nCc:
$other_address");
--------------------------------------------
---------original messages-------------------------
You have magic_quotes_gpc on, what is generally good, but if you don't
need them (this case), you need to use strip_slashes() to get rid of them.
fongming wrote:
>Yes:
>
>Because I edited the php.ini,
>and altered the \"sendmail_path\" to
>changed the path and add :
>
>/usr/sbin/send_mail -t -i -f fongming@fonn.fongming.idv.tw
>
>and finally it worked.
>
>But my problem is , if we do not adjust the
>php.ini file,
>how could we just use the mail() function
>do that work succeessfully?
>
>thanks...
>
>Fongming from Taiwan
------------------------------------------
¡»From: ¦¹«H¬O¥Ñ®ç¤p¹q¤l¶l¥ó1.5ª©©Òµo¥X...
http://fonn.fongming.idv.tw
fongming@fonn.fongming.idv.tw