Urgent: Show content based on what state the user logs in with

4 posts by 2 authors in: Forums > CMS Builder
Last Post: October 15, 2009   (RSS)

Re: [benedict] Urgent: Show content based on what state the user logs in with

By Dave - October 14, 2009

Hi benedict,

Can you re-attached the files? I don't think they made it.
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] Urgent: Show content based on what state the user logs in with

Oops - here you go.

Re: [benedict] Urgent: Show content based on what state the user logs in with

By Dave - October 15, 2009

You need to load the record of the currently logged in user in checklogin.php. Then you can check for fields associated with that user account to determine what to show in login_success.php.

Also, you want to escape any input before you pass it to mysql as currently it's vulnerable to SQL injection.

I've removed your attachment as it had some server details in it.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com