Hi I wonder if any of you can help.
I have a webpage on my pws which has a 5 column table in the end column is a picture of a disk which when you click on it downloads the file described in the other columns.
I want everybody who logs on to the site to be able to view these pages however I only want certain people to be able to download the files so I need a script with a password textbox so that when the page is first shown the disk image/file link is not visible or another image is displayed and only when the correct password is entered the default image is replaced by the disk image with the file links.
any help would be much appreciated
PS if you reply to this please bear in mind html, php etc. iliterate so please make it simple like me
well i know of a somewhat simple way try using .htaccess very simple though you would need to encrypt your passwords which im sure you can find at most providers if u need more info reply back
the trouble with htaccess is it protects the whole page I just want the download links hidden until a password is entered.
Thanx.
Do you run a database?
if you do you could have it authenticate to the database, then if a certain person logs in, have it return code from the table i.e. the image/link. If the person is not in the database it would return nothing.
right now im making a user auth script to run with a program of mine. its complex but also ez not sure if i want to give it out, but making 1 is very simple
I think .htaccess is good solution for you. And it could give access to wanted people only but with saving link to file on page. You could find many .htaccess managers here.