View Single Post
Old 05-07-2012, 08:22 PM   PM User | #13
Link187
New Coder

 
Join Date: Feb 2012
Location: London, Uk
Posts: 17
Thanks: 6
Thanked 0 Times in 0 Posts
Link187 is an unknown quantity at this point
Quote:
You're not even using a field type with a name for your image and you're also not posting your PHP processing code to show what you actually did on the server.
Sorry I should have made it clear that I used your code exactly and simply replaced:
<input type="submit" name="submit" value="Then the next time, click this">
with:
<INPUT TYPE="image" SRC="images/signup.png" HEIGHT="25" WIDTH="63" BORDER="0" ALT="Submit Form">

Quote:
I simply said the image had no name="" or value="" attributes and therefore they would not be sent.
And I simply said that statement is incorrect. I may not have specified thos values but they are automatically generated and sent.
Quote:
It's possible that IE will automatically send a $_POST['submit'] field for an image based submit
It does exactly that in IE6 and IE7 so using an image as a submit button seems to bypass the "if(isset($_POST['submit'])) bug".

Quote:
If it does, then that is a completely different issue and not related to the submit button issue.
Hmm.. not related? Seriously?!
Link187 is offline   Reply With Quote