Custom file extensions

 
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials
View previous topic :: View next topic  
Author Message
phirez
-


Joined: 22 Apr 2006
Posts: 57

PostPosted: Sat Jul 08, 2006 8:16 pm    Post subject: Custom file extensions Reply with quote

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 View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sat Jul 08, 2006 9:05 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Sun Jul 09, 2006 6:35 am    Post subject: Reply with quote

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 View user's profile Send private message
Tom Chapman
-


Joined: 09 Jul 2005
Posts: 933
Location: Australia

PostPosted: Sun Jul 09, 2006 1:23 pm    Post subject: Reply with quote

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 View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Tutorials All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group