freephoneid Posted September 19, 2008 Author Share Posted September 19, 2008 STRANGE.....I copied the exact code which you've given in 1 file & I'm getting following: Array ( [xx] => 77 [deleteasn_x] => 49 [deleteasn_y] => 10 ) Version info on Windows XP: C:\>c:\php-5.2.3\php.exe -v PHP 5.2.3 (cli) (built: May 31 2007 09:37:22) Copyright © 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright © 1998-2007 Zend Technologies Any idea, why? Quote Link to comment https://forums.phpfreaks.com/topic/124732-php-code-with-enter-key/page/2/#findComment-645771 Share on other sites More sharing options...
F1Fan Posted September 19, 2008 Share Posted September 19, 2008 Sounds like a server setup issue or something, which I know NOTHING about. Sorry! Quote Link to comment https://forums.phpfreaks.com/topic/124732-php-code-with-enter-key/page/2/#findComment-645772 Share on other sites More sharing options...
freephoneid Posted September 19, 2008 Author Share Posted September 19, 2008 Hello, Can anyone help me on this? I just tried on my production & all other test servers, it is not showing the delete in POST at all? Is this a PHP bug in v5.2.3 or is there any server setting?? Can any one help me, pleaaase?? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/124732-php-code-with-enter-key/page/2/#findComment-645775 Share on other sites More sharing options...
F1Fan Posted September 19, 2008 Share Posted September 19, 2008 You may want to re-post this topic in a section under Web Server Administration. Quote Link to comment https://forums.phpfreaks.com/topic/124732-php-code-with-enter-key/page/2/#findComment-645782 Share on other sites More sharing options...
freephoneid Posted September 19, 2008 Author Share Posted September 19, 2008 Hi F1Fan, Are you sure you are using IE & not fire fox? After looking at google help, I found that the type image buttons will never display in IE in POST & it'll display only as delete_x & delete_y in POST. I've posted question in web admin as well but I got no answer. Can you tell me if you see the same delete in IE? Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/124732-php-code-with-enter-key/page/2/#findComment-645856 Share on other sites More sharing options...
F1Fan Posted September 19, 2008 Share Posted September 19, 2008 Ah hah! Sorry, I didn't even think about that. I am using Firefox. I get the same thing you get on IE. Is there a problem with just using the fact that the ones with _x and _y are there? You could just add a check that looks for <varname>_x and <varname>_y are set and, of so, assume that image <varname> was clicked. What's wrong with that? Quote Link to comment https://forums.phpfreaks.com/topic/124732-php-code-with-enter-key/page/2/#findComment-645899 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.