In article <004d01c1a6f2$cb909070$0401a8c0@philip>,
[EMAIL PROTECTED] (Philip J. Newman) wrote:
> This returns an error
>
> $q=preg replace("/[^ \w]/","",$q);
>
> Parse error: parse error in d:\hosting\http\philipsdomain\config.php on line
> 41
>
> Suggestions?
I think ezmlm must strip underscores from messages, 'cuz a lot of posts
(though, oddly, not all...) seem to be missing them from otherwise
valid/functioning code. The function is named "preg_replace" (an
underscore between the words), not "preg replace" (with a space).
--
CC
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]