|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I figured this would be an easy-peasy one for you guys so, I thought it would be worth asking ...
I am currently trying to install FormMail (1.6) from Matt's Script Archive and am having problems getting it run at all ... just my luck - Doh! When I 'submit' the form and the 'action' tries to run the script off the website, I keep getting this page eror: "You are not authorized to view this page You might not have permission to view this directory or page using the credentials you supplied." and the current line in the address bar goes something like: http://www.mywebspace.com/cgi-bin/formmail.pl I have set the $mailprog command to '/~/etc/mail/sendmail'; and the referers to: @referers = 'worldwidemart.com','206.31.72.203'); Why am I not getting any HaPPy results from this ... ?? Thanks go to any helpers with this |
|
#2
|
|||
|
|||
|
There are a million problems that could be going on here, but I'll list the likely ones
![]() 1. '/~/etc/mail/sendmail' should be '/etc/mail/sendmail'.. and it should actually be something like this: /usr/sbin/sendmail rarely are programs actually stored in the /etc/ folder 2. You've not chmoded the program correctly (755) or don't have access to whatever folder you uploaded it into (ownership problems). 3. The @referers array needs to have your site's url in it (www.whatever.com -- only). What you've got sounds like a server error, but you'll need to fix that after you get done with the server error as well. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > FormMail not functioning ..... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|