I need a php script that will be given a url in a form (I can handle that part without a problem), then take that url, and search for a certain string in it's source code (html and javascript), if the string is there, it would output one thing, if it isn't, it would output another. I plan to output images, but I can handle that part. The main thing I can't figure out is how to tell the PHP to read the source of the page. I currently run PHP 4.3.11, so it needs to be compatible with that. Any help is greatly appreciated.