I have a php file that I include in my php script, but I don\'t want people to be able to directly run the file(without being included). How can I prevent that from happenin
Included PHP files should contain class/function/variable definitions, not inline logic/output.
Running them directly is then, essentially, a no-op.