PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Tipurile resurselor> <Instalarea
Last updated: Fri, 01 Aug 2008

view this page in

Configuraţia la rulare

Comportamentul acestor funcţii este afectat de parametrii stabiliţi în php.ini.

In order to configure expect extension, there are configuration options in the configuration file php.ini.

Expect Opţiuni de configurare pentru
Denumirea Valoarea implicită Poate fi modificată Changelog
expect.timeout "10" PHP_INI_ALL  
expect.loguser "1" PHP_INI_ALL  
expect.logfile "" PHP_INI_ALL  
Pentru mai multe detalii şi definiţii ale constantelor PHP_INI_* accesaţi php.ini directives.

Iată o explicaţie pe scurt a directivelor de configurare.

expect.timeout integer

The timeout period for waiting for the data, when using the expect_expectl() function.

A value of "-1" disables a timeout from occurring.

Notă: A value of "0" causes the expect_expectl() function to return immediately.

expect.loguser boolean

Whether expect should send any output from the spawned process to stdout. Since interactive programs typically echo their input, this usually suffices to show both sides of the conversation.

expect.logfile string

Name of the file, where the output from the spawned process will be written. If this file doesn't exist, it will be created.

Notă: If this configuration is not empty, the output is written regardless of the value of expect.loguser.



add a note add a note User Contributed Notes
Configuraţia la rulare
There are no user contributed notes for this page.

Tipurile resurselor> <Instalarea
Last updated: Fri, 01 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites