I use the following code (courtesy :Richard Lynch )
to search a file.

    $url = '';
    $key = 'php';
    $html = file($url);
    $html = implode('', $html);
    if (strstr($html, $key){
        echo htmlentities($html);
As I want to search a complete site ,I send a robo first , picked up the links a 
searched.I dont get the desired result.
Is there a better way to search a complete site ?

Thanking you,
Chinmay Varma


PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to