In reply to Re: Telling if your script is running from web page or CLI by Anonymous Monk in thread Telling if your script is running from web page or CLI by dizzyg