Graphical Submit Buttons

From: Date: Tue, 01 Aug 2000 15:00:22 +0000
Subject: Graphical Submit Buttons
Groups: php.general 
Request: Send a blank email to php-general+get-9456@lists.php.net to get a copy of this message
According to this and what I've seen: http://webreference.com/html/tutorial13/13.html#SUBHEAD-9 When you submit using a graphical submit button it sends over the coordinates of the location, for instance if the button is of name: 'submit' then it would pass through the form: submit.x=10 submit.y=10 (or whatever coordinate you clicked on). Now, I have two buttons: submit and cancel. I wanted to check on the next page: if ($cancel.x || $cancel.y) { header("location: redirect.phtml"); exit; } But I'm finding that PHP doesn't recognize periods in variable names as per http://www.php.net/manual/language.variables.php So, how can I check for cancel? Is there a way? Will have to have loop through the HTTP_POST_VARS and find one with the keyname cancel.x ? -- Thomas Deliduka IT Manager ------------------------- New Eve Media The Solution To Your Internet Angst http://www.neweve.com/

« previous php.general (#9456) next »