RE: [PHP] CAN NOT read qmail

From: Date: Thu, 17 Apr 2008 15:42:48 +0000
Subject: RE: [PHP] CAN NOT read qmail
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-273186@lists.php.net to get a copy of this message
[snip] I do not get it. I do not where code has basic mistake. [/snip] And that is why putting in basic error checking will help, for instance; $fp = fopen($file, "r"); if($fp){ while(!feof($fp)) { $data = fgets($fp, 1024); echo "$data <br>"; } } else { die("fopen failed for $file") } Please spend some time reading the manual and getting the basics down.

« previous php.general (#273186) next »