IP Plus Internet Services Swisscom (Switzerland) Ltd
 Services     Options     Our Network    Technical Info    Tools     Customer Care  
IP Plus Internet Services My.IP-Plus Swisscom (Switzerland) Ltd Sitemap Contact English German Français Italiano
Cert Team
Acceptable Use Policy (AUP)
Route filtering policy
DNS
Mail
Web Hosting
Directory structure
Manage
CGI scripts
FAQ
News
IP addressing & routing
IP-Multicast
Changing provider
New Internet access
Safety & firewalls
Various info
FAQ
Using preinstalled CGI scripts
 

Counter

In order to have an access counter on your page, you need to include the following tag on your page:

<img src="/cgi-bin/counter.cgi?params">

Where params are compatible with Muquit's Count.cgi. In the current version, the following parameters are implemented:

df counter data file
dd digit directory (can be A, B, D , C, E or F)
md maximum number of digits to display
ft frame thickness
lit show literal string
srgb change source color...
prgb ... to pen color
trgb transparency color
frgb frame color
pad left pad with zeros or not
st start count number
sh show the counter or keep it hidden
tr transparency color on or off

Please, see the original page for a precise description of the parameters.

NB. Our counter generates .PNG images and some browsers may not support the transparent option.

 

Forms Processor

The form processor is the standard Matt's FormMail. In order to use it, you have to define a form with the following tag:

<form action="/cgi-bin/formmail2.cgi"
name="form"
enctype="application/x-www-form-urlencoded"
method="POST">

For more information, please, see the  README file of FormMail.

Due abuse of the form processor by spammers we needed to introduce additional security.

1. The script cannot be used from outside your server by hotlinking to the CGI. The calling page must be on your server.

2. You have to define recipient mail addresses in a local text file "mailallow.txt". This file must be placed in your servers document root and needs to be readable from http server (public read). The format is one mailaddress (name@domain.tld) per line. Therefore recipient address must be defined inside calling html page as hidden field and in the file mailallow.txt in your servers document root.

 

Guestbook

Our guestbook is the Matt's Guestbook.

If you want a guestbook, you have to install it in the /guestbook directory on the server. You need the following two files:

/guestbook/guestbook.html, containing the following line:

<!--begin-->

/guestbook/addguest.html, containing a form like:

<form method="POST" action="/cgi-bin/guestbook.cgi">
  Your Name:<input type="text" name="realname" size="30"><br>
  E-Mail: <input type="text" name="username" size="40"><br>
  URL: <input type="text" name="url" size="50"><br>
  City: <input type="text" name="city" size="15">,
  State: <input type="text" name="state" size="2">,
  Country: <input type="text" value="USA" name="country" size="15"><p>
  Comments:<br>
  <textarea name="comments" COLS="60" ROWS="4"></textarea><p>
  <input type="submit"> * <input type="reset">
</form>

For more information, please, see the  README file of Guestbook

You can find examples of these scripts on our server.