|
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
Navigation:
[Reply to this message]
|