Re: CAN NOT read qmail

From: Date: Thu, 17 Apr 2008 15:30:28 +0000
Subject: Re: CAN NOT read qmail
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-273185@lists.php.net to get a copy of this message
I do not get it. I do not where code has basic mistake. I do not have any error message. When I read qmail. My browser is stopped. Regards, yui 2008/4/18, Jay Blanchard <jblanchard@pocket.com>: > [snip] > > > I have a question about read to qmail. > > I try to read qmail using php. But I can not > read it. > > the code is below------------------------- > <?php > > $file="213434534.domain.com"; > $fp = fopen($file, "r"); > while(!feof($fp)) { > $data = fgets($fp, 1024); > echo "$data <br>"; > } > fclose($fp); > > --------------------------------------------- > > [/snip] > > Insert some basic error checking code to see if you successfully opened > the file, etc. That'll point you in the right direction. >

« previous php.general (#273185) next »