You must call this file with a get param to test it. for example: test.html?name=drew

If you do so, then a alert() shows the content of the "name" variable.