----- Original Message ----- From: "Alexandra" Hi everyone,
My name is Alexandra and I just joined today, I don't know any PHP, but I have encountered an issue that may have to do with PHP programing. I do simple websites and create contact forms in Front Page, because I haven't figured out how to do it in Dreamweaver, I can't figure out how to make the submit button go to the thank you page in Dreamweaver, which is why I am using FP. I am self taught, with the exception of complicated forms and php. Now, here is my issue: when someone fills out a form and clicks submit, the email I receive comes from: "anonymous@ and a server name and number" and I would like that when someone fills these forms, to say the domain name or anything else rather than this email address that doesn't exist! is there a way to change that? is this something I can change? or is this something the web hosting company has to change? Also, the text box where someone can write requests, it is set to no constrains, but every time someone types something in, it types everything in one horizontal line....and not like a paragraph or line under line....is there some fix for that? Thank you very very much, Alexandra ------------------------------------ Hi Alexandra, I can't answer some of your questions as they don't relate to PHP so they are offtopic in this list. The action="... of your form will tell you what is sending the email. It is most probably a CGI script. Get the full path from the action="... so that you have http://yourdomian.com/cgi/frommail.pl or something like this and put directly into your browser. You will most likely get the script name and version so that you can study it and make the necessary changes. If the action="... is something like sendmail.php or anything that ends in .php then post a copy of the code from the .php file here so that we can tell you how to change it. PHP allows much more flexibility for sending e-mail but there are security risks. Hackers will use your mail server to send tens or hundreds of thousands of e-mails at your expense by hacking into a poorly written script. If you want a PHP e-mail script then I suggest you find a prewritten one and modify it. See www.hostscripts.com Alternatively post your form here and we can write the code for you as long as we accurately know what you require. Thanks, Robert. Please remember to write your response BELOW the previous text.
