this is what I am trying to do... I have a webpage open, with a file handle. I need to search for a certain attribute, for example HREF, once I get there, I need to get the whole tag, so I would need <A HREF="location" TARGET="blah" NAME="blah" etc >. At that point I need to change the location and insert the whole string back into the page. I know the basics/intermidiates of PHP, so if someone can either show me, or just point me where to go... then that would be great. Thanks in advance! Mike