Good Evening,
I am working on creating a script and I want to detect if the request is coming from a browser or the server. The server will be using a cron job.
I looked online and found this discussion, [
stackoverflow.com...] and I was looking at the solution of finding the root of the process tree. How would I do that in php?
Thanks,
Mike