Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Redirect a file to the browser to be downloaded

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
lacroix13
New php-forum User
New php-forum User
 
Posts: 64
Joined: Thu Aug 22, 2002 1:07 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.
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Postby lacroix13 » Fri May 23, 2003 5:32 am

IT IS !!!!!! AND I FOUND THE WAY :D 8) :wink:
User avatar
lacroix13
New php-forum User
New php-forum User
 
Posts: 64
Joined: Thu Aug 22, 2002 1:07 am

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

Its possible if you know the user/pass :P :P
User avatar
mike
New php-forum User
New php-forum User
 
Posts: 73
Joined: Sun May 04, 2003 4:26 am
Location: Athens

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

yap!
if it's youre site..... :wink:
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => General

Who is online

Users browsing this forum: Bing [Bot] and 4 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.