ini_get

Definisi

Untuk mendapatkan nilai konfigurasi dari PHP.ini

Syntax:

ini_get(nama_konfigurasi)

<?php

echodisplay_errors = ‘ . ini_get(‘display_errors’) . “\n“;
echoregister_globals = ‘ . ini_get(‘register_globals‘) . “\n“;

?>

Di php.ini saya,ini menghasilkan:

display_errors = On
register_globals = Off

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *