Just send this msg to the php-lib list (look below) but I have another question to add
This is from the Access Log of Apache.
shouldnt it be something like test.php3?SID=SESSID
instead of test.php3?=SESSID
The reason I ask is cause I feel there is something wrong with my mod_php config in php.ini
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Hi all,
My current config is
Server: Apache/1.3.27 (Win32) PHP/4.2.3
mod_php and mysql are being used
the "include_path,auto_prepend,track_cars=On and
magic_quotes_gpc=On" are all set in php.ini
local.inc has all the required mysql variables and
when I test out the installation with the pages
sub-dir, I can see the Per Session Data increasing on
every reload but what seems to be not working is the
authentication part of phplib.
whenever I use kris/test and submit, it does nothing.
The authentication on submit does give me no
indication of a valid/invalid user/password and it
just resets the values.
I had a look at the "active_sessions" table after
accessing the pages/index.php3 and it has one row with
"Example_Session" in it.
Does anyone have any suggestions ?
Thanks
Tom.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-01-05
I've almost the same setup and have the same problem...it actually appears as if the line from the login form
is failing becuase the $this->url() is undefined...when the action is submitted it has nowhere to go...why this is happening is puzzling to me as very few seem to be experinecing it but it is very very frustrating...
its most likely some kind of misconfiguration but I've no idea where to start looking
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-01-06
Aha...hmmm...following some other notes in this forum I experimented with setting register_globals in the php.ini file
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
; BHT >>> changed to On from Off
register_globals = On
this seems wrong since the comments show this should not be needed but after setting this and rebooting things started to work...if any one has any comments on this register_globals and if phplib really should or should not need it to function please post.
thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Just send this msg to the php-lib list (look below) but I have another question to add
This is from the Access Log of Apache.
shouldnt it be something like test.php3?SID=SESSID
instead of test.php3?=SESSID
The reason I ask is cause I feel there is something wrong with my mod_php config in php.ini
Any info is appreciated
Tom.
127.0.0.1 - - [02/Jan/2003:11:04:04 +1100] "GET /pages/test.php3?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4459
<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Hi all,
My current config is
Server: Apache/1.3.27 (Win32) PHP/4.2.3
mod_php and mysql are being used
the "include_path,auto_prepend,track_cars=On and
magic_quotes_gpc=On" are all set in php.ini
local.inc has all the required mysql variables and
when I test out the installation with the pages
sub-dir, I can see the Per Session Data increasing on
every reload but what seems to be not working is the
authentication part of phplib.
whenever I use kris/test and submit, it does nothing.
The authentication on submit does give me no
indication of a valid/invalid user/password and it
just resets the values.
I had a look at the "active_sessions" table after
accessing the pages/index.php3 and it has one row with
"Example_Session" in it.
Does anyone have any suggestions ?
Thanks
Tom.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
I've almost the same setup and have the same problem...it actually appears as if the line from the login form
<form action="<?php print $this->url() ?>" method=post>
is failing becuase the $this->url() is undefined...when the action is submitted it has nowhere to go...why this is happening is puzzling to me as very few seem to be experinecing it but it is very very frustrating...
its most likely some kind of misconfiguration but I've no idea where to start looking
Well.....this problem has nothing to do with the other one.
You want to type this:
<form action="<?php echo $PHP_SELF ?>" method=post>
Aha...hmmm...following some other notes in this forum I experimented with setting register_globals in the php.ini file
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
; BHT >>> changed to On from Off
register_globals = On
this seems wrong since the comments show this should not be needed but after setting this and rebooting things started to work...if any one has any comments on this register_globals and if phplib really should or should not need it to function please post.
thanks!