[PHP] SEARCHER

2001-09-13 Thread chinmay varma

Sir,

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

?php
$url = 'http://php.net';
$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 (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]




[PHP] SEARCHER

2001-09-12 Thread chinmay varma

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]