PDA

View Full Version : Please help - contact form


jen
12th November 2005, 12:34
Hi guys,

We've got a contact form in our website but we can't seem to get it working, everytime the form is submitted it comes back with "Internal error server - blah...blah - it seems that it's looking for cgi-bin script or form. Can anyone help us please - what does this mean - what should we do?

We've created the contact form within the page and save it just like a normal .html page.

Please...please help. :cry:

Thank you in advance

Jen

kyber
12th November 2005, 12:45
Part of the form you have created will include information about what to do with the form when it is submitted. This is usually the file path to a particular program (script) on the server that you are running on that the form information will be passed to for processing (normally emailing to you).

Although many websites use the same script name and keep it in the same place, some websites do not provide access to the the script by default. Others use a script with a different name.

The error you are getting suggests that the web server hosting your form can not find or access the script the form is requesting to be used.

You need to check with your hosting provider whether this service is enabled and if it is exactly how to call the script.

Stuart

jen
12th November 2005, 15:10
Thank you Stuart,

Thank you for your advice.

We've got the form provided by one the site -we've created the form online, filled all our email to address and other text field we require and then towards the end it's aksing choose the script language so we chose PHP now we've generated the form.

We're now showing our generated scripts it says download contact.htm and download contact.php. Ok we've downloaded and place the contact.htm in one of our web page and saved it as contactus.htm not a problem but when use it doesn't seem to work. NOw the question is what do we do with contact.php? Do we also save this and upload to our webspace and in which folder?

Sorry to be a pain but we're struggling to get this working.

Thank you.

Jen

Rob Holmes
12th November 2005, 19:20
Jen - a url might help then we can provide practical help back!

Rob

Ravenfire
12th November 2005, 19:25
Both the files should be uploaded to your webspace from what I have seen of these contact forms. Like Rob says without an url and maybe some idea of the contact form its very hard to help

stagetec
13th November 2005, 22:22
I suspect that the contact.php file contains the script to send the form, so when you create your form you should get it to send the results to contact.php which will then process the information and send it to you - I am only guessing here!

If this is the case then you will probably need to edit the contact.php file to make sure it has the correct email address to send the form to.

Andy