Jump to content


Check out our Community Blogs

sschucktown

Member Since 19 Oct 2014
Offline Last Active Nov 11 2014 06:59 AM
-----

Posts I've Made

In Topic: Creating A Simple Yet Secured Login/registration With Php5

07 November 2014 - 05:14 PM

Thanks,
I guess I am looking for what the code would be if added to the existing user login function frof the tutorial. Any pointers would be awesome as I have tried many different combinations with the existing prepared statements.

In Topic: Creating A Simple Yet Secured Login/registration With Php5

07 November 2014 - 12:43 PM

Hey guys,

 

I've gotten great use out of the tutorial so far.  I am still having some problems with sessions.  I've added auto increment to the userid in my db but would like to retrieve the user id from the userLogin function that was built into the "Users" class and store it into the $_SESSIONS array upon login and feed it to the users profile page.  I have successfully done it with the username but not the userid.  Thank you guys so much for your help!


In Topic: Creating A Simple Yet Secured Login/registration With Php5

21 October 2014 - 11:36 AM

Thanks for the reply, I have sessions initiated, but what would a secure syntax look like for this with the existing code?  Upon login, would I redirect using header() function with the incremented userID and sessions?  If you could show me an example of how you would do it to start me off, that would be extremely helpful.  Thank you again for your time.


In Topic: Creating A Simple Yet Secured Login/registration With Php5

20 October 2014 - 11:25 AM

Really enjoyed this tutorial as I am currently learning php.  I know there have been somewhat similar questions about adding sessions to the existing code, but how would I go about adding a profile page using sessions and the register information in the database?  Thank you guys so much for your time one this!


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download