Quote:
Originally posted by asher
$fd=fopen("http://www.url.com","r");
while ($line=fgets($fd,1000))
{
$alltext.=$line;
}
fclose ($fd);
reads it into $alltext
|
thanks but i get same errors with this code.. the problem is not that i can't read the file.. if the $url is correct and exist then i can read him withot problems with file() or fopen().... the problem is that when the $url don't exist then u get these warning errors displayed.. in a such case i just want to be displayed my eror text without warnings