Thread: Extensions

    #1
  1. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21

    Question Extensions


    Hi,

    I have the following in my list of extensions thus far and was wondering if anyone could fill in any I may have missed or forgotten, note that they are applicable to an Apache Server where PHP & MySQL are installed so your not likely to see to many ASP pages... but all suggestions would be appreciated.

    Web
    .php
    .php3
    .pl
    .cgi
    .htm
    .html

    Graphical
    .gif
    .jpeg
    .jpg
    .png

    Other File Types
    .zip
    .gz
    .tar
    .pdf

    I have searched around for a list somewhere but I'm not having much luck, but I'll keep trying

    TIA
    ---------------------
    -- SilkySmooth --
    ---------------------
    Proxy
  2. #2
  3. funky munky
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2001
    Location
    UK
    Posts
    1,446
    Rep Power
    16
    Hey silky - have you checked out your mime.types file in your apache dir? Not sure exactly where it'd be, on mine it's at /etc/httpd/conf/apache-mime.types.

    There's one I found online here:
    http://www.asahi-net.or.jp/en/guide/cgi/mimetype.html

    Still have to go through it though checking them off, but at least that list should* be comprehensive.
  4. #3
  5. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21
    Cheers mate, thats exactly what I have been looking for :-)
    ---------------------
    -- SilkySmooth --
    ---------------------
    Proxy
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2001
    Location
    London, UK
    Posts
    661
    Rep Power
    14
    .phtml
    .php4
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Posts
    8
    Rep Power
    0
    .shtml
  10. #6
  11. No Profile Picture
    php newbie
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2001
    Posts
    544
    Rep Power
    38
    .dhtml

    and what about .jsp?
  12. #7
  13. Newbie :P
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Jan 2001
    Location
    In the PHP Engine :-)
    Posts
    2,880
    Rep Power
    21
    Thanks people, that will keep me going for a while
    ---------------------
    -- SilkySmooth --
    ---------------------
    Proxy
  14. #8
  15. funky munky
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Jul 2001
    Location
    UK
    Posts
    1,446
    Rep Power
    16
    silkysmooth - I just stumbled across this code - looks worth saving, 'just in case' like:
    http://inebria.com/mime_lookup/

IMN logo majestic logo threadwatch logo seochat tools logo