downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

php_ini_scanned_files> <memory_get_usage
Last updated: Fri, 27 Nov 2009

view this page in

php_ini_loaded_file

(PHP 5 >= 5.2.4)

php_ini_loaded_fileYüklü php.ini dosyasının dosya yolunu döndürür

Açıklama

string php_ini_loaded_file ( void )

Bir php.ini dosyası yüklü mü diye bakar ve dosyanın yolunu döndürür.

Değiştirgeler

Bu işlevin değiştirgesi yoktur.

Dönen Değerler

php.ini yüklüyse dosyanın yolu, değilse FALSE döner.

Örnekler

Örnek 1 - php_ini_loaded_file() örneği

<?php
$inipath 
php_ini_loaded_file();

if (
$inipath) {
    echo 
'Yüklü php.ini: ' $inipath;
} else {
    echo 
'Bir php.ini dosyası yüklü değil';
}
?>

Yukarıdaki örnek şuna benzer bir çıktı üretir:

Yüklü php.ini: /usr/local/php/php.ini

Ayrıca Bakınız



add a note add a note User Contributed Notes
php_ini_loaded_file
There are no user contributed notes for this page.

php_ini_scanned_files> <memory_get_usage
Last updated: Fri, 27 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites