On Mon, 29 Oct 2001, Markus Fischer wrote:

> Wait, not so fast. He says the file *is* bigger than 2GB so his
> FS seems to support it. It may be that PHP has to be rccompiled
> with the proper setting to it recognized the 64bit fileaccess
> fucntion. What do you think?

Maybe, but PHP can't show numbers larger then 2^31 anyways.... and there
are already feature requests for that.

Derick

>
> - Markus
>
> On Mon, Oct 29, 2001 at 07:47:21AM -0000, [EMAIL PROTECTED] wrote :
> > ID: 10482
> > Updated by: sniper
> > Reported By: [EMAIL PROTECTED]
> > Old Status: Open
> > Status: Bogus
> > Bug Type: Filesystem function related
> > Operating System: redhat 7.1
> > PHP Version: 4.0.4pl1
> > New Comment:
> >
> > 32 bit=2GB limitation in the ext2 for files.
> > Not a PHP problem.
> >
> > --Jani
> >
> >
> >
> > Previous Comments:
> > ------------------------------------------------------------------------
> >
> > [2001-04-24 20:14:21] [EMAIL PROTECTED]
> >
> >
> >
> > $folder = dir(.);
> > $folder->rewind() ;
> > clearstacache();
> > while ($file=$folder->read()) {
> >      if (is_dir ($file)) {
> >             do_some thing.......
> >      }
> >      elif (is_file($file)) {
> >              do_somethingelse.....
> >      }
> > ......
> > .....
> > }
> >
> > is_file() call in the above code does not return ture if the file size is > 2GB.
> >
> > I was able to print $file, just inside the loop (meaning the folder object has the 
>file in the filelist
> > and hence it is the is_file() which is filtering it out.
> > I tried other functions like file_exists(), is_readable() etc in place of 
>is_file() without any success.
> >
> >
> > ------------------------------------------------------------------------
> >
> >
> >
> > Edit this bug report at http://bugs.php.net/?id=10482&edit=1
> >
> >
> > --
> > PHP Development Mailing List <http://www.php.net/>
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
> Markus Fischer,  http://guru.josefine.at/~mfischer/
> EMail:         [EMAIL PROTECTED]
> PGP Public  Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
> PGP Fingerprint: D3B0 DD4F E12B F911 3CE1  C2B5 D674 B445 C227 2BD0
>               -All your scripts are belong to Zend-
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>

Derick Rethans

---------------------------------------------------------------------
        PHP: Scripting the Web - www.php.net - [EMAIL PROTECTED]
             SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to