zic si eu la mai mult la misto. cred ca php binar as in interpretorul din
linia de comanda difera de libraria pt apache. incearca sa verifici asta cu
phpinfo(); in linia de comanda si in apache. vezi ce zice. poate te ajuta.
eu alta explicatie nu vad. sau citez din manual :
Note: Make sure you have no new-line (or other whitespace) after your to or
subject parameters, as this may cause strange results.
slak
----- Original Message -----
From: "lonely wolf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 1:52 PM
Subject: [rlug] pb cu php si mail
> se da un RH 7.2 cu update-uri la zi, pe care sendmail a fost inlocuit cu
> postfix (1.1.3, testat si 1.1.5)
> scriptul urmator:
>
> [root@arhive ]# cat test.php
> <?php
> $msg="<html><head><meta http-equiv=\"Content-Type\" content=\"text/html;
> charset=iso-8859-1\"></head>";
> $headers = "MIME-Version: 1.0\r\n";
> $headers .= "Content-type: text/html; charset=iso-8859-1\r\nFROM:
> GARBAGE";
> mail("[EMAIL PROTECTED]","blabla",$msg, $headers);
> ?>
>
>
> rulat din linie de comanda merge ok. rulat via serverul de web zice:
>
>
> Warning: mail() is not supported in this PHP build in
> /var/www/finances/test.php on line 5
>
>
> ce pisici il deranjeaza ?
>
>
> ---
> Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
> unsubscribe from this list.
>
---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to
unsubscribe from this list.