thanks for responding.  I cannot upgrade right now but just wanted to report
that the 4.0.4pl1 version is broken in that way.  glad it's ok in later
versions.  I only use RPMs and latest version not yet available.

- e r i c k

-----Original Message-----
From:   Bug Database [mailto:[EMAIL PROTECTED]]
Sent:   Sunday, July 22, 2001 1:20 PM
To:     [EMAIL PROTECTED]
Subject:        Bug #12130 Updated: field values in multipart/form

ID: 12130
Updated by: andy
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]

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


------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at
http://bugs.php.net/?id=12130&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to