Script running under Command Prompt or Browser or some other application?
Posted by Ojas on 11/28/07 05:34
Hi!,
I just out of curiosity want to know how top detect the client side
application under which the script is getting run. I mean to ask the
how to know whether the script is running under Command Prompt or
Browser or some other application?