What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP login system help needed

PHP login system help needed
Author: Message:
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: PHP login system help needed
quote:
Originally posted by .Lou
quote:
Originally posted by andrewdodd13
if (!isset($_SESSION['Nathan']) && $_SESSION['Nathan'] != "Nathan")
die ("Not logged in");

That's not even correct. You never opened your if statement using { and never closed it using }

Curly braces are always needed in an if statement.
no they're not they're optional for single line use
[Image: dt2.0v2.png]      Happy Birthday, WDZ
10-14-2006 05:36 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
PHP login system help needed - by Nathan on 10-13-2006 at 09:37 PM
RE: A bit of help please :p - by andrewdodd13 on 10-14-2006 at 09:43 AM
RE: RE: A bit of help please :p - by J-Thread on 10-14-2006 at 11:12 AM
RE: RE: RE: A bit of help please :p - by andrewdodd13 on 10-14-2006 at 12:58 PM
RE: PHP login system help needed - by -dt- on 10-14-2006 at 11:31 AM
RE: PHP login system help needed - by J-Thread on 10-14-2006 at 05:00 PM
RE: PHP login system help needed - by Lou on 10-14-2006 at 05:27 PM
RE: PHP login system help needed - by -dt- on 10-14-2006 at 05:36 PM
RE: PHP login system help needed - by J-Thread on 10-14-2006 at 06:21 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On