[PHP-DEV] Bug #10604: couldnt update a session var or just register one
From: [EMAIL PROTECTED] Operating system: linux (redhat 7.0) PHP version: 4.0.4pl1 PHP Bug Type: *Session related Bug description: couldnt update a session var or just register one Hi and sorry to disturb but i have a pb and i dont know if is it a bug or something else, hope is not a bug! maybe the problem comes from the compilation, maybe from me, but when i do : -- SESSION PB --- session_start(); $ID=session_id(); $WHAT=$pass.$ID; if(!$SID){ session_register(SID); $SID=md5($WHAT); }else{ $LOCAL_SID=md5($WHAT); if($SID!=$LOCAL_SID){ session_destroy(); ?scriptalert(ops...);/script? } } -- and i do : echo session_encode(); i get : -- usr_pro|s:1:1;usr_key|s:1:1;connected|i:1;usr_log|s:3:flo;!SID|secteur|s:1:2; with SID unset... and other pb is that i cannot update a session var: session_unregister('toto'); session_register('toto'); when this is done, i got the same values from toto :-( thanks for all ! regards, José PLANS -- Edit Bug report at: http://bugs.php.net/?id=10604edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9728 Updated: I cannot post any string over any form or send through a GET method....
ID: 9728 User Update by: [EMAIL PROTECTED] Old-Status: Closed Status: Open Bug Type: Apache related Description: I cannot post any string over any form or send through a GET method OK thanks Jani but that doesnt work at all This is my configure line: PHP: ./configure --with-apache=../apache(version) --with-mysql=/usr/local/mysql --with-pdflib --with-gd --with-jpeg-dir=/usr/lib --with-bcmath --enable-track-vars make; make install APACHE: ./configure --prefix=/home/apache --activate-module=src/modules/php4/lib...a make; make install The script is: ? echo "hrbrTest = ".$test."brhr\n"; ? form action=self.php method=post Test:input type=text name=test input type=submit /form With PERL All is ok under cgi-bin folder: #!/usr/bin/perl -w print "Content-type: text/plain\n\n"; print "body bgcolor=white\n"; print "Test=$testbr"; print "form./form\n"; and that works This is under a DELL PowerEdge Server RedHAT 7.0 Apache 1.3.14, PHP the latest snapshot... At home i have no problems... and never had... with PHP :-( I have at home a Duron 750 with Apache 1.3.14 too and PHP 4.0.2 ... Any Ideas ? thanks ! :) regards , José PLANS Whos having a GREAT Headache.. Previous Comments: --- [2001-03-13 22:46:53] [EMAIL PROTECTED] Did you compile PHP yourself? Or did you install it from RPM? If latter, there is (somewhere) an updated PHP rpm in the RedHat FTP sites. (ftp://updates.redhat.com/ perhaps?) And if you did compile it from sources yourself, get the latest CVS snapshot from http://snaps.php.net/ as this should be fixed. If none of this helps, reopen this bug report and include a shortest possible example script which can be used to reproduce this problem. --Jani --- [2001-03-13 18:57:27] [EMAIL PROTECTED] Hi there, I'm in trouble with the new RedHat release... too many bugs, and I havent a clue of . i know this is too "space"... but Why I cant post any data through the POST method or GET one ??? My config is RedHAT 7.0, apache 1.3.14 , PHP 4.0.4pl1, ... With PERL i have no problems posting data. so its PHP who doesnt know how to do it I have to say I have installed PHP succesfully about a hundred of times under RedHAT 6.X . so is it 7.0 the problem ??? many thanks!!! regards, José PLANS who begins with the famous RedHAT 7.0 bugs... ::-( --- Full Bug description available at: http://bugs.php.net/?id=9728 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9728 Updated: I cannot post any string over any form or send through a GET method....
ID: 9728 User Update by: [EMAIL PROTECTED] Old-Status: Feedback Status: Open Bug Type: Apache related Description: I cannot post any string over any form or send through a GET method Ok, that worked !! it was php.ini the problem, switching the register_gloabals to ON .. thanks a lot Jani : i'll try to explore all the PHP 'man' pages (when i'll have enough time..) ;) regards, José whos really happy now and will compile the apache server again ;) Previous Comments: --- [2001-03-14 15:23:41] [EMAIL PROTECTED] Works for me just fine. Does it print any error messages for you? Is the register_globals directive set "on" in php.ini? Try changing the $test to $HTTP_POST_VARS['test'] to test if it's the register_globals setting.. --Jani --- [2001-03-14 10:15:58] [EMAIL PROTECTED] OK thanks Jani but that doesnt work at all This is my configure line: PHP: ./configure --with-apache=../apache(version) --with-mysql=/usr/local/mysql --with-pdflib --with-gd --with-jpeg-dir=/usr/lib --with-bcmath --enable-track-vars make; make install APACHE: ./configure --prefix=/home/apache --activate-module=src/modules/php4/lib...a make; make install The script is: ? echo "hrbrTest = ".$test."brhrn"; ? form action=self.php method=post Test:input type=text name=test input type=submit /form With PERL All is ok under cgi-bin folder: #!/usr/bin/perl -w print "Content-type: text/plainnn"; print "body bgcolor=whiten"; print "Test=$testbr"; print "form./formn"; and that works This is under a DELL PowerEdge Server RedHAT 7.0 Apache 1.3.14, PHP the latest snapshot... At home i have no problems... and never had... with PHP :-( I have at home a Duron 750 with Apache 1.3.14 too and PHP 4.0.2 ... Any Ideas ? thanks ! :) regards , José PLANS Whos having a GREAT Headache.. --- [2001-03-13 22:46:53] [EMAIL PROTECTED] Did you compile PHP yourself? Or did you install it from RPM? If latter, there is (somewhere) an updated PHP rpm in the RedHat FTP sites. (ftp://updates.redhat.com/ perhaps?) And if you did compile it from sources yourself, get the latest CVS snapshot from http://snaps.php.net/ as this should be fixed. If none of this helps, reopen this bug report and include a shortest possible example script which can be used to reproduce this problem. --Jani --- [2001-03-13 18:57:27] [EMAIL PROTECTED] Hi there, I'm in trouble with the new RedHat release... too many bugs, and I havent a clue of . i know this is too "space"... but Why I cant post any data through the POST method or GET one ??? My config is RedHAT 7.0, apache 1.3.14 , PHP 4.0.4pl1, ... With PERL i have no problems posting data. so its PHP who doesnt know how to do it I have to say I have installed PHP succesfully about a hundred of times under RedHAT 6.X . so is it 7.0 the problem ??? many thanks!!! regards, José PLANS who begins with the famous RedHAT 7.0 bugs... ::-( --- Full Bug description available at: http://bugs.php.net/?id=9728 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9728: I cannot post any string over any form or send through a GET method....
From: [EMAIL PROTECTED] Operating system: RedHat 7.0 PHP version: 4.0.4pl1 PHP Bug Type: Apache related Bug description: I cannot post any string over any form or send through a GET method Hi there, I'm in trouble with the new RedHat release... too many bugs, and I havent a clue of . i know this is too "space"... but Why I cant post any data through the POST method or GET one ??? My config is RedHAT 7.0, apache 1.3.14 , PHP 4.0.4pl1, ... With PERL i have no problems posting data. so its PHP who doesnt know how to do it I have to say I have installed PHP succesfully about a hundred of times under RedHAT 6.X . so is it 7.0 the problem ??? many thanks!!! regards, José PLANS who begins with the famous RedHAT 7.0 bugs... ::-( -- Edit Bug report at: http://bugs.php.net/?id=9728edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]