Tellnet PHP Form.
This is a powerful tool you can set-up in minutes if you have just a very basic understanding of HTML.
We've created a special new PHP script - FREE for Tellnet customers - that makes it easy to add a form to your website to send you enquiries.
Unlike 'standard' CGI form scripts, you can customise this with as many fields, checkboxes and drop-down menus as you like - and adapt it to your needs - using only simple HTML modifications.
You can Add as many fields as you like and choose your own fieldnames e.g. name, address etc. The form verifies user-defined fields (you choose which fields are compulsory) ensuring you receive complete information. We have provided an example HTML code for you to adapt in a simple text editor like Notepad or full HTML building software like Dreamweaver or Frontpage etc.
All you need to do is to follow our step-by-step guide below:
How to do it :
How to configure your own CGI / Perl scripts.
For the more adventurous, your Tellnet website can also run powerful CGI scripts. There are hundreds of low or no-cost sources on the Internet, including the excellent Matt's Script Archive and cgi.com. You can use or adapt these Perl scripts to create enquiry forms, hit counters, bulletin boards, banner managers, chatrooms, databases, e-commerce applications and much more.
To install and configure your Perl scripts on a Tellnet sever, you'll need to follow these simple but critical settings.
Many servers require that you put your Perl scripts into a special folder named 'cgi-bin'. This is NOT the case on Tellnet servers - you can place your script files anywhere on your webspace. However, you should NOT create a folder called 'cgi-bin'.
System Path to Perl Interpreter
Sounds more complicated than it is - this is simply the first line in your Perl script. It should look like this:
System Path to Sendmail Program
If your script sends e-mail messages, there will be a line in the script that should look like this:
$mailprog = '/usr/sbin/sendmail -t';
Sometimes the ' -t ' part of the address appears later in the script in a line like this:
In such cases, the (earlier) mailprog line should look like this:
$mailprog = '/usr/sbin/sendmail';
Typically the only part of this line you will need to check is the usr/sbin/sendmail part.
GENERAL NOTES ON PERL SCRIPTSAlmost every Perl script you download from the Internet will have a README file with it that explains how to set it up. There are also three golden rules about setting up Perl scripts.
Perl scripts are text files, but because they are programs that run on an Unix system, they need to be edited in a specialist text editor, such as TxEdit, and saved in Unix format. Notepad and Word are not suitable tools for this.
Upload in ASCII
When you upload your script to your webspace, always use 'ASCII' not 'Binary' or Auto' settings.
Setting CHMOD permisions:
When you have uploaded your script, you will need to use your FTP program's CHMOD function to enable the script as an executible program. This is typically 755 for a script and 777 for a file that will be written to by a script - such as a counter file.
You will need a FTP program such as WSFTP to better manage your script uploading in ASCII and CHMOD permissions.
TxEdit and WSFTP
These programs are not free but fully working trial versions can be downloaded from sites such as Download.com.