That's not the right way to read php file.
You should create a folder (ex: test) under www (your public folder).
It will be your project folder so you can create files in it.
By doing this, your project (test) will be listed on to wamp homepage.
By clicking on your project link, it will show a list of your files.
To automatically launch a file when opening your project, you should create an index.php file which will be read first.
Don't forget to use <?php ?> and not <? ?> (short open tags)
Wamp homepage can be accessed from your browser (ex: firefox) on url 'http://localhost/'
There is a link in wamp menu name Localhost.
Florian
WampServer Patch (
Screenshots)
Topic EN :
www.wampserver.comTopic FR :
www.wampserver.com