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.
here's the processor php >
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.
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.