| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Fri Jun 16, 2006 1:51 am Post subject: FormMail |
| |
has anyone got Matt's FormMail clone to work.
With the old CGI mail I had a link embedded in Flash that said
http://www.website.com/cgi-bin/cgiemail/message.txt ",0,'POST'
where the message.txt was the file used to hold the e:mail message and substitute the variables. Would the code be the same or similar, ie/ replacing the cgiemail bit? _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Fri Jun 16, 2006 9:14 am Post subject: |
| |
All I can offer is the original formmail documentation:
http://www.scriptarchive.com/formmail.html
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Fri Jun 16, 2006 9:38 am Post subject: |
| |
ta, I waded through that and there's no real world example of how to use it
The problem with cgiemail was that it could be found in HTML and then used? is this case or is there something deeper? If its embedded in Flash then it wouldn't be found by a robot or similar? _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Fri Jun 16, 2006 9:59 am Post subject: |
| |
| Z wrote: | ta, I waded through that and there's no real world example of how to use it
The problem with cgiemail was that it could be found in HTML and then used? is this case or is there something deeper? If its embedded in Flash then it wouldn't be found by a robot or similar? |
Most of the exploits regarding email scripts have been sorted server side by us.
A really (really!) simply form:
<FORM NAME=test ACTION=/cgi-sys/formmail.pl METHOD=POST>
<INPUT TYPE=hidden NAME=recipient VALUE=email@domain.com>
Enter your Name: <INPUT TYPE=text NAME=name><br>
<INPUT TYPE=SUBMIT>
</FORM>
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Fri Jun 16, 2006 10:32 am Post subject: |
| |
ta, and the Formmail.pl must be in the cgi-sys root or of the subdomain? _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Fri Jun 16, 2006 10:34 am Post subject: |
| |
| Z wrote: | | ta, and the Formmail.pl must be in the cgi-sys root or of the subdomain? |
It already is, cgi-sys is something you don't have access too but you can still use (if that makes any sense!)
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Fri Jun 16, 2006 10:44 am Post subject: |
| |
yeah
thing is I don't want an HTML form, that will be done in Flash and then the fields passed to FormMail to process and create the e:mail based on a .txt file. like the cgiemail does. I can't see anywhere that it can do it  _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Fri Jun 16, 2006 11:22 am Post subject: |
| |
any clues on this?
Premature end of script headers: /home/bigzed0/public_html/cgi-bin/FormMail.pl _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Fri Jun 16, 2006 11:42 am Post subject: |
| |
| Z wrote: | any clues on this?
Premature end of script headers: /home/bigzed0/public_html/cgi-bin/FormMail.pl |
Shouldn't you be using cgi-sys ?
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
| Z |
|
NetHosted Customer
Joined: 29 Jan 2005 Posts: 287
|
Posted: Fri Jun 16, 2006 1:06 pm Post subject: |
| |
ooh, well now I get no error messages but no e:mail either. Does this mean a change to the .pl file? I read in the notes that I have to tell it where the sendmail folder is and that is in usr/sbin and I think the default is usr/bin? _________________ Getting the hang of it slowly (subject to comment) |
|
| Back to top |
|
| NetHosted - Andrew |
|
NetHosted Staff

Joined: 22 Mar 2004 Posts: 5684
|
Posted: Fri Jun 16, 2006 1:10 pm Post subject: |
| |
| Z wrote: | | ooh, well now I get no error messages but no e:mail either. Does this mean a change to the .pl file? I read in the notes that I have to tell it where the sendmail folder is and that is in usr/sbin and I think the default is usr/bin? |
If you're using cgi-sys there should be no reason to define the location of sendmail. Remember the location is:
http://yourdomain.com/cgi-sys/FormMail.cgi
Andrew _________________ | Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think of NetHosted! |
|
| Back to top |
|
User Permissions |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
| |