![]() |
|
|
+ Search |
![]()
|
Mar 30th, 2002 02:45
Edwin Chan, Ritchie,
Try the following:
// for grabbing html sources in your domain by reading from url
//$source = file ("http://www.php.net/", "r");
// for grabbing html in your domain by reading from shared folder
$source = file ("g:/shared/a.html", "r");
for ($i=0; $i<count($source); $i++)
echo htmlspecialchars($source[$i])."<br>";