From:             [EMAIL PROTECTED]
Operating system: W2k Server English
PHP version:      4.2.3
PHP Bug Type:     IIS related
Bug description:  the .php can not get variable values from the input

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 bug report at http://bugs.php.net/?id=20227&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20227&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20227&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20227&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20227&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20227&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20227&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20227&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20227&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20227&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20227&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20227&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20227&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20227&r=isapi

Reply via email to