ID: 18765 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: No Feedback Bug Type: *General Issues Operating System: Windows 95 PHP Version: 4.2.2 New Comment:
No feedback was provided for this bug for over 2 weeks, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-10-01 20:39:25] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-08-19 23:45:04] [EMAIL PROTECTED] It has already been two weeks since I posted this. Is there anyone out there who can help me with this problem? Please =) ------------------------------------------------------------------------ [2002-08-11 23:40:33] [EMAIL PROTECTED] I'm not sure, but I don't think it's related to "multipart/form-data". I've added the line phpinfo() to the sample.php scrift. The content-type reported by phpinfo is "application/x-www-form-urlencoded". I may be wrong as I'm a newbie to PHP =) ------------------------------------------------------------------------ [2002-08-07 14:58:12] [EMAIL PROTECTED] Might be related to #18792 ------------------------------------------------------------------------ [2002-08-07 00:23:35] [EMAIL PROTECTED] I'm using Xitami and PHP4.2.2 I have two files form.html and sample.php. They both reside in c:\Xitami\webpages. form.html contains the ff. scripts: <html> <head> Sample </head> <body><BR> <form method=POST action="sample.php"> <input type=text name="uname" size=10> <input type=submit name="OK"> </form> </body> </html> sample.php contains the ff. scripts: <? echo "<html>"; echo "<head> Sample </head>"; echo "<body>"; echo "Name is ".$_POST['uname']."<br>"; phpinfo(); echo "</body>"; echo "</html>"; ?> After submitting form.html, you'll get the index 'uname' not defined. If you change the METHOD (in form.html) to GET and $_POST (in sample.php) to $_GET, it works fine. I also noticed that the values for all form fields can be found in the ENV array. They can be accessed as 'FORM_'+field name in caps (ie FORM_UNAME). Thanks in advance. Danny ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18765&edit=1
