get_magic_quotes_gpc()
(funzione PHP) restituisce, con valore booleano, l’impostazione di configurazione corrente di magic_quotes_gpc: se off, 0; se on, 1 (in quest’ultimo caso, PHP esegue automaticamente addslashes()
sui dati GET, POST e COOKIE, pertanto addslashes()
causerebbe un doppio escape).
tips&tricks
Sintassi
get_magic_quotes_gpc()
parametro | descrizione |
---|---|
nessuno | – |
Esempi
echo get_magic_quotes_gpc() // 0
Contenuti correlati
- CSS
- HTML
- JavaScript
- jQuery
- PHP
- SQL
- WORDPRESS
0 Comment