<?php
    $url = 'http://php.net';
    $key = 'php';
    $html = file($url);
    $html = implode('', $html);
    if (strstr($html, $key){
        echo htmlentities($html);
    }
?>

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Chinmay Varma <[EMAIL PROTECTED]>
Newsgroups: php.general
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 12, 2001 10:11 PM
Subject: SEARCHER


I want to searcg another site for a keyword.If its found I want all the
details of that page to be shown in my site page.
How is it done. ?
Kindly inform me if you know the way.( I am rather new to php)

Chinmay Varma
[EMAIL PROTECTED]








-- 
PHP General Mailing List (http://www.php.net/)
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