This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
PHP
PHP GET OPTION

PHP GET OPTION 


 

PHP GET OPTION ( option ; value ) 
Parameter Type   Description
option  Longint in Option to get
value  Boolean in Current value of option

The PHP GET OPTION command can be used to find out the current value of an option relating to the execution of PHP scripts. 

Pass a constant from the "PHP" theme in the option parameter to designate the option to be read. The command returns the current value of the option in the value parameter. 

Constant Type Value Comment
PHP raw result Longint 2 Definition of processing mode for HTTP headers returned by PHP in the execution result when this result is of the Text type (when the result is of the BLOB type, headers are always kept).
Possible value(s): Boolean. False (default value = remove HTTP headers from result. True = keep HTTP headers.



See also 

PHP GET FULL RESPONSE
PHP SET OPTION

 
PROPERTIES 

Product: 4D
Theme: PHP
Number: 1060

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v12
Modified: 4D v20 R3

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)