Yeah I was investigating around that, and I found that my files were actually encoded using UTF8 with BOM. I removed the BOM and everything went back to normal. Thanks.
On Feb 27, 2:03 pm, Remi Grumeau <[email protected]> wrote: > So the problem comes from you PHP file for sure. > Back encoding may be the reason … perhaps. > > Remi > > Le 26 févr. 2010 à 16:52, romzzz a écrit : > > > I will provide a url it as soon as the site is online, it is not > > public yet :) > > The page is generated using php, and I have many nested includes, and > > I just saw in the page source that some '?' are present outside html > > tags. I think this is the problem, but I haven't figured out why they > > show up. > > Here is a piece of the guilty html : > > > <div id="content"> > > ?<form id="contactForm" action="./?page=contact&lang=fr" > > method="post" onsubmit="return checkform(this);"> > > <noscript> > > <p><input type="hidden" name="nojs" id="nojs" /></p> > > </noscript> > > <div><label for="name">Nom:</label><input type="text" name="name" > > id="name" value="" /></div> > > <div><label for="email">E-mail:</label><input type="text" > > name="email" id="email" value="" /></div> > > <div><label for="message">Message:</label><textarea name="message" > > id="message" rows="10" cols="20"></textarea></div> > > > <div id="mathGuard"> > > ?<div style='font-family: courier new; font-size:7px; font- > > weight: bold; color: red; padding:0px; margin: 0px; line-height: > > 5px;width:14em;display:inline-block;float:left;'> > > > DGF A54 > > S M T > > 1 7CS > > 4RK PT5 > > 67W > > > B G L W3K > > XT7 > > 8XY > > </div><input type='text' id='securityCheck' > > name='286c5a222513a108c8c0379abc0eba60' size='2' maxlength='2'/><input > > type='hidden' name='98921f34cd2b2a1d88e03fd6b054254f' > > value='c72aff59fb08f4f0138419a4c9e4374c' />? > > </div> > > <div id="submitDiv"><input type="submit" name="submit" id="submit" > > value="Envoyer" /></div> > > </form> > > </div> > > > I definitely need to find out where those '?' come from, maybe some > > improperly encoded files. > > > -- > > You received this message because you are subscribed to the Google Groups > > "iPhoneWebDev" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/iphonewebdev?hl=en. -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
