I would like to open 2 url’s using open
$url = 'http://xtreme-jumps.eu/demos.txt';
$url2 = 'http://cosy-climbing.net/demoz.txt';
Something like this… but it’s not working
$handle = @fopen($url, "r");
$handle .= @fopen($url2, "r");
I need to join them because later i’ll search there
if ($handle)
{
while (!feof($handle))
{
$buffer = fgets($handle);
if(strpos($buffer, $map) !== FALSE)
$matches[] = $buffer;
}
fclose($handle);
}
Thanks
You could try something like this:
or better: