#20227 [Opn->Bgs]: the .php can not get variable values from the input
| From: | moriyoshi@php.net | Date: | Sun, 03 Nov 2002 14:11:32 +0000 |
| Subject: | #20227 [Opn->Bgs]: the .php can not get variable values from the input | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23982@lists.php.net to get a copy of this message | ||
ID: 20227
Updated by: moriyoshi@php.net
Reported By: ddd@ddd.com
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: W2k Server English
PHP Version: 4.2.3
New Comment:
In PHP 4.2.0, the 'register_globals' setting default changed to
'off'. See http://www.php.net/release_4_2_0.php for more info.
We are sorry about the inconvenience, but this change was a necessary
part of our efforts to make PHP scripting more secure and portable.
Previous Comments:
------------------------------------------------------------------------
[2002-11-03 07:57:00] ddd@ddd.com
I have installed the php 4.2.3 in W2K Server (en) Box, via ISAPI, the
<? phpinfo();?> works fine...
but when I write the example as folling...
# fils: test.html
<html>
<head>
<title>µÚÒ»Ò³</title>
</head>
<body>
<H1>Please Input your name:</H1>
<form method="POST" action="first.php">
<p><b>Your Name is</b><input type="text" name="text1"
size="20">
<input type="submit" value="Commit" name="button1"></p>
</form>
</body>
</html>
#file:first.php
<? if (!($text))
echo "<H1>Your name is".$text1."</H1>";
else
echo "please input your name!";
?>
When I key in some words in the text1 field... and commit...
but the first.php just return the following...
Your name is:
It seems the variable value has not been successfully transiitted to
the first.php, or the php can not get the variable's value content
correctly..
why this happy???
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20227&edit=1