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>";

  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

Reply via email to