PDA

View Full Version : help me about form


raraz
04-12-2006, 01:47 AM
I made my form, but having problem submitting to my email. I used the php code name send.php at my desktop in win xp, when I fill out forms like name,address, etc. I click send. It ask me to save or open, I save and check my email, nothing. I used this script.

<?php
//--------------------------Set these paramaters--------------------------

// Subject of email sent to you.
$subject = 'Results from Contact form';

// Your email address. This is where the form information will be sent.
$emailadd = 'mail@rdsnetworks.net';

// Where to redirect after form is processed.
$url = 'http://www.rdsnetworks.net/confirmation.html';

// Makes all fields required. If set to '1' no field can not be empty. If set to '0' any or all fields can be empty.
$req = '0';
....

.
.
.
.
.
.

davidj
04-12-2006, 08:52 AM
do you have PHP installed ? Probably not...

If you are wanting to script using PHP you either need to install it on your local machine or purchase host space which supports PHP

Creative Insanity
04-12-2006, 09:27 AM
You need a webserver with php option and also you will need an email server or php will not know how to send the mail if the server has no options.
Test it on a hoster if you have one.. and this script works as I have used it many times and it is damn brilliant.