Im trying to right my first php script.
Im trying to get the script to look at a defined site's source to see if a length of code is present.
Ive been given this by a friend but im not sure its working as I get this error, and it always says it can see the code even though I made up some bogus search.
Warning: Wrong parameter count for strpos() in /home/#####/public_html/#######/test.php on line 3
Found it!
<?php
$source = file_get_contents("http://######.com/");
if(strpos('<a href="http://www.jimmy.com/"/>') !== false)
echo "Found it!";
else
echo "Didn't find it!";
?>
Any ideas on how I can progress this futher to a few textboxes and a button?
Thanks