Archive
ASP Forms and User Input
User Input The Request object can be used to retrieve user information from forms. Example HTML form <form method=”get” action=”simpleform.asp”> First Name: <input type=”text” name=”fname” /><br /> Last Name: <input type=”text” name=”lname” /><br /><br /> <input type=”submit” value=”Submit” /> </form> User input can be retrieved with the Request.QueryString or Request.Form command. Request.QueryString The Request.QueryString command [...]
ASP Procedures
In ASP you can call a JavaScript procedure from a VBScript and vice versa. Procedures The ASP source code can contain procedures and functions: Example <html> <head> <% sub vbproc(num1,num2) response.write(num1*num2) end sub %> </head> <body> <p>Result: <%call vbproc(3,4)%></p> </body> </html> Insert the <%@ language=”language” %> line above the <html> tag to write the procedure/function [...]
ASP Variables
Lifetime of Variables A variable declared outside a procedure can be accessed and changed by any script in the ASP file. A variable declared inside a procedure is created and destroyed every time the procedure is executed. No scripts outside the procedure can access or change the variable. To declare variables accessible to more than [...]
ASP Basic Syntax Rules
In our ASP tutorial, every example shows the hidden ASP source code. This will make it easier for you to understand how it works. Write Output to a Browser An ASP file normally contains HTML tags, just like an HTML file. However, an ASP file can also contain server scripts, surrounded by the delimiters <% [...]
CodeAvalanche AdSenseRotator
CodeAvalanche AdSenseRotator is asp script which allows webmasters to easy rotate different AdSense styles on daily bases, each day of the week different predefined style can be shown without need of changing your asp pages at the end of week or testing period the best performing style can be set for permanent. Visit …
GkNscripts Banner Lite
Free Simple Ad Rotator Script
Ikon Ad Manager
Free Simple Ad Rotator
SourceThis is a set of ASP scripts that allows you to show to your visitors different ads each time they access a page from your server. The system is based in three different pages: global.asa that will be assigned a variable name session(“ad”) with a given value (0) each time a new visitor requests a [...]
