|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-22 16:20 UTC] andy@php.net
[2001-07-23 14:17 UTC] andy@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 13:00:01 2025 UTC |
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