Hello;
I like to know if there is possible and how to do to add a function to the following reg_replace:
$introtext = ereg_replace("<a href=([>]*)>", "<a href=redir.php3?op=redir&sid=$sid&url=\1", $introtext);
The idea is to urlencode() the content of \1 in order to pass to a redirection function in redir.php3. Why? because special characters like # and/or ? (for example) are ignored with all the text after it.
Any help would be apreciated, thanks.