Re: Get File Size
| From: | jeremy brand | Date: | Mon, 11 Dec 2000 18:49:25 +0000 |
| Subject: | Re: Get File Size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29731@lists.php.net to get a copy of this message | ||
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--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
> > 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
>
>