Can I view php files in my computer without uploading them to a server???
Download a webserver like Apache and run it. You can run the php files.
Nilesh