Internet Explorer and Forms
I ran across this little quirk with Internet Explorer the other day. It appears that when a form is submitted by actually clicking the submit button, an element in the PHP array $_POST is created for the button. Simple enough, right? Well I noticed that when the form was submitted by pressing the Enter key instead of clicking the submit button, an element in the $_POST array was not created for the button. It’s not an exceptionally large quirk, but definitely caused me to rethink my form submission checking. Firefox and Safari created the array element for the button regardless of how the form was submitted.. This occured with Internet Explorer 6.0 and PHP version 5.0.3
Tags: Internet Explorer, PHP, forms
Similar Posts:
1 Comment
Leave a comment
Site Sponsors
Recent Posts
Archives
- January 2010 (2)
- December 2009 (1)
- May 2009 (1)
- December 2007 (1)
- November 2007 (1)
- October 2007 (1)
- September 2007 (3)
- August 2007 (6)
- July 2007 (1)
- June 2007 (3)
- December 2006 (1)
- November 2006 (3)
- October 2006 (2)
- August 2006 (1)
- July 2006 (2)
- June 2006 (3)
- May 2006 (1)
- March 2006 (4)
- February 2006 (2)
- January 2006 (1)
- December 2005 (7)
- November 2005 (7)






hi