PHP forms failing in IE
June 28, 2007 8:47 AM   Subscribe

Any general reason why php and javascript web apps would fail in Internet Explorer and yet work correctly in Safari and Firefox? (isset($_SESSION), $form->value, etc.)
posted by four panels to Technology (4 answers total)
 
In both, print SESSION, form, form->value;

(Surely there's a strict mode where PHP doesn't allow you to deref undefined things, yes? Ghods, that language makes me wince.)
posted by cmiller at 8:50 AM on June 28, 2007


Well, the general reason would be Javascript. Or, Microsoft's despicable implementation of JS in IE. PHP can't have much to do with it. And, yes, as cmiller said, print_r($_SESSION); will help out with debugging. And alert(whatever) for debugging Javascript. And the IE developer toolbar.
posted by tmcw at 8:57 AM on June 28, 2007


I bet you've got an unterminated list or statement somewhere. IE is particularly unforgiving about having lists that look like [1,2,3,4,]. It won't generate an error or anything. Just stops.

Look at jsLint to see how cromulent your javascript is. If you have particular questions, my email's in my profile.
posted by boo_radley at 10:12 AM on June 28, 2007


If all else fails to make sense, be aware of a strange and rare IE bug during SSL sessions in which POST is lost. Someone here at work is dealing with that issue right now.
posted by melt away at 12:08 PM on June 28, 2007


« Older thanks bittorrent   |   What do I do now? Newer »
This thread is closed to new comments.