Posted by Chung Leong on 03/11/06 21:00
Simon wrote:
> Hi,
>
> would anybody have a version of str_irepalce(),
> (http://uk.php.net/manual/en/function.str-ireplace.php) for php4?
>
> The doc mentions eregi_replace() and preg_repalce() but I cannot get my head
> around it.
>
> Would anybody have a few lines of code that would reproduce the
> functionality above.
>
> What I actually need to do is a search an replace of a web address.
>
> Simon
Just grab the function from PEAR::PHP_Compat
(http://pear.php.net/package/PHP_Compat/).
[Back to original message]
|