PHP IE Form Problem |
|||||||||
PHP/IE Form Problem, Tutorial and Solution Problem Summary: I could not get Internet Explorer to submit/post my HTML form that was handled by a PHP script. The form worked fine in Firefox, Opera, Netscape, Safari and other browsers. Example: For a long time I could not get even a simple user login page to work, Surprise Solution: I had tried every solution, suggested or imagined - to no avail. I changed header information, session and cookie code, mysql database and query tweaks, icon requests and many more suggested on php.net and PHP forums. When working with PHP and IE, the answer is.... Use the default form button for the submit button, NOT an image-based, "custom" button. Below are two identical pieces of code - apart from ONE line of code which differenciates the two different submit buttons. Sure enough, one works, and one doesn't! | |||||||||
|
|
||||||||
I hope this explanation saves others the wasted (and almost silly) countless research hours that I had to invest in order to learn this solution. LOOKING FOR AN AFFORDABLE, RELIABLE PHP HOST? We recommend 1&1. |
© Michael Devin 2006