I am trying to read in some HTML files to extract anchor links. My PHP execution time is set to 30 seconds by my host, so I need to make every fraction count.
I am trying to read in about 500 pages, and time-out at about 200. I have tried to find which part of my script is the slowest and start working there. I am using
Code: Select all
<?php
$file_array = file($file_name);
?>Is there a quicker way to read in an HTML file from a remote location?
Cheers.