|
![]() |
| |
![]() |
Programming Features add interactivity to your site. To cite a common example; As my ship steers into various ports and destinations I ask all passengers to sign the guest book before disembarking. Now you have a site and you want that your site visitors should give feedback and sign a guest book, for which you can upload a simple programme. For this you will need to execute a form.pl script. |
1. What is Form Mail Script ? FormMail is a universal WWW form to E-mail gateway. There is only one required form input tag which must be specified in order for this script to work with your existing forms. Other hidden configuration fields can also be used to enhance the operation of FormMail on your site. Version 1.6 of FormMail contains a few minor bug fixes, optimized code and more comments. The biggest change in this version is that by default, form fields are now sorted as they appear in the form. Error pages were also beautified a little and two new configuration fields were created. Read the History for a more complete list of changes. The script, FormMail.pl, needs to be placed in your server's cgi-bin and the anonymous WWW user must have the ability to read/execute the script. If you do not have access to your server's cgi-bin, yet you can execute cgi scripts, you may want to try adding a .cgi extension to the FormMail.pl, so you could move it to FormMail.cgi.
2. We are hosted with Pugmarks we want the location of script to upload formmail script The script is www.pugmarks.com/cgibin/formmail.pl this script can be executed by cgi commands.
The commands and specifications to be used with the formmail.pl file.
Instructions:
Specify the following through the form properties in your front-page.
- Give the form action as http://www.pugmarks.com/cgi-bin/form.pl, to your HTML form.
- Specify three hidden tags, which are- For email recipient, give name=recipient and value=email-id.
- This form field allows you to specify to whom you wish for your form results to be mailed. Here give value equal to that of your e-mail address..
- Next, give name=redirect and value=URL
- If you wish to redirect the user to a different URL, rather than having them see the default response to the fill-out form, you can use this hidden variable to send them to a pre-made HTML page Here give value equal to the URL, you want the user to be redirected to.
- Next, give name=subject and value=any subject. The subject field will allow you to specify the subject that you wish to appear in the e-mail that is sent to you after this form has been filled out. If you do not have this option turned on, then the script will default to a message subject: WWW Form Submission Here give value equal to the any subject.
- You can give any number of form field s in your form, please be careful of one particular field called Field: email Description: This form field will allow the user to specify their return e-mail address.
- If you want to be able to return e-mail to your user, We suggest that you include this form field and allow them to fill it in. This will be put into the From: field of the message you receive.
- Syntax: <input type=text name="email">
1. What is CGI ? CGI (Common Gateway Interface) scripts add interactivity to your website. CGI scripts allow you to collect information from your visitors with forms, make your site searchable, run an online message board, and much more. You can write your own scripts in Perl, use the many scripts that are pre-installed on your server, or download others from the Web.
2. How to access CGI BIN and how to execute your CGi scripts. First of all you create a directory under your web directory by the name of 'cgi-bin', where u should upload all your scripts. For the perl interpreter you should put the first line as :- #!/usr/bin/perl.
Now if you want this script to be executed in the browser give the rights to the file as 755. You can give rights to your cgi file even through ftp.
Just right click on the file and choose chmod. It will open a small popup where u can give Owner, Group Other permissions. For 755, under Owner choose Read Write checkboxes. Under Group choose Read. Under Other choose Read.
3. Where can I get more Perl and/or CGI scripts? The CGI Resource Index
Script Search
Matt's Script Archive
4. Where can I learn more about Perl?
http://www.perl.com
What Programming features do we offer?
We an provide Chat Rooms - Personal/One-to-one, BBS Message Boards ,E-Greetings, Font Solutions, Search/ internal search, Scheduler diary, cost configurations, currency calculators, income tax calculators, Shopping Carts-as part of E-Commerce Solutions, opinion polls, subscription lists, and more.
|
| Web Promotion | About Pugmarks | Payment | Who to Contact | Our Office | Forgot Your Password | Glossary | | Query Us | Suggestions | Support Form |Free Site Counters| Other Services | Home | Brought to you by: Pugmarks
Interweb Pvt. Ltd. |