Re: carriage return in multipart/form-data form post
| From: | Chris Lee | Date: | Mon, 05 Mar 2001 19:17:28 +0000 |
| Subject: | Re: carriage return in multipart/form-data form post | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-42672@lists.php.net to get a copy of this message | ||
<form method=post action='$PHP_SELF'>
<input type=submit
</form>
even the simplest forms product a 0x013 0x10 imediatly after the <form> I wish there was a way
to control this behaviour. I thought it was normal, and anoying.
--
Chris Lee
Mediawaveonline.com
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
lee@mediawaveonline.com
"Jeff Schwartz" <jeff_schwartz@yahoo.com> wrote in message news:20010305205302.16103.qmail@web9604.mail.yahoo.com...
We've just moved to a new server and I'm running into an odd problem. The
code is below. On my old server it correctly returns:
[test]
t 116
e 101
s 115
t 116
But on my new server I get:
[ test]
13
10
t 116
e 101
s 115
t 116
Has anyone else run into this?
<?php
echo "[$action] <BR> ";
while ($action){
$c = substr($action,0,1);
$action = substr($action,1);
echo "$c " . ord($c) . "<BR>";
}
?>
<FORM ENCTYPE='multipart/form-data' ACTION='z.html'
METHOD='POST'>
<input type="hidden" name="action" value="test">
<INPUT TYPE='submit' VALUE='Process'></FORM>
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net