downloading a file

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

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: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Mon Mar 10, 2003 9:46 pm

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

Post Reply
  • Information
  • Who is online

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