How to prevent direct access to php file and stop a form reload posting?

Printable View