Re: Graphical Submit Buttons

From: Date: Tue, 01 Aug 2000 15:29:21 +0000
Subject: Re: Graphical Submit Buttons
Groups: php.general 
Request: Send a blank email to php-general+get-9461@lists.php.net to get a copy of this message
At 11:00 AM 2000/8/1 -0400, Thomas Deliduka wrote: >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) { 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/ > > > >-- >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 (#9461) next »