Page 1 of 1

Newbie Question

Posted: Mon Mar 26, 2007 3:28 pm
by mlah384
I'm a newbie when it comes to php. How do you have a button in a flash website launch a passworded php download page? Where when you click the button in flash it launches a php web page with downloadable files on it but it asks for a password in order to access the page? But it asks for just a password, not a user name, there will be no data base. I was unable to find anything on that with search, most of the password stuff I found was way too advanced for the simple task that i need.

Thanks

Posted: Mon Mar 26, 2007 3:30 pm
by waradmin
I would say the best way to do it would be a JavaScript encrypted password script: http://www.dynamicdrive.com/dynamicindex9/password.htm. You should be able to modify it fairly easy to just require a password.

Posted: Mon Mar 26, 2007 4:35 pm
by mlah384
Thanks! I will try that... Also, i wanted to mention that I'm using dreamweaver 8 and did not know if there was an option in dreamweaver that would make it easier?

Also, would that java script work on a php page? The page i'm passwording is already set up as php where the client can upload new files to it. Or would it be easier to just redo the whole page as a .html?

Thanks!