-----------------
I've just installed php 4.1.0 and using register_globals = On the admin
authementication works as expected.
Btw, php documentation says it is _safer_ to set it to Off (which is
also the default for php.ini and php.ini-raccomended); I'll try to
rearrange the admin functions to work with register_globals = Off today.
Stay tuned,
Alessandro
-----------------
Alessandro you are too much :)
Anyway it just seems that session var registering is acting up on win
at least (big surprise ;) and register_globals _is_ on.
Using $HTTP_SESSION_VARS['varname'] seems to do the trick tho... but
that would require replacing all $global_session_varname references.
BTW, phpws should stay compatible with pre4.1 php but should also use
the new $_SESSION["session_var_name"] syntax which is auto_global_ing
and auto_register_ing, much cleaner stuff :)
-Warren
for reference:
http://www.php.net/release_4_1_0.php
__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
|