My iWeb php form won't submit. How can I fix it?
Alternatively, when I uploaded the form as an html page by itself and the process.php file onto a different server, they worked perfectly fine and the information both email and submitted to the online file. How can I make this work in iWeb??? I was thinking that it was permissions, but that would not make any sense.
If you would like to try it out, go to
http://www.briancrowellpro.com/GreenwichArts/Artist_Applications.html
then fill out the form and submit it. The process.php will come up saying that the form has been submitted fine, but it really did not submit. How can I fix this???
Here is the process.php file code:
Untitled Document if ($_SERVER'REQUEST_METHOD' == 'POST') {
$firstname = $_POST'firstname' ;
$lastname = $_POST'lastname' ;
$address = $_POST'address' ;
$phone = $_POST'phone' ;
$email = $_POST'email' ;
$references = $_POST'references' ;
$training = $_POST'training' ;
$workdesc = $_POST'workdesc' ;
$prevexib = $_POST'prevexib' ;
$comments = $_POST'comments' ;
}
mail ( "acamela@gmail.com, tatianam@greenwicharts.org", "Artist Submission", "
First Name: $firstname
Last Name: $lastname
Address: $address
Phone: $phone
Email: $email
References: $references
Training: $training
Work Description: $workdesc
Previous Exibitions: $prevexib
Comments: $comments", "From: $email" )
?>
Your application has been successfully submitted.
We will contact you once we have reviewed your information.
Redirecting to home page in 5 seconds.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$7 Answers
Forms like this could be hijacked by spammers for their own evil purposes.
You need to add some extra code to process.php that will authenticate against your email address against your email (smtp) server and send mail through there.
Here is the code to do it:
http://www.codewalkers.com/c/a/Email-Code/Smtp-Auth-Email-Script/
I'm sorry that I couldn't give you a "replace this and it will work" answer, however, spam is a pretty serious problem and hosting companies know that spammers are constantly on the lookout for forms like this one.
I hope that this helps you solve your problem acamela!
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$So it should be:
mail ( "acamela@gmail.com, tatianam@greenwicharts.org", "Artist Submission", "
First Name: $firstname
Last Name: $lastname
Address: $address
Phone: $phone
Email: $email
References: $references
Training: $training
Work Description: $workdesc
Previous Exibitions: $prevexib
Comments: $comments", "From: $email" );
?>
As for the sever bit, maybe you could try upload the iweb files to the different server?
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$http://apptools.com/phptools/forms/
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$I use smtp for sending emails using asp.net
asp.net
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$