in order for you to test your php file, you should open first your web browser and type in localhost. then make sure your php file is inside the www folder. the wamp server should be on.
EXAMPLE:
TYPE this in your browser,
localhost/filename.php
that should solve your problem.
Forum:
WampServer English