bauhsoj
07-21-2007, 03:05 AM
How would I detect if a script is called from the command line and not the browser?
|
||||
Detect if script called from command linebauhsoj 07-21-2007, 03:05 AM How would I detect if a script is called from the command line and not the browser? GJay 07-21-2007, 10:34 AM checking whether $argc and/or $argv aren't null would seem to do it. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum