Help with user login
View Single Post
04-04-2008, 11:49 PM
La Vida es Sueño
Join Date: Sep 2007
They should be declared static if you're accessing them like so, yes. I will wait until you've further tested that, however, before we go any further so we remain on the same page.
As for suppressing warnings of
, I do this because of the following addition:
As of now, calling session_start() while the session has already been started will result in an error of level E_NOTICE. Also, the second session start will simply be ignored.
Thus suppressing it will ensure no notice is shown, but will nevertheless guarantee that a session is started. However, with that said, programmers should really be ensuring it is started themselves, and so those 2 error suppressing lines -- 1 in each function, should be removed when in the capable hands of a competent programmer.
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
View Public Profile
Send a private message to Wildhoney
Visit Wildhoney's homepage!
Find More Posts by Wildhoney