Again; Run PHP code.
//300 lines of code
Now find me the errors in my code and make sure it comes out with the correct values.
"You still have to create a file, name it, save it, type in the address manually in the browser"
And in your example you still have to create a file type in the address manually in your browser...
and now you have to make it flat, not connect to any database that isnt open to the world connecting to it, have to comply to their server's modules, etc....
Far more work than just coding the thing and actually running it, imo. But if thats what works for you, by all means go for it.