Hi,all! How can I read the urls from a html file with PHP? Thanks!
Hi Jack,
Try this:
<?php
$fp = fopen("http://phpbuilder.com", "r"); if (!$fp){ echo "$errstr($errno)<br>\n"; }else{ while(!feof($fp)) { echo fgets($fp,128); } fclose($fp); }
?>