Jump to content

$show extensions ();


euroiplayer

Recommended Posts

Hello,
I need help with a line, I can't get it to show all the extensions instead of listing them one by one.









This is the code where you list all the file extensions which you want to be visible:
[quote][url=http://firlas722.100webspace.net/source0284.txt]http://firlas722.100webspace.net/source0284.txt[/url]
Line 14: $show_extensions = array( 'php' , 'htm' , 'html' , 'shtm' , 'shtml' , 'jpg' , 'jpeg' );
[/quote]

Can anybody help me with this?

Thanks
Link to comment
https://forums.phpfreaks.com/topic/29922-show-extensions/
Share on other sites

Here is the source code for those of you that want to view it.

[quote]http://firlas722.100webspace.net/source0284.txt
Line 14: $show_extensions = array( 'php' , 'php3' , 'htm' , 'html' , 'shtm' , 'shtml' , 'jpg' , 'jpeg' , 'png' , 'gif' , 'js' );
[/quote]

I would like Line 14 to view all files with all the type of extensions, not where I have to list them one by one.

Thanks

Link to comment
https://forums.phpfreaks.com/topic/29922-show-extensions/#findComment-137815
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.