Justin French wrote:
On 13/09/2004, at 12:45 PM, John Holmes wrote:
str_replace(array("\r","\n",'',$text)
Is one way to do it.
Typo John:
str_replace(array("\r","\n"),'',$text);
Yeah, that's why I said it was "one way" to do it and not the "correct
way" to do it... come on people!! ;)
Anyway, I
On 13/09/2004, at 12:45 PM, John Holmes wrote:
str_replace(array("\r","\n",'',$text)
Is one way to do it.
Typo John:
str_replace(array("\r","\n"),'',$text);
:)
---
Justin French
http://indent.com.au
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
John, et al --
[Been a while! How ya been?]
...and then John Holmes said...
%
% David T-G wrote:
%
% >I'd like some sanity checks on safely using input for sending mail. I'm
...
% >At the moment, I am running escapeshellcmd() on the From:, To:, Subject:,
...
% >his own bandwidth limits). Unf
David T-G wrote:
I'd like some sanity checks on safely using input for sending mail. I'm
developing a feature where one can click a 'mail this page' link, fill in
the sender's and the recipient[s]'s addresses, and add comments in the
body (eg "Hey, Bill, what do you think of this chair?") and then
Hi, all --
I'd like some sanity checks on safely using input for sending mail. I'm
developing a feature where one can click a 'mail this page' link, fill in
the sender's and the recipient[s]'s addresses, and add comments in the
body (eg "Hey, Bill, what do you think of this chair?") and then gene
5 matches
Mail list logo