Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

jim

Guest
Aug 11, 2010 Aug 11, 2010

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

TOPICS
Server side applications
321
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 11, 2010 Aug 11, 2010
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines