downloading a file

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

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

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

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

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


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest