Make contact form and send email in PHP

posted on July 3, 2006, 12:04 am
Comments
Jerry posted on September 6, 2008, 3:33 pm
Can some one tell me how can I combine the form with the captha image ? please
thanks
-----------
we have a Contact Form Generator script which will do this all for you.

xkid posted on August 26, 2008, 9:07 pm
any one can help me..? i got error

Warning: mail() has been disabled for security reasons in /home/xkid/public_html/index.php on line 20
--------------
Veselin: you need to contact your hosting company who seem to disable the mail() function used to send emails. I honestly do not think they will enable it but you can try and ask them.

how can i fix it..?

Ali posted on July 13, 2008, 6:06 pm
No don't mind it, i just missed seeing the Table tag :D

sorry abt it :D

Ali posted on July 13, 2008, 5:58 pm
The HTML code has an error, It has </table> which is a closing tag in the second last line. However i cannot locate the opening tag <table>.

Awaiting response.

paula posted on June 30, 2008, 9:00 pm
How do you combine this code with the captcha code? I can get them to work successfully separate but not combined. Thanks.

Justin posted on June 22, 2008, 9:53 pm
It would be easier to make this a two part script using a Html form to "post" info to a test.php file located elsewhere on the server. So that way there is no need to use code to intergrate the form into a Html website or the "include" feature for PHP..
Just my thoughts great work though

Lisa Erez posted on April 2, 2008, 5:08 pm
This worked great for me as a test run according to the above instructions. BUT, I now want to combine this with my designed web page and it doesnt work. Where does the code get pasted? It shows in my browser not matter where I try, 'head' or 'body'.

Em posted on April 1, 2008, 5:14 am
Thanks so much for this, it worked great!

Sarah posted on February 12, 2008, 10:44 am
hye dudes....plase help me to install the script above...i try to copy and paste it in site but thr is error..the error is: '') { $ToEmail = 'youremail@site.com'; $EmailSubject = 'Site contact form.......until Your message was sent ...thn form table....

What must i do..... anyway i am using linux server but i check my server admin....he said the host supporting php codes...pls help...i hv no any idea....


Andrew posted on January 10, 2008, 8:13 pm
Where to put $access_ip = (getenv(HTTP_X_FORWARDED_FOR)) ? getenv(HTTP_X_FORWARDED_FOR) : getenv(REMOTE_ADDR);

Can you give example for capture ip sender for this form?

Thanks

Pages:   1   2   3   4   5   6   7   8   9   10   
   
If you have any additions, suggestions or modifications for this example please contact us or use the form below.
   
Your name:
Your email: (email address will not be posted on the web site)
Comment:
Verification