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
__________________
Personal UK Webhosting Get 25% of ANY shared package for life ~ Promo: webmaster-talk (only for members!)
|