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."
I don't know how to set erro level to E_ALL, can you give me some sample.
I did try different way
handle."";
echo "Path: ".$d->path."";
$entry=$d->read()
echo $entry ;
$d->close();
?>
it is ok and the output is only a dot(.)
if I add another read() statement then I got " ...
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:[EMAIL PROTECTED]]
Sent: Friday, April 12, 2002 10:49 AM
To: [EMAIL PROTECTED]
Subject: [PH
11 matches
Mail list logo