notes:

PHP function php terminator ASP function ASP terminator Additional ASP to be inserted at top of page Additional ASP to be inserted at bottom of page Flag Comments
echo %a% ;   Response.Write %a%          
strtolower ( %a% )   LCase ( %a% )          
// %X%#   ' %X%          
/* %X% */   ' multiline comment removed          
explode ( %a% , %b% )   split ( %b% , %a% )          
implode ( %a% , %b% )   join ( %b% , %a% )          
while ( %a% ) { } Do While %a% Loop        
while ( %a% ) %b% ;   Do While %a%
%b%;
Loop
         
do %a% while ( %b% );   Do
%a%
Loop While %b%
         
do { %a% } while ( %b% )   Do
%a%
Loop While %b%
         
if ( %a% ) { } If %a% then End If        
if ( %a ) %b% ; else %c% ;   If %a% then
%b%;
Else
%c%;
End If
         
if ( %a ) %b% ;  

If %a% then
%b%;
End If

         
for ( $%a% = %b% ; $%c% < %d%; $%e%++ ) { } For $%a% = %b% to %d% Next        
for ( $%a% = %b% ; $%c% < %d%; $%e%++ ) %f%;  

For $%a% = %b% to %d%
%f%;
Next

         
for ( %a% ; %b% ; %c% ) { } %a%
Do While %b%
%c%
Loop
       
for ( %a% ; %b% ; %c% ) %d% ;  

%a%
Do While %b%
%d%;
%c%;
Loop

         
print ( %a% )   Response.Write %a%          
mysql_query( %a% )              
} else {   Else          
} elseif (%a%) {   ElseIf %a%          
trim ( %a% )   Trim ( %a% )          
array ( %a% )   Array ( %a% )          
$%X% = mysql_connect ( %b% , %c% , %d% ) ;   Set objConn = Server.CreateObject("ADODB.Connection")
      odbc  
mysql_select_db ( %a% , %b% ) ;  
objConn.Open "odbc_name_of_connection_to_%a%"
    objConn.Close odbc  
header ( " location : %a% ");   Response.Redirect %a%          
strlen ( %a% )   Length ( %a% )          
urlencode ( %a% )   Server.URLEncode ( %a% )          
urldecode ( %a% )   URLDecode ( %a% )  

Function URLDecode(strString)
outgoing=Array("%91","%92","%96","%0D","%0A","%2F", "%7C","%3F","%21", "%40", "%5C", "%23", "%24", "%5E", "%26", "%2A", "%28", "%29", "%7D", "%3A", "%2C", "%7B", "%2B", "%2E", "%2D", "%7E", "%2D", "%5B", "%5F", "%5D", "%60", "%3D", "%27", "+", "%22","%25")
incoming=Array("'","'",",",chr(13),chr(10),"/","|","?","!", "@", "\", "#", "$", "^", "&", "*", "(", ")", "}", ":", ",", "{", "+", ".", "-", "~", "-", "[", "_", "]", "`", "=", "'", " ",Chr(34),"%")
For i = 0 to 35
strString = Replace(strString,outgoing(i),incoming(i))
Next
URLDecode = strString
End Function

     
function %a% ( %b% ) { } Function fn_%a% ( %b% ) End Function        
return ;              
return %a%;   $var_the_function_name = %a%          
str_replace ( %a% , %b% , %c% )   Replace ( %c% , %a%, %b% )          
strpos ( %a% , %b% )   InStr ( %a% , %b% )-1          
global %a% ;   Global_vars { %a% }         This is not a asp function - just a marker to find the global vars
$%X% .=%a%;   $%X% = $%X% & %a%          
$%X% = %a%;   $%X% = %a%          
chr (%a% )   chr( %a% )          
ord ( %a% )   asc ( %a% )          
$%X% ++   $%X% = $%X% + 1