This is a small test of the interaction between PHP and Javascript. On the following page, PHP gets both IP and hostname from the server. Then the page runs a Javascript application that raises an alert box. The box contains the recorded IP and a random integer [0;100] passed from PHP. It also measures how long the user takes to klick "ok". Another page displays the result with PHP getting the time difference back through the URL.

Check it out

My old website is currently deactivated but I will turn it on again soon. If You'd like to contact me, You can reach me at thomas.metz[at]