Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Moving Form Data

    Hi, I've got two seperate websites that I'm working on. I am doing the design of the main website and the second site is a secure login area which another person has created.

    My question is... can I put a login form on the main page, and then have it transfer the information into the secure login? The purpose being so that people can login directly from the main page instead of having to click to go to the secure area and then log in? Thanks for any help.

  • #2
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Bump.

    is this a stupid question... or did I not explain it well?

  • #3
    Senior Coder CFMaBiSmAd's Avatar
    Join Date
    Oct 2006
    Location
    Denver, Colorado USA
    Posts
    3,026
    Thanks
    2
    Thanked 315 Times in 307 Posts
    By secure login page, I assume you mean HTTPS... SSL. The purpose of doing this would be to protect the information going back and forth between the server and the browser.

    By creating a non-secure login page, you are bypassing any benefit of having the secure page. If the non-secure login is what is wanted, someone might as well have saved the programming time and the ongoing expense of the SSL certificate for the secure page.
    If you are learning PHP, developing PHP code, or debugging PHP code, do yourself a favor and check your web server log for errors and/or turn on full PHP error reporting in php.ini or in a .htaccess file to get PHP to help you.

  • #4
    Regular Coder
    Join Date
    Jan 2005
    Posts
    189
    Thanks
    6
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by CFMaBiSmAd View Post
    By secure login page, I assume you mean HTTPS... SSL. The purpose of doing this would be to protect the information going back and forth between the server and the browser.
    Yeah, I'm talking about an HTTPS / SSL page.
    So if you had a username / password box on the HTTP page and in the background passed the username/pass using javascript into the form fields on the HTTPS page to directly login, this wouldn't be secure then is what your'e saying?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •