Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2006
    Posts
    70

    Making .gif work as .php

    How would I make the .gif work as php on the server?

  2. #2
    Join Date
    Aug 2006
    Location
    Richmond, BC, Canada
    Posts
    19
    Set the MIME type in .htaccess if you are using Apache.

    Meisam

  3. #3
    Join Date
    Jul 2006
    Posts
    70
    Could you give me an example please?

  4. #4
    Join Date
    Aug 2006
    Location
    Earth
    Posts
    30
    A MIME type can be added by creating a file called .htaccess in the directory containing the document you want to set the MIME type for. The file should contain a line in the following format:

    AddType mimetype ext

    Where mimetype is a MIME type like application/futuresplash and ext is a file extension like gif

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •