Message |
Hi Tim, Just a bit of run of the mill debugging if you have the time, thanks. I have a mailform script at http://www.ismr.com/test.html. It runs perfectly well on a number of other sites on the same ISP and I cannot understand why it won't run here. The script reads the variables checked by the user and writes an email using the template 'mailform.txt' also found in the same directory as test.html. In the form, "Email"and "Name" are mandatory fields. Miss them out and you will get error.html (which doesn't exist, so you should get an error 400). Get it right and you get Thanks.html (also error 400 at this stage). What actually happens is this. When you click submit without entering any data you get 'Thank you for your submission' and the URL in the location bar changes to http://www.ismr.com/cgi-bin/form-mail.cgi. If you then launch that URL, you get an error400, error.html not found! This means that it only reads mailform.txt the second time round! Most odd. Please could you give me a quote to take a look and correct any error you find? Many thanks. FTP hostname: Login: Pwd: Please feel free to change the third line of mailform.txt from "To: form@airflow.net,[+email]" to your own email address. Just revert it if you manage to fix it! Cheers for now. -- Frank Wognum
|