downloading a file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

downloading a file

Post by 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!!

User avatar
Redcircle
Moderator
Moderator
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Post by Redcircle » Mon Mar 10, 2003 9:46 pm

chech out http://www.php.net/header it's probably there.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests