RE: [PHP] "the document contained no data"

From: Date: Fri, 12 Apr 2002 01:42:50 +0000
Subject: RE: [PHP] "the document contained no data"
Groups: php.general 
Request: Send a blank email to php-general+get-92696@lists.php.net to get a copy of this message
turn the displaying of errors on, and set the error level to E_ALL I'm thinking that you've got a error somewhere that's stopping the script prematurely -----Original Message----- From: Phieu Huynh [mailto:Phil.Huynh@eng.monash.edu.au] Sent: Friday, April 12, 2002 10:49 AM To: php-general@lists.php.net Subject: [PHP] "the document contained no data" Hi, I am trying to read the files in the directory and display them . but I got the message " the document contained no data " this is my code <? $d = dir("/export/home/phuy/www/test/upload"); echo "Handle: ".$d->handle."<br>"; echo "Path: ".$d->path."<br>"; while($entry=$d->read()) { echo $entry."<br>\n"; } echo "<hr>"; $d->close(); ?> Can anyone tell me what should I do to correct it. I would like some help, thank in advance. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#92696) next »