Re: "the document contained no data"
| From: | Phillip S. Baker | Date: | Fri, 12 Apr 2002 05:37:39 +0000 |
| Subject: | Re: "the document contained no data" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-92718@lists.php.net to get a copy of this message | ||
At 10:33 PM 4/11/2002 Thursday, Phieu Huynh wrote:
I also try the following code and still have the same problem. I am runing php4.0.?, solaris(linux) $dir_name = "/export/home/phuynh/php/main/student/upload/"; $dir = opendir($dir_name); while (false !== ($file_names = readdir($dir))) {Your while statement needs to read.echo "$file_names";} closedir($dir);
while (false != ($file_names = readdir($dir))) {Not !== But != Phillipecho "$file_names";}