PDA

View Full Version : Check Login before download


kamuixkotori
01-06-2010, 02:50 AM
Hi,

I want to created a website where people can download stuff if they have login. How can I do that? Need Javascript or php?

Just want to check if it a login user or its not a login user?

Do i need the data from the database to do that?

Any tutorial to show or sample to learn?

Thanks!

Corrosive
01-06-2010, 07:22 AM
Yeah, you'll need a database of users and some forms, one to join up and one to log in (oh and a third for password reset!). Then you just need to ensure a session is created before allowing access to your download pages. Suggest PHP and MySQL database for the job.

Good luck.

tux
02-03-2010, 10:17 AM
Tutorial on this site for a login script.

http://www.dreamweaverclub.com/vtm/php-login-script.php