Results 1 to 6 of 6
Jun 25, 2007, 17:35 #1
- Join Date
- Mar 2006
- Gold Coast, Australia
- 0 Post(s)
- 0 Thread(s)
how to determine who is running a script eg. visitor/server
Is there any easy way to determine who is accessing a script?
For example, if I run a php script as a cron job, can I determine that the script is indeed being loaded as a cron job and not directly from someone's browser?
I know its probably easier to move the php file outside the web root, but for arguments sake... could I use remote_addr?