Skip to main content
August 12, 2010
Question

jim

  • August 12, 2010
  • 1 reply
  • 317 views

I created a login in page using php in DW cs5. It seem to open the page no matter what you put in the login and password. I do not have a data base file. I just want to redirect to another site. Can you help.

Jim

This topic has been closed for replies.

1 reply

Lawrence_Cramer
Inspiring
August 12, 2010

You don't necessarily need a database for a secure log in to work. You cab set a simple list variable that contains the expected username and password, then when the user submits the form check the submitted values and see IF the are IN the list. IF they are send the user to the desired page, if not ask them to try again.

All very basic stuff, you'll just need to know a little PHP, which it sounds like you do...

--
Lawrence Carmer - *Adobe Community Professional*
http://www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in PHP and ColdFusion

Stay updated - http://blog.cartweaver.com