Bug #16839: Session, Get & Post doesn't work
| From: | shinjie at hotmail dot com | Date: | Fri, 26 Apr 2002 01:13:42 +0000 |
| Subject: | Bug #16839: Session, Get & Post doesn't work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-6033@lists.php.net to get a copy of this message | ||
From: shinjie@hotmail.com
Operating system: Windows NT 5.0 build 2195
PHP version: 4.2.0
PHP Bug Type: Session related
Bug description: Session, Get & Post doesn't work
in Release Candidates of 4.2.0, the Session, Get & Post still works. But
after upgrading to 4.2.0, Session, Get & Post doesn't work at all. Such as
some basic codes:
<?
//test1.php
session_start();
session_register("var");
$var = 1234567;
?>
<?
//test2.php
session_start()
echo $var; <------- nothing outputed, worked in 4.1.2 well
?>
---------------------------------------------
//t1.php
<form action="./t2.php" method="Post">
Your Name: <input type="text" name="name" size="20">
<input type="submit" value=" OK ">
</form>
//t2.php
Your name input: <? echo $name; ?> //Variable is null!
Even: t2.php?name=Tommy
Nothing shown........damn......
I've updated all modules from 4.1.2....php4apache.dll, php.ini,
php4ts.dll......
--
Edit bug report at http://bugs.php.net/?id=16839&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16839&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16839&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16839&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16839&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16839&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16839&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16839&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16839&r=submittedtwice