| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 50800 | 2004-11-02 03:01:00 | Does any one here know CGI/Perl? (ASAP) | stu120404 (268) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 286960 | 2004-11-17 01:06:00 | For now I have giving up on the above & I am now using Matt's Script Archive: FormMail . . . . The web host I am trying to run this CGI script on is Maxnet Now the problem I am having with the FormMail is that every time I try & submit the form (you can try it here: . refinanceline . co . nz/form_topup_test . htm," target="_blank">www . refinanceline . co . nz sorry Orcon users, Orcon DNS server have not updated so you will get a 404 error message) I get this error message: Error: Bad/No Recipient There was no recipient or an invalid recipient specified in the data sent to FormMail . Please make sure you have filled in the recipient form field with an e-mail address that has been configured in @recipients . More information on filling in recipient form fields and variables can be found in the README file . -------------------------------------------------------------------------------- FormMail V1 . 92 © 1995 - 2002 Matt Wright A Free Product of Matt's Script Archive, Inc . For @recipients in the cgi script I have: # @recipients defines the e-mail addresses or domain names that e-mail can # # be sent to . This must be filled in correctly to prevent SPAM and allow # # valid addresses to receive e-mail . Read the documentation to find out how # # this variable works!!! It is EXTREMELY IMPORTANT . # @recipients = &fill_recipients(@referers); Which is default . In the form I have: <input name="recipients" type=hidden id="recipients" value="my-e-mailaddress@isp . net . nz"> & I have tried: <input name="recipient" type=hidden id="recipient" value="my-e-mailaddress@isp . net . nz"> Any Ideas what might be wrong? Note: I have e-mail maxnet, but I dont know if I will get a reply today :( |
stu120404 (268) | ||
| 286961 | 2004-11-17 01:29:00 | By the way the CGI script works Fine on the webdrive servers you can see here: webstarters.co.nz It is only in till I move it to Maxnet that I have problems GRRRRR! X-( |
stu120404 (268) | ||
| 286962 | 2004-11-17 01:37:00 | The two scripts are identical? | Rob99 (151) | ||
| 286963 | 2004-11-17 01:48:00 | > The two scripts are identical? Yep :), all I have change is the Perl/sendmail path to suite the server & the @referers = ('www.refinanceline.co.nz','210.55.230.196'); to suite the domain name. |
stu120404 (268) | ||
| 286964 | 2004-11-17 02:32:00 | Have you tried the configuration helper for formmail? "formmail . html" to google gets a link to that . There seems to be a fair bit of documentation . too . The link headed "Below is the result of your feedback form" sugests there might be security problems with this script . ;-) |
Graham L (2) | ||
| 286965 | 2004-11-17 14:16:00 | Hey stu, The best way around this is to manually setup recipient, and leave the hidden input line still in the form. I would suggest using @recipients = ('^my-e-mailaddress\@isp\.net\.nz'); The referers part of the script can sometimes cause problems, I would assume security would be a big thing, but sometimes I found the best method was to eliminate referer being checked at times. I haven't used Matt's script since the time I converted it over to PHP so I'm wondering whether it's still limited in configuration or not, I found I had to alter too much of the script to make it usuable, but it's a good script and most hosting support this script, I would have checked with the webhost whether they had a script available for use. Kame |
Kame (312) | ||
| 1 2 3 4 | |||||