i have been lately having trouble with a php form. it will not send the form out to me when they submit it. is there something wrong with the coding? it works for me.
This could be a problem with your permission on the server, as many servers will no longer allow you to send emails from them, without first validating that you are sending it , not your user.
I use 1&1. Would you know if they permit it?
And how would I validate that I am sending it? Isn't the user sending the form? And if it woreked for me, why wouldn't it work for them? How does the server know that I am serving it, and not them?
Thanks for your reply!
ok, so I got in contact with them, and this is what they said:
"We have checked the form and it seems that it is working fine. Please be informed that the permission for the php mail should be set to 755."
What does this mean, and how should I change this? Would this fix my problem with the form?
Sorry you will have to ask them what 775 means as I have never heard of this, it sound like a server permission setting, or possibly something that must be inserted into your code to set the permission!
They are talking about *nix file permissions. You might be able to change that via your host control panel. Or, telnet to the host and use chmod.
If you are on a *nix host, you need to learn about unix file permissions.
Ok, I had not looked at your original post before replying earlier. It doesn't seem likely that the problem is related to file permissions. The web server doesn't know if it is you or another visitor submitting the form. Problems like this are often related to scripts checking referrers or other http header data that may be blocked by a firewall or browser setting. I don't know php, but I didn't see anything in your script that looks like it is checking http header data, but I could be wrong. Someone else with more php experience should take a look.
one more problem: i got everything fixed, and everything is set up correctly, but my password protect service, hosted my bravenet.com, is not allowing me to do this. here is the begining part of the login: "action="http://pub13.bravenet.com/passwd/show.php"". i have all the right login credentials, but i believe that these two do not work together because it is not letting me through for some odd reason. any ideas?
Is there anybody here that knows how to do php coding?
Yes, but you should post questions about PHP in the right forum: Dreamweaver Application Development. Also, don't just keep adding new questions to an old thread. Everything might seem related to you, but other people see a thread that has already received a lot of replies, and are likely to skip it unless they have already been involved. Take a look at this post about how to get help quickly.
Europe, Middle East and Africa