[go: up one dir, main page]

Voting

: max(six, six)?
(Example: nine)

The Note You're Voting On

m a p o p a at g m a i l. c o m
18 years ago
you can avoid the infinite loop and filling the error logs
by an simple if statement
Here is the example

$handle = fopen("http://xml.weather.yahoo.com/forecastrss?p=AYXX0008&u=f", "r");
$xml = "";
if ($handle)
{
while (!feof($handle))
{
$xml .= fread($handle, 128);
}
fclose($handle);
}

<< Back to user notes page

To Top