I have a script that will be run as a cron task every night but occasionally
will run when request by the browser. When run by the browser, I want it to
output results to the screen.
What's an easy way to tell how my .php file was invoked?
will run when request by the browser. When run by the browser, I want it to
output results to the screen.
What's an easy way to tell how my .php file was invoked?
Comment