Bug #13790 Updated: \r\n prepended to variables if form enctype=multipart/form-data
| From: | sander@php.net | Date: | Mon, 22 Oct 2001 19:51:23 +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-68728@lists.php.net to get a copy of this message | ||
ID: 13790
Updated by: sander
Reported By: grichards@endertechnology.com
Old Status: Open
Status: Feedback
Bug Type: *General Issues
Operating System: Linux
PHP Version: 4.0.4pl1
New Comment:
A good start is a script which only contains this:
<?php phpinfo(); ?>
Make that script available to us (or just only the HTML-output of it). Do NOT post it here, but
upload it somewhere. If you don't know how to do that, mail it to me (sander@php.net) and
I'll put it online somewhere.
Previous Comments:
------------------------------------------------------------------------
[2001-10-22 15:39:12] grichards@endertechnology.com
I didn't set up the Linux box, it's red hat, but I'm not sure what version or how PHP
was set up. How can I find out (read, Linux newbie).
------------------------------------------------------------------------
[2001-10-22 15:08:12] hholzgra@php.net
are you using original RedHat 7 RPMs ?
------------------------------------------------------------------------
[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