[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"everything is a string" newbie friendly?



Someone posted on alt.php wondering why there was a 0 at the beginning
of an e-mail message sent via PHP.

------- Start of forwarded message -------
From: "Marko Crnic" <paranoid-spam_is_evil@x.srk.fer.hr>
Newsgroups: alt.php
Subject: Re: Php mail problem?
Date: Tue, 18 Dec 2001 22:42:12 +0100
Organization: Jebivjetar d.o.o.
Message-ID: <9vod91$ok3$1@as201.hinet.hr>
References: <9vntin$frde$1@as201.hinet.hr>

"muha" <sstruk@uni.hr> wrote in message:

>      $who="From:"+$sender;

Should be: $who = "From:" . $sender; (note the '.' instead of '+').

>      echo('<body onLoad="mailstatus('+$jsc+')></body></html>');

Jesi siguran da ti je ovo najsretnije rijesenje? :)

--
Discordianism is not just a religion; it is a mental illness.
Citizen of Sovereign State of Confusion
<paranoid[at]x[dot]srk[dot]fer[dot]hr>



------- End of forwarded message -------