swamp Posted February 12, 2008 Share Posted February 12, 2008 Hey - I've got a php script that allows me to view the files in a directory. Is there any way i can add a password to this page, but that is only required when trying to download / open a file from the list (as in you can still see the list without the password, but when you click on a file it will ask you for a password before redirecting you to the download. Ideally in a popup box) Would greatly appreciate any help, Many thanks. Quote Link to comment Share on other sites More sharing options...
swamp Posted February 12, 2008 Author Share Posted February 12, 2008 Is it possible to do this? Quote Link to comment Share on other sites More sharing options...
haku Posted February 12, 2008 Share Posted February 12, 2008 1) dont bump your own queries. 2) yes. Please mark the topic solved now. Quote Link to comment Share on other sites More sharing options...
revraz Posted February 12, 2008 Share Posted February 12, 2008 You want him to mark it solved and you don't show him how or point him to a reference that shows him? 1) dont bump your own queries. 2) yes. Please mark the topic solved now. Quote Link to comment Share on other sites More sharing options...
haku Posted February 12, 2008 Share Posted February 12, 2008 He asked a question, I answered it. Problem solved. Quote Link to comment Share on other sites More sharing options...
walnoot Posted February 12, 2008 Share Posted February 12, 2008 He asked a question, I answered it. Problem solved. well, actually i would like the know HOW. So if you would be kind enough to explain? Quote Link to comment Share on other sites More sharing options...
swamp Posted February 14, 2008 Author Share Posted February 14, 2008 Hey, Sorry to bump this post, but didn't get much help the first time round. Cheers, Kieran Quote Link to comment Share on other sites More sharing options...
GameYin Posted February 14, 2008 Share Posted February 14, 2008 1) How do you bump things) 2) Change the access of your files. Go do a google search on it. Something should come up. I know the access of the files needs to be changed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.