pedroas Posted September 1, 2006 Share Posted September 1, 2006 Hi folks...I have a page with a form like this[code]<pre><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Page Title</title><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /></title><body> <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" /> </form></body></pre>[/code]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. Link to comment https://forums.phpfreaks.com/topic/19410-bug-in-ie-6-post-multpartform-data-with-special-chars/ Share on other sites More sharing options...
ober Posted September 1, 2006 Share Posted September 1, 2006 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. Link to comment https://forums.phpfreaks.com/topic/19410-bug-in-ie-6-post-multpartform-data-with-special-chars/#findComment-84326 Share on other sites More sharing options...
pedroas Posted September 2, 2006 Author Share Posted September 2, 2006 Yes, I've triedvar_dump($_REQUEST)and the first input field is not there. Just one thing I've missed to tell: the special chars goes in textarea.Sample textObs. 10/08 CONTATO COM SR. FIRMINO – MANIFESTAÇÃO AO SETOR. Link to comment https://forums.phpfreaks.com/topic/19410-bug-in-ie-6-post-multpartform-data-with-special-chars/#findComment-84555 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.