Sure that this is straightforward, but it has me stumped :/
I'm trying to add a function to an old project that reads a remote file to check for the existance of a string.
I was planning to do with something like this...
if (strpos (file_get_contents($remoteUrl), $stringToCheck)){
echo 'Yeah... found it';
}
Problem is that it seems this old project is on an equally old server, running PHP version 4.1.2, which doesn't support file_get_contents
Has anyone got a suggestion of an alternative method?
Thanks in advance.