dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

assert_options> <Predefined Constants
[edit] Last updated: Fri, 04 Oct 2013

view this page in

PHP Options/Info Functions

Table of Contents



assert_options> <Predefined Constants
[edit] Last updated: Fri, 04 Oct 2013
 
add a note add a note User Contributed Notes PHP Options/Info Functions - [3 notes]
up
0
gilthansNOSPAAM at gmailSPAAMBLOCK dot com
8 years ago
Note: when magic_quotes_gpc is ON, it will also slash values inside both $_SERVER['QUERY_STRING'] and $_SERVER['SCRIPT_NAME'] (and equivalents) will also be slashed.
up
0
Mark
9 years ago
You probably don't want to set "magic_quotes_runtime" because it affects even binary file read/write operations. This is especially problematic if you include someone else's library that depends on binary read/write. If you enable "magic_quotes_runtime", be sure to use set_magic_quotes_runtime() function call to disable it before calling someone else's library that does binary read/write.
up
-1
Stephen
6 years ago
The manual states above:

<<<
The default is to allow dynamic loading, except when using safe mode. In safe mode, it's always impossible to use dl().
>>>

...however, on the manual page for dl(), it states:

<<<
Note:  dl() is not supported in multithreaded Web servers. Use the extensions  statement in your php.ini when operating under such an environment. However, the CGI and CLI build are not  affected !

Note: As of PHP 5, the dl() function is deprecated in every SAPI except CLI. Use Extension Loading Directives method instead.

Note: Since PHP 6 this function is disabled in all SAPIs, except CLI, CGI and embed.
>>>

 
show source | credits | stats | sitemap | contact | advertising | mirror sites