Colum wrote:
I am trying to extract out specific information from the page.
Also, what do you do if the page is dynamic (e.g. a cgi generated page) how
do you find it??
It depends *very*much* on what you're trying to extract.
I once had my motd come from
<?php
$x = `curl -s http://www.care2.com/`;
$t = strpos($x, 'DAILY QUACK UP');
$y = substr($x, $t, 300);
$t = strpos($y, '</td>');
$z = substr($y, 0, $t);
$z = str_replace('</b></font></a><br>', '', $z);
$z = str_replace('<BR>', '', $z);
echo $z;
?>
Just retested this ... still works :)
--
I have a spam filter working.
To mail me include "urkxvq" (with or without the quotes)
in the subject line, or your mail will be ruthlessly discarded.