RE: [PHP] Submit buttons as images

From: Date: Fri, 06 Oct 2000 02:22:47 +0000
Subject: RE: [PHP] Submit buttons as images
Groups: php.general 
Request: Send a blank email to php-general+get-18817@lists.php.net to get a copy of this message
Do you really need a form up there? what if you just use a get-method form? like: <a href="file.php?I=agree">I agree</a> &nbsp; &nbsp; &nbsp; <a href="file.php?I=disagree">I disagree</a> well these are images, right...? that would be enough .., unless you have some check boxes or fields to add to that submissions, Cheers! -----Original Message----- From: Ben Wiechman [mailto:neteru@aminal.net] Sent: Friday, October 06, 2000 11:10 AM To: Php-General Subject: [PHP] Submit buttons as images How do you determine which submit button was pressed if you are using images instead of standard buttons for form data submission. I am having a problem with a form I'm working on. Basically the user enters some information, reads an agreement (yeah right... lol) and either clicks Agree or Disagree. My problem is that when I got rid of the std html buttons in favor of a pair of images that went along with the site design better, I can no longer figure out for the life of me which button was pressed. I know in perl/cgi scripts you can access the x or y co-ords of the image to figure out which one was pressed, but trying flavors of this with PHP didn't work. Can anyone shed some light on this? Thanks in advance. Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#18817) next »