test pages

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)

reference

test.asp

<html>
<% response.write(”test”) %>
</html>

Cold Fusion

reference

test.cfm

<html>
<cfset testVar = “test”>
<cfoutput>
#variables.testVar#
</cfoutput>
</html>

PHP: Hypertext Preprocessor (PHP)

reference

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)

reference

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>

Comments are closed.