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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.