I got some trouble with in_array()
$list = array(
"files/" => "/system/application/files/_index.php",
"misc/chat/" => "/system/application/misc/chat/_index.php"
);
I have this $_GET['f']
which holds the string files/
.
How can I search through the array for possible matches?
If the string is found in the array, then the file should be included
Thanks for any help :)