In article <007001c0d38f$c50929b0$a0a6ca18@renttib>,
 [EMAIL PROTECTED] ("Martin Bittner-Lamy") wrote:

> Warning: REG BADPAT in /usr/home/64.157.1.190/public html/test/segrabs.php on 
> line 236
> 
> and the line 236 is:  $url=ereg replace("&amp;","&",$url);

Why are bother to use a regex function for this?  str_replace() can do the 
job just as well, not to mention faster.

-- 
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]

Reply via email to