By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,463 Members | 774 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,463 IT Pros & Developers. It's quick & easy.

How to detect when and button is push on a site

P: n/a
How can I detect when a user presses buttons on a php site
Jan 7 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
wqmmnm schreef:
How can I detect when a user presses buttons on a php site
By capturing the value of the button's name attribute through the
$_POST, $_GET or $_REQUEST super globals.
JW
Jan 7 '08 #2

P: n/a
Janwillem Borleffs schrieb:
wqmmnm schreef:
>How can I detect when a user presses buttons on a php site

By capturing the value of the button's name attribute through the
$_POST, $_GET or $_REQUEST super globals.
Although this might not be what the OT want, because this normally
includes a page reload.
Im not sure if the OT knows, that basically, the PHP of the actual page
is through in the moment the user sees it. I think he looks for Ajax/JS
Jan 7 '08 #3

P: n/a
rf

"wqmmnm" <wq****@gmail.comwrote in message
news:9d**********************************@s8g2000p rg.googlegroups.com...
How can I detect when a user presses buttons on a php site
a) There is no such thing as a PHP site. There may be such a thing as a
"site" where each page is the output of a PHP script.

b) What button?

--
Richard.
Jan 7 '08 #4

P: n/a
On 7 Jan, 10:32, Jonas Werres <jo...@example.orgwrote:
Janwillem Borleffs schrieb:
wqmmnm schreef:
How can I detect when a user presses buttons on a php site
By capturing the value of the button's name attribute through the
$_POST, $_GET or $_REQUEST super globals.

Although this might not be what the OT want, because this normally
includes a page reload.
Im not sure if the OT knows, that basically, the PHP of the actual page
is through in the moment the user sees it. I think he looks for Ajax/JS
There's so little information its hard to tell what the OP's looking
for - maybe he wants to measure how long the round trip time is - or
something else.

C.
Jan 7 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.