command line or not???

From: Adam Dyga (adeon_at_NOSPAMo2.pl)
Date: 11/29/03


Date: Sat, 29 Nov 2003 16:28:07 +0100


Hello,

What's the best way to check whether script is run from command line or by
web server?

-- 
Greets
adeon


Relevant Pages

  • Re: Perl and IIS - script runs but The page cannot be displayed
    ... What happened when you ran the script at the command line? ... running it through the web server - especially if you use the CGI ... touch a web server for development purposes. ...
    (comp.lang.perl.misc)
  • Re: Reading SCRIPT_FILENAME thru cron
    ... When I run this script from the command line or the web it does show ... Is the cron job calling the page through the web server? ...
    (comp.lang.php)
  • Re: file input/output
    ... > when running the the script below from the unix command line ... But when running it from a browser the file is Not created ... the web server thinks is the current directory (probably the document ...
    (perl.beginners)
  • Re: Perl and IIS - script runs but The page cannot be displayed
    ... >> I've never run a perl script at the command line. ... but as warnings that the web server is just dismissing. ... If I run it from the command line it can't find the input file as the ... If something is broke it gives me the error by passing me the ...
    (comp.lang.perl.misc)
  • Re: command line or not???
    ... Adam Dyga wrote: ... > What's the best way to check whether script is run from command line or by ...
    (comp.lang.php)