liamC
Member
Registered: 28th Feb 04
User status: Offline
|
I need a PHP form on a webpage for a user to input a few details such as their name, email, house address along with a few checkboxes to they can choose particular options and then I want the details sent to my email address.
I've searched and searched but with no luck
Anyone able to help me out?
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
you will need some form of cgi script to process the form
or you can find a free server you can use to process it for you
|
liamC
Member
Registered: 28th Feb 04
User status: Offline
|
Got my own server so that isn't a problem.
http://phpfmg.sourceforge.net/generator.php is ideal and EXACTLY what I need, but I can't get the fucker to work
|
AndyKent
Member
Registered: 3rd Sep 05
User status: Offline
|
edit - never mind.....
[Edited on 20-12-2006 by aPk]
|
Steve
Premium Member
Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
|
poisoft uses a free mailer
http://www.poisoft.co.uk/contact.htm
|
Laney
Member
Registered: 6th May 03
Location: Leeds
User status: Offline
|
Its a list of variables sent using the mail() function IIRC
http://www.php.net
|
Ian
Site Administrator
Registered: 28th Aug 99
Location: Liverpool
User status: Offline
|
You could write your own using the mail() function, means the output can be customised more easily to exactly how you want the mail delivering etc. but its more work.
There are a number of generic ones available though, for example -
http://www.sitescripts.com/PHP/Email_(Form_Processing)/
http://php.resourceindex.com/Complete_Scripts/Form_Processing/
Many to choose from.
What is the problem with the one that you have?
|
Dom
Member
Registered: 13th Sep 03
User status: Offline
|
like ian said, just use the mail() function (php.net) if it's just being sent to you, easiest thing to use -
code:
eg:
mail($to_email_address, $subject, $email_body, $email_headers);
the from address is set in the php.ini usually, but you can change it using headers
code:
eg:
mail($to_email_address, $subject, $email_body, "From: Bob <bob@bob.com">
hope that helps mate
|
liamC
Member
Registered: 28th Feb 04
User status: Offline
|
quote: Originally posted by Ian
What is the problem with the one that you have?
I haven't got one mate...I am just getting used to the basics of PHP and need one for a website I am making
|
Laney
Member
Registered: 6th May 03
Location: Leeds
User status: Offline
|
quote: Originally posted by Dom
like ian said, just use the mail() function (php.net)
quote: Originally posted by Laney
Its a list of variables sent using the mail() function IIRC
http://www.php.net
|