Login Script Chapter 12login script
Posted 5 February 2012 - 2:20 PM
Every time I enter my credentials into the login form and press "Login" it automatically transfers me to my index.php page.
Can anyone help please?
Posted 6 February 2012 - 6:47 AM
I knew it had to be a sessions issue but all the "session_start()" was correctly placed on all my pages.
But in Chapter 12 there is a mention that you can put the "session_start()" in the php.ini folder.
That's what I did. Just make a folder and name it php.ini and inside it just place "session_start ()" (without the quotation marks).
Everything now works as it should. :-)
Posted 6 February 2012 - 9:21 AM