After going through your post, I felt like I am sitting in a examination hall.
1- I guess, if you double click a php page, it will not open in browser and even if it does it will not execute the php script in it.
The reason php page needs to be uploaded to web server is, when a php page...