[script library]

We have assembled a number of applications that you may wish to include on your web site.


Simple Form Mailer

Purpose:

Collects all input data of a form and sends it to an email address. Upon success, displays a confirmation page.

Acknowledgements:

© 2005-2007, Argos Networks 

Usage:

Call the script in the <form action=...> property. Include parameters as either hidden or input fields, depending on your needs.

<form method="POST" action="/Scripts/Mailer.asp">
<input type="hidden" name="_to" value="YourEmail@YourSite.com" />
<input type="hidden" name="_nextpage" value="http://www.YourSite.com/ThankYou.htm" />
<input type="hidden" name="_subject" value="Choose Any Subject" />
<!-- Place your visible input fields here-->
...
Email: <input type="text" name="_reply" size="35" maxlength="50" />
...
<input name="btnSubmit" type="submit" value="Submit" />
</form>

Notes:

  • The optional _reply parameter typically would be an input field where a visitor enters their email address.

  • The _nextpage parameter is an optional URL to a confirmation page.

  • The _to parameter is required and may contain multiple email addresses, separated by a semicolon.

  • Fields with names that start with “btn” or “_” will be omitted from the email.

Form Mailer with reCAPTCHA

Purpose:

Displays reCAPTCHA validation, collects all input data of a form and sends it to an email address. Upon success, displays a confirmation page.

Acknowledgements:

© 2005-2008, Argos Networks
© 2008 Carnegie Mellon University

Usage:

Obtain a reCAPTCHA private/public key pair for your domain name by registering at www.reCAPTCHA.net. Add two lines of ASP code at the beginning of your page and save your page with the filetype ".asp".
Call the script in the <form action=...> property. Include parameters as either hidden or input fields, depending on your needs. Add one line of ASP code, specifying your private/public key pair, at the location where you want the reCAPTCHA validation box to appear. Typically, that would be at the bottom of the form.

<%@ LANGUAGE = JScript %>
<!-- #include virtual="/Scripts/Includes/reCAPTCHA.inc" -->
<html>
<body>
...
<form method="POST" action="/Scripts/Mailer.asp">
<input type="hidden" name="_to" value="YourEmail@YourSite.com" />
<input type="hidden" name="_nextpage" value="http://www.YourSite.com/ThankYou.htm" />
<input type="hidden" name="_subject" value="Choose Any Subject" />
<!-- Place your visible input fields here-->
...
Email: <input type="text" name="_reply" size="35" maxlength="50" />
...
<% =reCAPTCHA( "Your_Public_Key", "Your_Private_Key" ) %>
<input name="btnSubmit" type="submit" value="Submit" />
</form>

Notes:

  • The optional _reply parameter typically would be an input field where a visitor enters their email address.

  • The _nextpage parameter is an optional URL to a confirmation page.

  • The _to parameter is required and may contain multiple email addresses, separated by a semicolon.

  • Fields with names that start with “btn” or “_” will be omitted from the email.


Hit Counter

Purpose:

Counts and displays number of people visiting a page.

Home Page:

http://www.muquit.com/muquit/software/Count/Count.html

Setup:

Contact Argos Networks to set up the counter and generate a Counter ID.

Usage:

  • To increment and display counter:
    <img src="/Scripts/Count.exe?df=[Your Counter ID].dat|ft=0" alt="[Hit Counter]">

  • Hidden Counter (increment only, no display):
    <img src="/Scripts/Count.exe?df=[Your Counter ID].dat|sh=0" alt="[Hidden Counter]">

  • Display Hidden Counter (does not increment):
    <img src="/Scripts/Count.exe?df=[Your Counter ID].dat|ft=0|incr=0" alt="[Counter Status]">
    or view your hidden counter on our web site.

Notes:

To avoid "cheating", the counter will not increase if repeated visits come from the same IP address.


Referral Page

Purpose:

Redirect a visitor to a different page or site.

Home Page:

http://www.Argos.net/Support/WebAdmin/ReferTo.shtm

Acknowledgements:

© 1999, Argos Networks 

Setup:

Click your right mouse button on this link http://publish.Argos.net/Public/Samples/ReferTo.htm, then choose to save or download it to your local disk.

Usage:

  • Rename ReferTo.htm as necessary.

  • Replace the occurrences of www.YourWebSite.com with the address to which you would like to refer your visitors to.


Referral Counter

Purpose:

Click-through counter for Hyperlinks.

Acknowledgements:

© 2000, Argos Networks 

Setup:

Edit any pages with hyperlinks you would like to track and insert the referral counter script into the HREF field.

Usage:

  • Change the hyperlinks you like to track by inserting the referral counter script:
    <a href="/Scripts/ReferCount.asp?to=http://Publish.Argos.net">
    This link will be tracked</a>
  • To group destination URLs, add &Type=nn (nn = 0-99)
  • To view the counters for your site, visit:
    http://www.YourSite.xxx/Scripts/ReferCounters.asp?Type=nn
     
    (if Type is omitted, then all destination URLs will be displayed.)

Banner Ad Rotation

Purpose:

Manages and displays banner advertisements, complete with online tracking.

Home Page:

http://awsd.com/scripts/webadverts/

Setup:

Contact Argos Networks to set up an ad zone and your banner ads.

Usage:

  • Pick a unique page number for every page or location where you want ads to appear.
  • To display banner ads from your assigned zone:
    <script Language="JavaScript" SRC="http://Publish.Argos.net/WebAdverts/ads.pl?jscript;zone=Argos">
    </script>
    <noscript>
    <a href="http://Publish.Argos.net/WebAdverts/ads.pl?banner=NonSSI;zone=Argos;page=01">
    <img src="http://Publish.Argos.net/WebAdverts/ads.pl?zone=Argos;page=01"
    alt="[Banner Ad]" border="0"></a>
    </noscript>
  • To display only a specific banner ad, use the "setdest" option:
    <a href="http://Publish.Argos.net/WebAdverts/ads.pl?banner=NonSSI;setdest=argosnetworks;page=01">
    <img src="http://Publish.Argos.net/WebAdverts/ads.pl?setdest=argosnetworks;page=01"
    alt="[Banner Ad]" border="0"></a>
  • To view your ad statistics:
    http://publish.Argos.net/WebAdverts/ads_admin.pl

Membership System

Purpose:

Restricts access to certain pages or directories to registered users.

Setup:

Contact Argos Networks to set up directory restrictions and to create your membership database.

Acknowledgements:

© 1999, Argos Networks 

Usage:

  • To enroll, use the URL /Scripts/Membership/Enroll.asp .

  • In case of a forgotten password, use the URL /Scripts/Membership/ForgotPassword.asp .

  • To change a password, use the URL /Scripts/Membership/ChangePassword.asp .

  • To remove a user, use the URL /Scripts/Membership/Revoke.asp .

Notes:

Our programming staff may need to customize these scripts to the specific needs of a particular web site (e.g., paid-for membership). Please contact us with your complete requirements for a quote.


This page was last updated on 08/01/99 12:46:43 AM.
? 1998, 1999,  H&M Systems Software,  Inc.