Iulian Vaideanu wrote:
>
> nu, da' php asta are o gramada de functii care la urma urmei executa
> ceva. de exemplu, daca folosesc mail(), cine ii apare destinatarului
> la From:? useru' care executa httpd. se poate face totusi ceva?
De ce nu citesti mai atent (si mai intii) documentatia?
http://www.php.net/manual/function.mail.php
Zice acolo ceva de genul:
bool mail (string to, string subject, string message [, string
additional_headers])
Asadar, "additional headers". Te-ai gindit sa le folosesti pe alea?
Era si un exemplu:
mail("[EMAIL PROTECTED]", "the subject", $message, "From:
webmaster@$SERVER_NAME\nReply-To: webmaster@$SERVER_NAME\nX-Mailer: PHP/" .
phpversion());
--
Florin ANDREI
tel.: +40-93-261162
http://members.linuxstart.com/~florin/
mailto:[EMAIL PROTECTED]
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.