I have script wich open an URL. I want it to erase the meta tag content before display of the page. Is there a simple way to do it or I had to use regex on the page to display ?
I think the best way to do it would be to use a preg_replace. Wont be flawless though.
How can i use the rawurlencode() function into the ereg_replace() ?
Example :
ereg_replace("href=\"(.*)\", "href=\"".rawurlencode("\\1")."\"", $mystring);