Re: Get File Size
| From: | jeremy brand | Date: | Mon, 11 Dec 2000 18:52:25 +0000 |
| Subject: | Re: Get File Size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29732@lists.php.net to get a copy of this message | ||
maybe I misunderstood. Do you mean does filesize() get file sizes for
only local files. I think the answer is yes.
The reason why I say that is because it doesn't make sense that it
would work on a remote file because not all remote file protocals give
file size, nor is is reliable if it does.
-jeremy brand
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
At least for the people who send me mail about a new language that
they're designing, the general advice is: do it to learn about
how to write a compiler. --Dennis Ritchie
On Mon, 11 Dec 2000, jeremy brand wrote:
> Date: Mon, 11 Dec 2000 10:49:25 -0800 (PST)
> From: jeremy brand <jeremy@nirvani.net>
> To: enthalpy <enthalpy@core.com>
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Get File Size
>
> Look at the function definition (it returns an integer - the size of
> the file (most likely in bytes) or zero if an error occured)
>
> -jeremy brand
>
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> At least for the people who send me mail about a new language that
> they're designing, the general advice is: do it to learn about
> how to write a compiler. --Dennis Ritchie
>
> On Mon, 11 Dec 2000, enthalpy wrote:
>
> > Date: Mon, 11 Dec 2000 12:48:30 -0600 (CST)
> > From: enthalpy <enthalpy@core.com>
> > To: jeremy brand <jeremy@nirvani.net>
> > Cc: php-general@lists.php.net
> > Subject: Re: [PHP] Get File Size
> >
> >
> >
> > well.. you would think i would go and try that.. hehe.. one more question
> > does it work like getimagesize ?? ie the files have to be in that
> > directory ?
> >
> > -enthalpy
> >
> > <-----CoreComm-Internet-Services--4†Ç
> > ]j‹EMUÄîJôCÉhttp://core.com/----->
> > (Jon Marshall CoreComm Services Chicago)
> > (jonathon.marshall@core.com Systems Engineer II)
> > (enthalpy@core.com Network Operations)
> >
> > <-----Enthalpy.org------------http://enthalpy.org/----->
> > (enthalpy@enthalpy.org The World of Nothing)
> > <------------------------------------------------------>
> >
> > On Mon, 11 Dec 2000, jeremy brand wrote:
> >
> > > http://php.net/filesize
> > >
> > > filesize();
> > >
> > > :)
> > > -jeremy brand
> > >
> > > Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net
> > > u+¢¿,K
> > > 2:úö™~ßhttp://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> > > Get your own Free, Private email at
> > > http://www.smackdown.com/
> > > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> > > At least for the people who send me mail about a new language that
> > > they're designing, the general advice is: do it to learn about
> > > how to write a compiler. --Dennis Ritchie
> > >
> > > On Mon, 11 Dec 2000, enthalpy wrote:
> > >
> > > > Date: Mon, 11 Dec 2000 12:38:28 -0600 (CST)
> > > > From: enthalpy <enthalpy@core.com>
> > > > To: php-general@lists.php.net
> > > > Subject: [PHP] Get File Size
> > > >
> > > >
> > > > Is there any built in php command to get file sizes? i have a some mpegs
> > > > that im putting on my site and i wanted to display the file sizes.
> > > >
> > > > -enthalpy
> > > >
> > > >
> > > > <-----CoreComm-Internet-Services--http://core.com/----->
> > > > (Jon Marshall CoreComm Services Chicago)
> > > > (jonathon.marshall@core.com Systems Engineer II)
> > > > (enthalpy@core.com Network Operations)
> > > >
> > > > <-----Enthalpy.org------------http://enthalpy.org/----->
> > > > (enthalpy@enthalpy.org The World of Nothing)
> > > > <------------------------------------------------------>
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > > For additional commands, e-mail: php-general-help@lists.php.net
> > > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > > >
> > > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > > For additional commands, e-mail: php-general-help@lists.php.net
> > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> > >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>