Forum Moderators: coopster
So, basically I'm trying to code a quick script that will fetch a page from somewhere, replace pre-defined words with other words and present it.
The particular pages in this case are Yahoo!/Hotmail in order to hop the odd filter ;)
Obviously, the find-n-replace would also have to change relative links to absolute, but thats another hurdle.
If anyone could point me in the right direction / throw some sample code at me (extremely welcome), that would be fantastic.
Cheers,
James.
You could store the words you want to replace in an array alongside words you want to replace them with, then use the above function to do the necessary replacement.