Jump to content


This topic is now archived and is closed to further replies.


Bug in I.E. 6 post multpart/form-data with special chars???

Recommended Posts

Hi folks...

I have a page with a form like this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title>Page Title</title>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
   <form name="frm155" action="nextpage.php" method="post" enctype="multipart/form-data">
    <label for="id1">Name</label><input type="text" id="id1" name="si_name" value="" />
    <label for="id2">Telephone</label><input type="text" id="id2" name="si_phone" value="" />
    <label for="id3">Date</label><input type="text" id="id3" name="si_fone" value="" />
    <label for="id4">Message</label><textarea id="id4" name="si_message" rows="5" cols="80"></textarea>
    <!-- possibly I could have some file upload -->
   <input type="submit" />
It works fine except when some users cut and paste from MS-Word, or any other aplication with some special caracter like a bullet or a dash. In nextpage.php in $_REQUEST I get all variables but without 'si_name'. Always the first variable disapears. This only happens in IE, in FF it's ok. I'm using IE 6 in Windows, Apache 2.2 e php 4.4.2 in a Linux environment.

tks in advance..

Pedro A.

Share this post

Link to post
Share on other sites
I added code tags to your post.  Your end pre tag wasn't a closing tag.

Do this on your processing page: print_r($_REQUEST);

And see if it's actually missing.  I'm guessing you're just not processing it correctly.

Share this post

Link to post
Share on other sites
Yes, I've tried
and the first input field is not there. Just one thing I've missed to tell: the special chars goes in textarea.

Sample text

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.