Reply to Re: Advise needed: PHP without webserver + interface to (X)windows

Your name:

Reply:


Posted by d on 02/16/06 17:54

"Sjoerd" <sjoerder@gmail.com> wrote in message
news:1140099327.236847.35510@o13g2000cwo.googlegroups.com...
> Erwin Moller wrote:
>> I was thinking to invoke PHP from commandline without a timeout,
>> overruling
>> php.ini.
>
> Take a look at this:
> http://www.php.net/manual/en/features.commandline.php
>
> PHP-cli has no timeout by default. A PHP can be run in Unix by
> prefixing it with #!/usr/bin/php.

You can do the same in Windows, if you associate .php (or, say, .xphp) files
with a batch file that calls the PHP interpreter and passes the filename of
the script. This will allow you to run .php/.xphp scripts like they are
..bat files.

dave

[Back to original 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

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