23Aug/090
Submit using an input image type: fix for IE
Posted by daniel-ionica
Well if you try login with an input image type you will have a small problem in IE: it wont work.
HTML :
<input name="submit" src="path/to/image.gif" type="image" value="Submit"
PHP
// start processing on submit or submit_x
if (isset($_POST['submit']) || isset($_POST['submit_x'])) {
// run code here
}
This should fix the problem in IE. Just add isset($_POST['submit_x'] in the conditional