You are here: Re: Script running under Command Prompt or Browser or some other application? « All PHP « IT news, forums, messages
Re: Script running under Command Prompt or Browser or some other application?

Posted by Jerry Stuckle on 12/05/07 20:24

AnrDaemon wrote:
> Greetings, Jerry Stuckle.
> In reply to Your message dated Wednesday, December 5, 2007, 14:56:22,
>
>> As he said - if it is from the command line, $argc and $argv will exist,
>> as will $_SERVER['argc'] and $_SERVER['argv'].
>
> Not if it is started using PHP-CGI and argc/argv vars disabled in
> configuration.
>
>

If it's using php-cgi, then it's not started from the command line, is it?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация