While I worked in web hosting technical support, I made a collection of test
scripts to check to see if various interpreters were working.
Active Server Pages (ASP)
test.asp
<html>
<% response.write(”test”) %>
</html>
Cold Fusion
test.cfm
<html>
<cfset testVar = “test”>
<cfoutput>
#variables.testVar#
</cfoutput>
</html>
PHP: Hypertext Preprocessor (PHP)
test.php
<html>
<?php
print “test”;
?>
</html>
Practical Extraction and Report Language (Perl)
test.pl
#!/usr/bin/perl
use CGI qw(:standard);
print header,start_html,”test”,end_html;
Server Side Includes (SSI)
test.shtml
<html>
<!–#echo var=”HTTP_HOST” –>
</html>
eXtended Server-Side Includes (XSSI)
test.shtml
<html>
<!–#set var=”test” value=”test” –>
<!–#echo var=”test” –>
</html>