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
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-
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
!== 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"
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))) {
>
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
: 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
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("
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."
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
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."";
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
12 matches
Mail list logo