Bug #13790 Updated: \r\n prepended to variables if form enctype=multipart/form-data
| From: | hholzgra@php.net | Date: | Mon, 22 Oct 2001 19:08:13 +0000 |
| Subject: | Bug #13790 Updated: \r\n prepended to variables if form enctype=multipart/form-data | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68726@lists.php.net to get a copy of this message | ||
ID: 13790
Updated by: hholzgra
Reported By: grichards@endertechnology.com
Old Status: Open
Status: Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:
are you using original RedHat 7 RPMs ?
Previous Comments:
------------------------------------------------------------------------
[2001-10-22 15:00:53] grichards@endertechnology.com
<form method=post enctype=multipart/form-data action=$PHP_SELF>
<input type=hidden name=step value=one>
<input type=submit name=submit value=Submit>
</form>
echo "'".$step."'"; # yields:
'
one'
$step = substr("\r\n", "", $step);
echo "'".$step."'"; # yields:
'one'
Gotta get rid of that prepended line!
Gabe
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13790&edit=1