Bug #12130 Updated: field values in multipart/form

From: Date: Sun, 22 Jul 2001 20:20:04 +0000
Subject: Bug #12130 Updated: field values in multipart/form
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-60668@lists.php.net to get a copy of this message
ID: 12130 Updated by: andy Reported By: e+php@arix.com Old Status: Open Status: Feedback Bug Type: Unknown/Other Function Operating System: RedHat 7.0 PHP Version: 4.0.4pl1 New Comment: works fine for me. Please update to the latest version and tell me if it still doesn't work. Previous Comments: ------------------------------------------------------------------------ [2001-07-13 03:26:25] e+php@arix.com when using ENCTYPE="multipart/form" for a <FORM>, PHP receives the values of fields with a prepended \n e.g. with: <PRE> <? if ($f1) { echo "test: /$f1/"; exit; } ?> </PRE> <FORM ENCTYPE="multipart/form"> <INPUT TYPE=TEXT NAME=f1> <INPUT TYPE=SUBMIT> </FORM> if I enter "Hello" into the field and submit the form I get: / Hello/ what's the deal?? I've read through all the user comments on the file uploads section but no one seems to have run into this. is it a bug or did I miss some docs somewhere? 1k thx - e r i c k ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12130&edit=1

« previous php.dev (#60668) next »