![]() |
|
|
|
|
|||||||
| HTML / Design Are you a designer? Or just trying to become one? Great! You'll be able to talk about layouts, and HTML code to help your fellow designers, so everyone can work together to master the tricks of the trade. (Maybe even some JavaScript too!) |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a master site and I am using cgiemail to process a form. It works great and I like the template ability to give me a formatted email. But ...
I struggled when I tried to add a form to an add-on domain using cgiemail. And support seems to have no clue. They said that maybe it couldn't be done and I should pursue a PHP approach. What I found works is this: Assume the main domain is main.com Assume the add-on domain is addon.org Assume the template is join.txt Assume the success screen is jointy.shtml You'll have to view the rest in the next segment. This forum is chopping off my posts. (Hmmm. Seems the forum breaks on the word "action" used without quotes) Paul Custom Support - Welcome Last edited by Paul Hunt; 02-15-2008 at 01:20 PM. |
|
#2
|
|||
|
|||
|
In the form tag you'll code the "action" as:
http://main.com/cgi-bin/cgiemail/addon.org/join.txt In the hidden redirect (success) field code the "value" as: http://addon.org/jointy.shtml It appears you must use cgiemail in the main domain and reference it explicitly. ../cgi-bin/cgiemail does not work copying cgiemail to the add-on domain cgi-bin folder does not work |
|
#3
|
||||
|
||||
|
Hi Paul,
Why don't you use PHP mail form? ![]() ...cgi is complex |
|
#4
|
|||
|
|||
|
cgiemail is already installed. It allows me to set up a template to report the form results in the order that I want to see them for database entry (as opposed to the order that is best for the visitor to enter things in). Plus I can add supporting information to each field, as opposed to having it just report, for example, Yes or No.
I looked at formmail, but it doesn't (yet) have templates. Except for the issue with add-on domains, using cgiemail was easy. |
![]() |
| Tags |
| addon, cgiemail, domain, form, handling |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirect main domain to a subdirectory. | jican | Shared Hosting | 3 | 01-15-2010 11:22 AM |
| How do I add unregistered domains? | jcarvin | Shared Hosting | 4 | 04-18-2008 12:57 PM |
| Add-on domain | jasm1412 | Shared Hosting | 7 | 03-25-2008 04:03 AM |
| ICANN Domain Transfer procedures | james | Shared Hosting | 0 | 01-04-2008 08:31 AM |
| Domain Setup | marcOpolo | Virtual Private Servers (VPS) | 2 | 10-16-2007 06:02 PM |