Hello.
Okay so im playing with a thing whcih is basically acting like a proxy.
It gets page, using file_get_contents() uses str_replace to change the urls inlinks and srcs to http://mysite/script.php?proxy=Actual URL of link.
and simply adds the bit before proxy=
but when you get urls which are just page.php how can i do it?
i tried some really messed up attempt at regex which was something like
value="[a-z!http]
:s
im confuddled how could i be done?
Thanks,
Dan
__________________
Discounted Web Hosting With XDnet! >> Get 25% of hosting~ Promo: Webmaster-talk <<
|