[nycphp-talk] need help regarding download bar

birgunj birgunj birgunjp0071 at
Tue Aug 7 02:17:57 EDT 2007

thanks alto for replying. but how to set header for this to display correct contents.

Tim Lieberman <tim_lists at> wrote:
On Aug 6, 2007, at 1:24 PM, csnyder wrote:

> On 8/6/07, birgunj birgunj wrote:
>> Dear All,
>> i want to write script to download do i display download 
>> bar in php
>> like when download file from any site, it download bar appear, it 
>> show
>> size of file,time etc.
>> can any body help me how to do this.
>> thanks humayoo
> Download is the responsibility of the client. This isn't in PHP's 
> domain.

Well, if you're passing the file through a script, it helps to tell 
the client some things by setting proper headers. Content-type, 
Content-disposition and Content-length, for starters.
New York PHP Community Talk Mailing List

NYPHPCon 2006 Presentations Online

Show Your Participation in New York PHP

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the talk mailing list