Hi,
basically waht i want is a string search and replace. this is can be done using "ereg_replace()" function but i really dont no how to use it.
first i read a entire web page in to a string. (this is already done 🙂)
Then i want to replace all the links (eg: src, href) with a given url.
eg: if initial src="info.jpg" then i want to replace it as src="www.zeelabs.com/images/info.jpg.
thanx in advance,
regards,
Niroshan