Redirect a file to the browser to be downloaded

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
lacroix13
New php-forum User
New php-forum User
Posts: 64
Joined: Thu Aug 22, 2002 1:07 am

Thu Feb 20, 2003 5:33 am

How can I redirect a file protected with htaccess to be downloaded by an user with php?

Is it possible?

Oleg Butuzov
Last Samuray
Last Samuray
Posts: 824
Joined: Sun Jun 02, 2002 3:09 am

Thu Feb 20, 2003 8:13 am

lacroix13 wrote:a file protected with htaccess


I dont think that this is possible... IMHO.

User avatar
lacroix13
New php-forum User
New php-forum User
Posts: 64
Joined: Thu Aug 22, 2002 1:07 am

Fri May 23, 2003 5:32 am

IT IS !!!!!! AND I FOUND THE WAY :D 8) :wink:

User avatar
mike
New php-forum User
New php-forum User
Posts: 73
Joined: Sun May 04, 2003 4:26 am
Location: Athens
Contact:

Fri May 23, 2003 6:18 pm

Its possible if you know the user/pass :P :P
11:16am up 404 days, 2 users, load average: 148.68, 143.45, 132.6


Mike Vassileiou
[Systems Administrator / PHP Developer]


PHP/MySQL Manual:
http://www.phpmysql-manual.com

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Sat May 24, 2003 7:29 am

yap!
if it's youre site..... :wink:
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests