faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

31 of 39 people (79%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do you respond to image submit buttons?
What variables are used to store the x and y positions from an image input button?

Aug 24th, 1999 00:36
Chris Kings-Lynne, Nathan Wallace,


Although an image submit button such as this, <input type=image name=go 
src="go.gif">, apparently submits the following two variables: go.x and 
go.y, the variables $go.x and $go.y are NOT set.  Instead, PHP 
translates them to $go_x and $go_y.