From:             jfreier at manleygroup dot com
Operating system: Window 2000
PHP version:      4.3.3
PHP Bug Type:     IIS related
Bug description:  Notice: Undefined variable with register_globals = on

Description:
------------
Please Help,
Im run IIS, and Apache on the same server.  I have changed the
register_globalveriable = On, restrated my comp and sure enough it worked
for apachie, BUT, when i run the same script under IIS 5.0 i get the same
error.

Notice: Undefined variable:

~I thnk that the new version of PHP, php.ini is not setting right with
windows IIS

Reproduce code:
---------------
index.php
<html>
<head><title>TestForm</title></head>
<body>
<form action=index2.php method=post>
<input type=text name=a>
<input type=submit value=testit>
<input type="hidden" name="action" value="form_submitted">
</form>
</body>
</html>

index2.php
<html>
<head></head>
<body>
<?php
   print $a;
?>
</body>
</html>


Expected result:
----------------
What ever you type in

Actual result:
--------------
Notice: Undefined variable: c:\ line 5

-- 
Edit bug report at http://bugs.php.net/?id=25493&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25493&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25493&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25493&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25493&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25493&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25493&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25493&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25493&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25493&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25493&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25493&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25493&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25493&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25493&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25493&r=gnused

Reply via email to