noob help on forms..

Man of Honour
Joined
17 Feb 2003
Posts
29,640
Location
Chelmsford
Help needed..

I'm really stuck on this. You'll have to excuse me as I'm a web building noob.

I'm trying to submit an email based on the information entered on the following form. However, I can't get it to submit the details...


http://www.admiralcomputers.co.uk/Help.shtml


I'm calling a php process from the form tag called processor.php.

<form action="" name="myform" action=processor.php>




if a put a method=post, then i get an error.

Method Not Allowed

The requested method POST is not allowed for the URL /Help.shtml.

Apache/1.3.39 Server at www.admiralcomputers.co.uk Port 80



here's the processor php >
<?php
$where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));
mail("[email protected]","phpFormGenerator - Form submission","Form data:
First name: " . $_POST['FirstName'] . "
Surname: " . $_POST['LastName'] . "
E-Mail address: " . $_POST['Email'] . "
Phone: " . $_POST['Phone'] . "
Operating System: " . $_POST['OperatingSystem'] . "
Problem description: " . $_POST['Problem'] . "

powered by phpFormGenerator.
");
include("index.shtml");
?>

so what am I doing wrong.

Thanks

ps - the site is NOT a competitor of OCuk as no H/W or S/W is sold.
 
Thanks

Ok I've just changed and uploaded that but no joy.

I'm I doing this right? If so, I'll contact the webhosters as i'm sure that the site is php enabled.

As for firefox, I have been told although I've not seen it myself yet. I've had a few tell me this but no one has given me any clues as to what's going on or how it can be fixed.
 
Right, there must have been a delay on the webserver mail becuase they have just come down.

So sorted. Many thanks for help.. I'll get that nav bar fixed now :)
 
Back
Top Bottom