View Full Version : search URL question
in a normal search we get a URL similary to:
search.php?q=ELEPHANT+SHAPED+HAT&submit.x=38&submit.y=11&submit=submit&c=0
could someone explain what submit.x and submit.y are and do please?
cheers
You've baffled me now!
I get:
search.php?q=elephant+shaped+hats&c=0&search=Search
so, 'fraid I don't know ...
Confuscius
26-02-08, 00:03
http://www.webmasterworld.com/forum21/9694.htm - I think that I noticed some code that tried to deal with this in the SW files - cannot remember where.
Paul
It's because you're using an <input type="image" /> submit button. Those extra fields are the coordinates of the pointer relative to the image origin when you clicked to submit your query.
Further to Paul's post above there's another article at webmaster world, http://www.webmasterworld.com/html/3545351.htm that suggests a javascript solution to remove the coordinate fields.
Confuscius
27-02-08, 16:03
Interesting aspect of this is that Google indexes these pages! But they require a human click to generate! Big brother is watching you!
you certainly know your stuff authcode! and there's me thinking it was created by the PHP.
Everyday's a school day.
Incase anyone else has this issue:
In the <form> tag add:
onsubmit="this.submit();return false;"