Hi Yogita , 
You have to set the headers for this ,
so what you have to
header('Content-Disposition: attachment;filename="$downloadFilePath"');
include this in the page where the download is to be done , and dont write any 
echo or generate any HTML.


Yogita <[EMAIL PROTECTED]> wrote:
How to download file [.php] in php ?

When we click on link.............it sould ask for save option....i.e diaplog 
box.

Not open in same browser...........

Does anybody know ?



Yogita

            
---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click.  

[Non-text portions of this message have been removed]



Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 



---------------------------------
YAHOO! GROUPS LINKS 


    Visit your group "php-list" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


---------------------------------




Ravi Pandey (Do it my way)


([EMAIL PROTECTED])

                
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/HKFolB/TM
--------------------------------------------------------------------~-> 

Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to