ID: 26958
Updated by: [EMAIL PROTECTED]
Reported By: rrubio at wideline dot com dot au
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: XP Professional
PHP Version: 4.3.4
New Comment:
The php.ini file is not being read by PHP for some reason,
most likely it's in wrong place. See phpinfo() for the path where it's
been loaded from.
Previous Comments:
------------------------------------------------------------------------
[2004-01-18 18:22:35] rrubio at wideline dot com dot au
Description:
------------
I have an HTML form, where i would like to <? echo "$varname"; ?> to
the actual input fields "value=" once submitted. On load of form
$varname = "". I receive the following message "Notice Undefined
Variable varname". I am using IIS 5.1 and have changed
"register_globals = On".
NOTE: The same form works perfectly under PHP 4.1.5, win 2000
professional/PWS.
Reproduce code:
---------------
<?php
if($submit == "find"){
function_name();
}
?>
<html>
<body>
<form="formname" method="get" action="file.php">
<input type="text" name="fname" value="<? echo "$fname"; ?> ">
</form>
</body>
</html>
Expected result:
----------------
Once the form is submitted to "find" the $varname would be populated
with a value, to then display on the fields actual value="". To update
and so forth.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26958&edit=1