On Wed, 2002-02-06 at 15:33, Jeff Sheltren wrote:
> At 10:27 AM 2/6/2002 -0500, Ben Crawford wrote:
> >You also seem to have an extra equals. Your loop should read:
> >
> >while (false != ($file=readdir($handle))){
>
> I think you could eliminate the "false !=" in the while condition...
>
> It s
On Wed, 2002-02-06 at 07:27, Ben Crawford wrote:
> You also seem to have an extra equals. Your loop should read:
>
> while (false != ($file=readdir($handle))){
>
> It should come up as an error, but I'm not sure.
>
> Ben
No, that's the 'identical' operator, which returns true when its
operands
At 10:27 AM 2/6/2002 -0500, Ben Crawford wrote:
>You also seem to have an extra equals. Your loop should read:
>
>while (false != ($file=readdir($handle))){
I think you could eliminate the "false !=" in the while condition...
It should be just the same if you write
while (($file = readdir($handl
L PROTECTED]
Subject: [PHP] Re: Newbie: Question about filesize()
You also seem to have an extra equals. Your loop should read:
while (false != ($file=readdir($handle))){
It should come up as an error, but I'm not sure.
Ben
Manuel Ritsch wrote:
> Hello There
>
> I'm n
You also seem to have an extra equals. Your loop should read:
while (false != ($file=readdir($handle))){
It should come up as an error, but I'm not sure.
Ben
Manuel Ritsch wrote:
> Hello There
>
> I'm new to PHP and trying to code a function that reads all teh files out of
> a directory and p
Manuel Ritsch <[EMAIL PROTECTED]> wrote:
> $file_s = filesize($file);
you want $file_s = filesize("images/$file").
jim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
6 matches
Mail list logo