NYCPHP Meetup

NYPHP.org

[nycphp-talk] filesize & download

Aniesh joseph anieshjoseph at gmail.com
Tue Feb 5 02:27:12 EST 2008


I have a web page where it displays the list of audio collection. Some of
these audios are stored in another server of mine. I wish to add a
'download' option near to each audios.

So at the time of download, I want to specify the filesize. But filesize or
stat functions of php are not return the size of the audio file, if
specifies the absolute url of the audio.

Can someone suggests any method to find out the size of an audio file such
as http://example.com/myaudio.mp3 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20080205/612c6635/attachment.html>


More information about the talk mailing list