How to detect when and button is push on a site
am 07.01.2008 07:51:39 von wqmmnmHow can I detect when a user presses buttons on a php site
How can I detect when a user presses buttons on a php site
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
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
"wqmmnm"
news:9d24abeb-f887-4e03-ab54-0c7bdcc51c82@s8g2000prg.googleg roups.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.
On 7 Jan, 10:32, Jonas Werres
> 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.