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

2002-04-15 Thread Phieu Huynh
PHP] "the document contained > Martin Towell wrote: > > > does that code work if you set the directory path to "./" ? > > > > -Original Message- > > From: Phieu Huynh [mailto:[EMAIL PROTECTED]] > > Sent: Friday, April 12, 2002 3:33 PM > > To: Marti

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

2002-04-11 Thread Nick Richardson
ge- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 10:43 PM To: 'Phieu Huynh' Cc: [EMAIL PROTECTED] Subject: RE: [PHP] "the document contained no data" does that code work if you set the directory path to "./" ? -Original Message-

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

2002-04-11 Thread Martin Towell
does that code work if you set the directory path to "./" ? -Original Message- From: Phieu Huynh [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 3:33 PM To: Martin Towell Cc: [EMAIL PROTECTED] Subject: Re: [PHP] "the document contained no data" I also tr

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

2002-04-11 Thread Martin Towell
!== is correct - it's checking for type, as well as value "strict non-equality" -Original Message- From: Phillip S. Baker [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 3:38 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] "the document contained no data"

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

2002-04-11 Thread Phillip S. Baker
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))) { >

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

2002-04-11 Thread Phieu Huynh
u Huynh [mailto:[EMAIL PROTECTED]] > Sent: Friday, April 12, 2002 2:14 PM > To: Martin Towell; [EMAIL PROTECTED] > Subject: Re: [PHP] "the document contained no data" > > Sorry, the file has ; I retype it wrong, > I did set error_reporting but no change, > but in the ht

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

2002-04-11 Thread Martin Towell
: Martin Towell; [EMAIL PROTECTED] Subject: Re: [PHP] "the document contained no data" Sorry, the file has ; I retype it wrong, I did set error_reporting but no change, but in the httpd error log file I found "exit signal segmentation fault (11)" Martin Towell wrote: > is t

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

2002-04-11 Thread Phieu Huynh
iday, April 12, 2002 12:31 PM > To: Martin Towell; [EMAIL PROTECTED] > Subject: Re: [PHP] "the document contained no data" > > I don't know how to set erro level to E_ALL, can you give me some sample. > I did try different way > >$d = dir("

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

2002-04-11 Thread Martin Towell
eu Huynh [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 12:31 PM To: Martin Towell; [EMAIL PROTECTED] Subject: Re: [PHP] "the document contained no data" I don't know how to set erro level to E_ALL, can you give me some sample. I did try different way handle."

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

2002-04-11 Thread Phieu Huynh
d() has and readdir() return. Martin Towell wrote: > 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

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

2002-04-11 Thread Martin Towell
TECTED] 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 handle.""; echo "Path: ".$d->path."";

[PHP] "the document contained no data"

2002-04-11 Thread Phieu Huynh
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 handle.""; echo "Path: ".$d->path.""; while($entry=$d->read()) { echo $entry."\n"; } echo ""; $d->close(); ?> Can anyone tell me what s