Nevermind... I don't know what the problem is yet but it's not the
folder.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ORIGINAL #
I have an "index.php" page which does not user session_start(); command.
However in this "index.php" page, there are some $_SESSION['...']; variables
stored.
How is it possible that $_SESSION['...']; works even if no session has been
created before ?
moreover, if i use a print
how did u check? with a if? u should use the session_is_registered function instead,
http://www.php.net/manual/en/function.session-is-registered.php
if(!session_is_registered(\"user\")){
print \"invalid user\";
exit;
}
// your other code here
and yes, turning off register globals is a good ide
session.auto_start is only usefull when not using classes as session
variables. because a class must be defined before it can be created (or
brought back to life from a session) it must be defined, this cant be done
with session.auto_start. I dont use session.auto_start. I find the ability
to use
You should be able to configure Apache to force the www. to appear, no
matter what they type, or to keep using what they typed, if you didn't use
any full URLs.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http:/
5 matches
Mail list logo