Help Pages > Hosting Services > Webspace > Webspace Scripts

Webspace Scripts

Web
Keywords: webspace | cgi | scripts Summary: There are two pre-configured scripts available for you to use with your webspace, here's how to use them.
Select your provider?
Our website now provides help and support to customers of Plusnet, Force9 and Free-Online. Please select your provider using the drop-down menu and you will be provided with the technical support details that are appropriate to you.
  1. Email Form Script
  2. Web Counter Script

1. Email Form Script

This script allows you to put a form on your web page. Information entered into the form and submitted will be sent to you by email. You will need to insert the following HTML into your page - the elements highlighted in bold should be changed to your own personalised settings.

Start the form - this is required.

<form method="post" action="http://homepages.plus.net/cgi-bin/form">
<input type="hidden" name="recipient" value="e-mail address" />
<input type="hidden" name="subject" value="feedback from my web page" />
<input type="hidden" name="realname" />

Note that the email address used on the 'recipient' line must be your Plusnet address. Addesses for other service providers won't work with this script.

Add a text box - you can have as many as you like, provided they all have different names. By using email as the field name, whatever is entered will be the from address on the form response e-mail.

<input type="text" size="xx" maxlength="xx" name="form field name" />

Add a check box input - select as many options as you like:

<input type="checkbox" name="checkbox" value="option 1" />
<input type="checkbox" name="checkbox" value="option 2" />
<input type="checkbox" name="checkbox" value="option 3" />

Add a radio button input - only one option can be selected:

<input type="radio" name="radio" value="option 1" />
<input type="radio" name="radio" value="option 2" />
<input type="radio" name="radio" value="option 3" />

Add a drop down list - again, only one option can be selected:

<select name="select option">
<option>Pick this one</option>
<option>Or pick this one</option>
<option>Or even pick this one</option>
</select>

Add a text area for longer input, such as comments and messages:

<textarea rows="xx" cols="xx" name="text area">Enter some standard text here
if you wish</textarea>

Now we can submit the form - don't forget this line, it's the most important one!

<input type="submit" value="Submit form">
<input type="reset" value="Clear form">

Finally, end the form:

</form>

Make it secure

If you wish to use a secure form to collect sensitive information, you can do so using https:// instead of http:// both in the code for the form and to reference the page containing the form; i.e. use <a href="https://homepages.plus.net/username/form.html"></a> to link to the page and <form method="post" action="https://homepages.plus.net/cgi-bin/form"> in the form page source. The homepages.plus.net/username version of your web address must be used.

[Top]

2. Web Counter Script

To put a hit counter on your page, the HTML you require is:

webcounter script start

We also have a selection of other counters available, they are accessed in a similar manner, apart from the address of the counter is slightly different. All of the counters use the same log file, so if you change the style of your counter, then you won't lose all of your hard earned hits.

webcounter script start2

webcounter script start3

webcounter script start4

webcounter script start5

webcounter script start6

webcounter script start7

webcounter script start8

webcounter script start9

Note that the final counter is 50% of the actual size.

[Top]

This page last updated 31st March 2010

Rate this page
happy   neutral   unhappy
Has this page helped you solve your problem? Your feedback helps us to improve the help we provide.

Please note: We cannot reply to individual feedback through Rate My Page. If you need more help with a problem please use the Help Assistant. Other customers will be happy to help you with most issues at the Community Site Forum.

Products

Business Solutions

Member Centre

Community

Help & Support

Company

We sell broadband and phone to homes and businesses in the UK. We won "Best Value Home Broadband" in the Top 10 Broadband Awards 2009.

† The uSwitch Customer Satisfaction Survey 2009 reported that 79% of Plusnet users would recommend us to a friend.

© Plusnet plc All Rights Reserved. E&OE