Types of files

Wizet

New Member
Messages
644
Reaction score
0
Points
0
There are some files on some websites that arent html nor php related here are some of them:

***.nhn
***.aspx

If there are some other then post below and I will edit them into this thread. The question is what type of files are these and how they can be used.
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
.aspx = active server page.
.nhn = Have no idea
.pl = pearl
.py = python
 

Dan

Active Member
Messages
1,258
Reaction score
0
Points
36
What is the 's' in .shtml?
Also, you can change all your file types to anything you want in your .htaccess file, so some file types may not be real.
 

Hazirak

New Member
Messages
197
Reaction score
0
Points
0
What is the 's' in .shtml?
Some servers are configured so that they don't parse SSI statements (basically short-hand PHP include statements) unless the 's' is there.

.cgi is CGI

Pretty sure I've seen a ".rb" (Ruby) once too.
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
What is the 's' in .shtml?
Also, you can change all your file types to anything you want in your .htaccess file, so some file types may not be real.


S is for Server-generated Hyper Text Markup Language. Pretty much if I'm not mistaken it's used for things such as PERL/CGI files that need to be created by the server, but the server cannot do it using the regular html format.
 

Mitch

New Member
Messages
908
Reaction score
0
Points
0
S is for Server-generated Hyper Text Markup Language. Pretty much if I'm not mistaken it's used for things such as PERL/CGI files that need to be created by the server, but the server cannot do it using the regular html format.

Like displaying your ip and browser on shtml with server codes.
Code:
<!--#echo var="HTTP_REFERER" -->
<!--#echo var="REMOTE_ADDR" -->
<!--#echo var="REQUEST_URI" --> 
<!--#echo var="HTTP_HOST" --> 
<!--#echo var="HTTP_USER_AGENT" --> 
<!--#echo var="REDIRECT_STATUS" -->
 
Last edited:

anirtak143

New Member
Messages
213
Reaction score
0
Points
0
there are a million filetypes in the world... the format is not just based on the filename, but how it was built and what it contains...
 

kkenny

Active Member
Messages
1,950
Reaction score
0
Points
36
.html
.htm
.shtml
.shtm
.xhtml
.xhtm
.dhtml
.dhtm

.js
.ibf
.php
.pl
.rb
.asp
.aspx
.py
.css
.txt

Theirs quite a few :]
 

cursedpsp

New Member
Messages
237
Reaction score
0
Points
0
What is the 's' in .shtml?
Also, you can change all your file types to anything you want in your .htaccess file, so some file types may not be real.

the "s" stands for script. Its a server sided language for HTML.

some others are
.jsp - Java Server Pages
.asp - Active Server Pages
.aspx (asp+) - Active Server Pages (Uses the .Net Framework)
.shtml - Scripted HTML
.php - PHP: Hypertext Prepropressor
.cfm - ColdFusion
.css - Cascading Style Sheet
.txt - Text


You can make up your own version of a file - Just make sure you have the DocType included and also that it is formatted properly.
 
Top