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

Tim Lieberman <[EMAIL PROTECTED]> 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 file.how 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
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php


       
---------------------------------
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to