Re: [PHP] Question about ereg_replace and urlencode...

2007-10-02 Thread Venkatesh M. S.
Many thanks Stut The problem is that the rest of the $str is actually a big post from a blog, which will have many other text and info apart from the URL, and i don't want to urlencode everything in there! Venky On 02/10/2007, Stut <[EMAIL PROTECTED]> wrote: > Venkatesh M. S. wrote: > > Hello! >

Re: [PHP] Question about ereg_replace and urlencode...

2007-10-02 Thread Stut
Venkatesh M. S. wrote: Hello! i am trying to make links clickable on a page. I would like to urlencode the URL so that it is well passed to a redirect.php file, which would do somethings and then also do a meta http refresh I am trying to use a function like the following, but it doesn't work.

[PHP] Question about ereg_replace and urlencode...

2007-10-02 Thread Venkatesh M. S.
Hello! i am trying to make links clickable on a page. I would like to urlencode the URL so that it is well passed to a redirect.php file, which would do somethings and then also do a meta http refresh I am trying to use a function like the following, but it doesn't work. I would like to apply url