Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

downloading a file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

downloading a file

Postby almightymike » Mon Mar 10, 2003 7:47 pm

Hi!

How do you get a user to download a file (PDF, DOC...)
This file should not be automatically opened.
Its also better if the browser doesn't have to ask wheter th download or open the file.

This will be used in an intranet system so I guess security isn't an issue here.

thanks!!
almightymike
New php-forum User
New php-forum User
 
Posts: 9
Joined: Mon Mar 10, 2003 7:42 pm

Postby Redcircle » Mon Mar 10, 2003 9:46 pm

chech out http://www.php.net/header it's probably there.
User avatar
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA


Return to PHP coding => General

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron