I need to come up with a solution where a php script will open connection to a webpage and will return success message if a particlar code snippet is found on that webpage.
Here's the code snippet i'd likely be searching for in the webpage:
CODE
<script type="text/javascript" src="[url="http://www.abc.com/fetchlinks.php?id=1"]http://www.abc.com/fetchlinks.php?id=1[/url]">
</script>
</script>
I want to search this code snippet throughout that webpage and return successfull message if it succeeds. I think i'll have to use regex for matching this? Can anybody please help me with this, i'm stuck.
Thanks
