Redirect a file to the browser to be downloaded

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Redirect a file to the browser to be downloaded

Postby lacroix13 » 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?

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Re: Redirect a file to the browser to be downloaded

Postby Oleg Butuzov » 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

Postby lacroix13 » 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:

Postby mike » Fri May 23, 2003 6:18 pm

Its possible if you know the user/pass :P :P

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

Postby WiZARD » Sat May 24, 2003 7:29 am

yap!
if it's youre site..... :wink:


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests