I\'m trying to use curl to detect whether a piece of text exists in the source code of a remote webpage. For example, I\'m trying to see if this string exists in the source:
The two functions you need are cURL and strpos().
cURL
strpos()
"); if ($test==false) { echo "no"; } else { echo "yes"; } ?>