MailForm cgi doesn't attach files to email. Can't locate the files.
Auteur du fil: Jaime Oriard
Jaime Oriard
Jaime Oriard  Identity Verified
Mexique
Local time: 03:49
Membre (2005)
anglais vers espagnol
+ ...
Jul 28, 2005

I have configures the MailForm Clone cgi script and everything works great, except two things:

1. When a file is attached using a file-type input tag in a form, the "required" field of the script does not recognize it.

2. In the same situation, disabling the "required" flied, the form is sent, but not the attached file. I get the following in the body of the email:

file-[path to the file in my system and file name]: /tmp/cpanel.TMP.p2rx8zqTw_6yOYkB
<
... See more
I have configures the MailForm Clone cgi script and everything works great, except two things:

1. When a file is attached using a file-type input tag in a form, the "required" field of the script does not recognize it.

2. In the same situation, disabling the "required" flied, the form is sent, but not the attached file. I get the following in the body of the email:

file-[path to the file in my system and file name]: /tmp/cpanel.TMP.p2rx8zqTw_6yOYkB

Since I don't receive the file as an attachemtn in the email generated by the script, I tried following this rute:
: /tmp/cpanel.TMP.p2rx8zqTw_6yOYkB
after my domain, but I cannot access the sent files.

When I tested the script, the files were actually uploaded ¿how can I get the script to attached the files o how can I retreive the files from the server (if they are stored there)?

Thanks,
Jaime
Collapse


 
Michael Bastin
Michael Bastin  Identity Verified
Espagne
Local time: 11:49
anglais vers français
+ ...
Formmail.php Jul 28, 2005

I really can't help you with your issue, but being fed up with formmail.pl configurations. I tried formmail.php which is so much easier to use, no playing around with paths and the like, just upload main file to the root and change your form and it works pretty good.

 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

MailForm cgi doesn't attach files to email. Can't locate the files.






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »
Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »