PHP Newsletter

Join now and receive weekly updates pertianing to the world of PHP.

Polls

What do you think about the new PHPMine Design?
Awesome
Not Bad
Sucks

PHP Gigs By City

PHP Jobs By Topic

Advertisements

Need help with a form to email php script?

Asked 2010-03-12 22:27:23 by BrandonM

i am working on a project that is coming along very slowly, but i am going slower on a form to mail script that wont send the form via email.

heres the page im working on on my home apache server its the newest apache out, just dwnld it 2day, its the one with ssl, and evrything

http://99.68.13.151 go to request space tab on right
heres the script http://99.68.13.151/send_email.php
heres the auto reply script http://99.68.13.151/send_email_auto_response

I dont quite understand PHP, does the scipt not have to have an email account of its own to send out of, i dont understand


*and yes i am working on the password part, i know its not secure and all

Anwered 2010-03-12 23:00:24 by Colanth

For openers, you have to open php.ini, look for the email section and put in your SMTP server's address (the one your ISP uses). Without that (or if the line is commented out), PHP won't send email.

Oh - and you have to install PHP. If we can go to a php page and see the text, you don't have PHP installed. (Just go to http://windows.php.net/download/ and download the one you need (the non-thread version is kind of universal if you're running on a Windows box).

Use Firefox to debug it. Add the Firebug and FirePHP add-ons to make it easier.

Anwered 2010-03-12 22:39:11 by Ron

Use any of the below sites to make the workable form you need:

For making forms:

These are really good online form makers. Just follow the instructions for making it and uploading file(s).

http://www.phpform.org/
http://www.tele-pro.co.uk/scripts/contact_form/
http://www.jotform.com/?gclid=CNKhqei1wJ4CFRQhnAod6laUqA (WYSIWYG Form Maker)
http://www.thesitewizard.com/wizards/feedbackform.shtml
http://www.thepcmanwebsite.com/form_mail.shtml

http://emailmeform.com/
http://www.freecontactform.com/
http://www.reconn.us/content/view/12/34/ (Download - Contact Us Script)
http://formsmarts.com/
http://apptools.com/phptools/forms/forms1.php

Ron

Questions and answers provided by the Yahoo Answers Community.