0

Include multiple files with same name from other direction, php.

Hey all,
i have the code what (should) say to include from every directory in 'plugins' the file type admin.php.
But it doesn't work..
any1 a tip for me?


code:
$files = glob("plugins/*.*"); 
										for ($i=0; $i<count($files); $i++) { 
											$num = $files[$i]."/admin.php"; 
											include ($num);
										}

by
0 Replies

Recent Posts

in General Discussion at YDN