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.
PHP Options/Info Funzioni
Indice dei contenuti
- assert_options — Imposta/ottiene vari parametri per assert
- assert — Verifica se un'asserzione è FALSE
- cli_get_process_title — Return current process title
- cli_set_process_title — Change process title
- dl — Carica i moduli del PHP a runtime
- extension_loaded — Verifica se un modulo è già stato caricato
- gc_collect_cycles — Forces collection of any existing garbage cycles
- gc_disable — Deactivates the circular reference collector
- gc_enable — Activates the circular reference collector
- gc_enabled — Returns status of the circular reference collector
- get_cfg_var — Restituisce il valore di un'opzione di configurazione del PHP
- get_current_user — Restituisce il nome del proprietario dello script PHP
- get_defined_constants — Restituisve un array associativo con i nomi di tutte le costanti ed i loro valori
- get_extension_funcs — Restituisce una matrice con i nomi delle funzioni di un modulo
- get_include_path — Restituisce il valore del parametro di configurazione include_path
- get_included_files — Restituisce una matrice con i nomi dei file inclusi o richiesti
- get_loaded_extensions — Restituisce una matrice con il nome di tutti i moduli compilati e caricati
- get_magic_quotes_gpc — Restituisce l'attuale configurazione di magic quotes gpc
- get_magic_quotes_runtime — Restituisce l'impostazione corrente della direttiva magic_quotes_runtime
- get_required_files — Alias di get_included_files
- getenv — Restituisce il valore di una variabile d'ambiente
- getlastmod — Restituisce la data dell'ultima modifica alla pagina
- getmygid — Restituisce il GID del proprietario dello script PHP
- getmyinode — Restituisce l'inode dello script
- getmypid — Restituisce l'ID del processo PHP
- getmyuid — Restituisce l'UID del proprietario dello script PHP
- getopt — Ottiene le opzioni dagli argomenti della linea di comando
- getrusage — Restituisce lo stato dell'utilizzo delle risorse
- ini_alter — Alias di ini_set
- ini_get_all — Restituisce tutte le opzioni di configurazione
- ini_get — Restituisce il valore delle opzioni di configurazione
- ini_restore — Ripristina il valore di un'opzione di configurazione
- ini_set — Imposta le opzioni di configurazione
- magic_quotes_runtime — Alias di set_magic_quotes_runtime
- main — Riferimento a main
- memory_get_peak_usage — Returns the peak of memory allocated by PHP
- memory_get_usage — Restituisce la quantità di memoria allocata dal PHP
- php_ini_loaded_file — Retrieve a path to the loaded php.ini file
- php_ini_scanned_files — Restituisce l'elenco dei file .ini leti dalla directory ini aggiuntiva
- php_logo_guid — Restituisce il guid del logo
- php_sapi_name — Restituisce il tipo di interfaccia tra il PHP ed il server web
- php_uname — Restituisce informazioni sul sistema operativo su cui gira il PHP
- phpcredits — Visualizza i credits per il PHP
- phpinfo — Visualizza diverse informazioni sul PHP
- phpversion — Restituisce la versione del PHP
- putenv — Imposta il valore di una variabile d'ambiente
- restore_include_path — Ripristina il valore dell'opzione include_path
- set_include_path — Imposta include_path
- set_magic_quotes_runtime — Imposta il valore attuale di magic_quotes_runtime
- set_time_limit — Limita il tempo massimo di esecuzione
- sys_get_temp_dir — Returns directory path used for temporary files
- version_compare — Confronta due stringhe contenenti il numero di versione di "PHP-standardized"
- zend_logo_guid — Ottiene il guid del logo Zend
- zend_thread_id — Returns a unique identifier for the current thread
- zend_version — Restituisce il numero di versione dell'engine Zend
gilthansNOSPAAM at gmailSPAAMBLOCK dot com ¶
8 years ago
Mark ¶
8 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.
Stephen ¶
5 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.
>>>
