View previous topic :: View next topic |
Author |
Message |
phirez -
Joined: 22 Apr 2006 Posts: 57
|
Posted: Sat Jul 08, 2006 8:16 pm Post subject: Custom file extensions |
|
|
This tutorial shows you how instead of a html script having a .html extension it can have a custum extension such as .abyss
1. Go to the console -> sever configuraton -> mimetype -> add
2. Enter text/html for mime type and .abyss (or your custom name)
3. Open up one of your .html files in notepad
4. File -> Save as ->
5. Save as "filename.abyss" WITH THE QUOTES |
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Jul 08, 2006 9:05 pm Post subject: |
|
|
This can also be done for php (or any other scripting language file). Simply change the .php extension related to the interpreter to whatever file ending you will put your php code in. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
cmxflash -
Joined: 11 Dec 2004 Posts: 872
|
Posted: Sun Jul 09, 2006 6:35 am Post subject: |
|
|
This technique is pretty usefull in school when we're suppose to write some stupid ASP-/JSP-/Whatever-application, and instead use PHP with expose_php set to off.
The teachers usually are too lazy to check out the real source code, as long as the extension ends up with .asp and the page works.
Last edited by cmxflash on Tue Jul 11, 2006 1:00 pm; edited 1 time in total |
|
Back to top |
|
 |
Tom Chapman -
Joined: 09 Jul 2005 Posts: 933 Location: Australia
|
Posted: Sun Jul 09, 2006 1:23 pm Post subject: |
|
|
lol cmx, your so sneaky! I would probably change the extensions of all my php to soemthing technical but I would have to change links and so forth as well... |
|
Back to top |
|
 |
|