Setting up a form script


As far as forms go, once you've created a form you'll want to paste the following HTML into your code:

<form action="http://cgi.mpinet.com/cgi-bin/comments.exe/nul" method="post">
<input type="hidden" name="mailto" value="youremailaddress@yourdomain.com">
<input type="hidden" name="subject" value="This Is What Will Appear in your Subject Field">
<input type="hidden" name="nextpage" value="http://yourdomain.com/whatever.html">

The "mailto" variable should be changed to fit whichever email you want the form forwarded to. The "subject" variable should say whatever you want to appear in the subject field of the receiver's email message. The "nextpage" variable is the page that will appear after the form has been sent.

This program requires you to have a variable called "email". If that field doesn't exist or is left empty, you'll receive a standard, plain-looking CGI error. That is, unless you use the following code as well:
<input type=hidden name="required" value="email">
<input type=hidden name="errorpage" value="http://yourdomain.com/whatever.html">

Note:

This code will let you create a nicer-looking page that a user will default to if they don't fill-in a required field. You can make any of your variables required by typing their names in the "required" variable's value. The "errorpage" variable gives the URL of the page the user will be defaulted to, and it will correspond with whichever field they leave blank. Using the above code as an example, if you also had a variable called "name", you could include it in the value of the "required" variable (value="email,name"). If the user doesn't fill-in the name field of the form, they'll be sent to

http://home.mpinet.com/yourusername/name.html, a page which you must
create. For more documentation, please go to http://www.greyware.com/greyware/software/comments.htp


Setting up your counter

Paste the following counter script into your HTML:
<img src="http://cgi.mpinet.com/cgi-bin/counter/counter.exe?link=sample&style=odometer">

You must replace sample in the above script with your user name. You can use the style=odometer or replace odometer with any of the styles below:

style=amini style=timex style=kat107
style=lcd style=army style=kat150
style=57chevy style=odometer style=led
style=speckled     style=cali

Click here to contact us about our services.


Menu
Home | About Us | Contact Us | Product & Services | ISDN | Dial-up | DSL | T1 | Co-location | Web Hosting | FAQs | Internet Connectivity |
| Support | Tech Support | Web Page Support | Billing Support | Access Numbers | AUP |
Copyright 2003 - mpiNET, A Smart City Company - All rights reserved
Web Design by: 2MGdesigns