On 2/8/06 11:58 AM, "Trevor DeVore" <[EMAIL PROTECTED]> wrote:

> On Feb 8, 2006, at 9:06 AM, Ken Ray wrote:
> 
>> Hi, I have a library that I want my CGI to 'start using', but it is
>> important that the library know whether it is being loaded from a
>> CGI, or
>> whether it's being loaded from a "normal" stack.
>> 
>> What can a stack do to test whether it's being loaded from a CGI or
>> not?
> 
> I wonder if there are any extra global vars set (environmental
> variables) when running as CGI?  Perhaps check that list and see if
> there are HTTP specific ones.
> 
Actually, I also found that if you ask for "the environment" you get
"command line"... I think I'll use that instead...

:-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to