get_included_files() 
Zwraca tablice array z nazwami załączonych lub wymaganych plików. Pobiera wszystkie pliki, które wykorzystują include(), include_once(), require() lub require_once().
 Pliki, które są włączone lub wymagane wiele razy pojawiają się tylko raz w zwróconej tablicy.
Uwaga: Pliku używające auto_prepend_file nie będą wyświetane w tej funkcji.
Kompatybilność: PHP4, PHP5.
Listing
<?php
// to jest plik o nazwie abc.php
include 'test1.php';
include_once 'test2.php';
require 'test3.php';
require_once 'test4.php';
$included_files = get_included_files();
foreach ($included_files as $filename) {
echo "$filename\n";
}
?>
//zwróci np:
abc.php
test1.php
test2.php
test3.php
test4.php
        	// to jest plik o nazwie abc.php
include 'test1.php';
include_once 'test2.php';
require 'test3.php';
require_once 'test4.php';
$included_files = get_included_files();
foreach ($included_files as $filename) {
echo "$filename\n";
}
?>
//zwróci np:
abc.php
test1.php
test2.php
test3.php
test4.php
Dodano przez: divix  
Ranga: Administrator serwisu Punktów: 0
Ranga: Administrator serwisu Punktów: 0
Komentarze użytkowników
:: Losowe artykuły 

:: Wymiana linków 
    
	Modowe inspiracje |
        Android Gry i Aplikacje |
        ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
        Logo dla firmy |
        Change Tires - Car Weather Forecast Reminder |
        Laminas: MVC Framework for PHP |
        IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS | 
        Katalog roślin |
        Programming articles: JAVA, PHP, C++, Python, JavaScript |
        Kancelaria Adwokacka Łukasz Huszno
        
    

 
  
				

 
                             
 


 
                        
 
		 
	