|
Posted by Tyrone Slothrop on 08/12/05 17:00
On Fri, 12 Aug 2005 13:17:46 GMT, Phil McKraken <tingtejs@hotmail.com>
wrote:
> I have a php file browser/manager that works great BUT
>
>how do I stop it from displaying any file types except images ? In
>other words it puts itself in the files list which means it can be
>remaned or deleted by this php file manager and I would like to
>eliminate that possibility by restricting the program to NO display
>the files with php extension.
>
>Any way to do this ?
>
>Thanks
if (substr(strrchr($filename, "."), 1) != 'php') {
# display
}
Navigation:
[Reply to this message]
|