i'm trying to create a script which opens an external url and searches within in the document for a given keyword, returning true if found.
i am thinking of using fread(URL), but am stuck for the most efficient way of finding the keyword within the string. another option would be the file(URL) method and then searching each element of the array.
can anyone advise as to which is the best method to do this.
thanks