check if page exist on multiple urls
<p>im trying to check if index.html exist on multiple urls </p>

<pre><code>$urls = file('urls.txt', FILE_IGNORE_NEW_LINES);
foreach ($urls as $url) {
if (@fopen(trim($url), 'r') !== false){
    echo '$url Page Exists';
    ob_flush();
    flush();
else {
    echo '$url does not exist"
    flush();
else {
}
}
</code></pre>
