Hey folks,
I would like PHP to open an HTML file and, find all of the links in the page and replace them with a different URL. Some of the links pass variables using the GET method so it's important that the link URLs maintain their integrity. All of the links in the page are surrounded by double-quotes (i.e. <a href="http://www.yoursite.com/">). Ideally, all of the replaced links would be stored in an array.
Any help would be greatly appreciated.
qwee