You are here: Re: a PHP script works fine when called from the browser but not as a shell script « PHP Programming Language « IT news, forums, messages
Re: a PHP script works fine when called from the browser but not as a shell script

Posted by Mladen Gogala on 12/22/05 06:16

On Thu, 22 Dec 2005 01:01:57 +0000, Andy Hassall wrote:

>>This is disgusting! Andy, I'm disappointed.
>
> In what way?

Andy, the proper way to do it is #!/path/to/php in the first line
Calling PHP explicitly doesn't conform the IGO (International Geeks
Organization) standard for aesthetics. As a geek, I must protest.
Merry Christmas and a happy New Year!

--
http://www.mgogala.com

 

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

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