.php extension

Forums Ideas .php extension

This topic contains 4 replies, has 4 voices, and was last updated by  BuckieBear 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • faab007
    Member

    Allow us to change the extension from .html to .php

    Chris Hackwood
    Member
    Valued

    Been asked many time – hasn’t happened yet. Don’t think it will natively.

    RichardS
    Member

    there are two ways around this:

    1.use htaccess to let html files run as php
    try:
    AddType application/x-httpd-php .html .htm
    or
    AddType application/x-httpd-php5 .html .htm

    1. create a .bat file (php.bat) in a text editor and put the following in and save:
      set arg1=%1
      cd %arg1%
      del *.php
      ren *.html *.php

    then in the export > advanced menu, link the php.bat file in the export script box

    The first option is probably the best, as any links created in bbs will still be to .html

    faab007
    Member

    the .bat file deleted every .php file.
    I lost all my files

    BuckieBear
    Member

    If you didn’t back up before(ever) trying the above method, you just learnt a very important lesson.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.