LPM: CGI question

Janine janine at emazing.com
Thu Jan 11 15:18:00 CST 2001


I'm trying to figure out the best way of telling whether a script was invoked through a browser or from the command line.  Right now
I'm checking if ENV{"HTTP_HOST"} exists (yes = browser; no = command line).  Does anyone know of a better way to do this?

Thanks!
Janine




More information about the Lexington-pm mailing list