Make sure the virtual server is running. Just start XAMP and click on the Apache. When it says "running", you're good to go. Make sure you put all your scripts in the correct folder (no other folder will work). And run them by putting "localhost" in the address bar before the actual location of the script on your computer.