corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP Scripts


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author PHP Scripts
liamC
Member

Registered: 28th Feb 04
User status: Offline
20th Dec 06 at 17:02   View User's Profile U2U Member Reply With Quote

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

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
20th Dec 06 at 17:11   View Garage View User's Profile U2U Member Reply With Quote

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
20th Dec 06 at 17:15   View User's Profile U2U Member Reply With Quote

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
20th Dec 06 at 17:17   View User's Profile U2U Member Reply With Quote

edit - never mind.....

[Edited on 20-12-2006 by aPk]
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
20th Dec 06 at 17:17   View Garage View User's Profile U2U Member Reply With Quote

poisoft uses a free mailer

http://www.poisoft.co.uk/contact.htm
Laney
Member

Registered: 6th May 03
Location: Leeds
User status: Offline
20th Dec 06 at 17:17   View User's Profile U2U Member Reply With Quote

Its a list of variables sent using the mail() function IIRC

http://www.php.net
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Online
20th Dec 06 at 17:43   View Garage View User's Profile U2U Member Reply With Quote

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
20th Dec 06 at 18:08   View User's Profile U2U Member Reply With Quote

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
20th Dec 06 at 18:38   View User's Profile U2U Member Reply With Quote

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
20th Dec 06 at 18:50   View User's Profile U2U Member Reply With Quote

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




 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Where can I get a good Forum for my website from? madboutcars Geek Day 4 708
23rd Mar 03 at 19:49
by Ian
 
Need Help (Comp Related) PaulW Geek Day 5 1085
7th Oct 03 at 21:44
by PaulW
 
Pop Ups the_legend_of_yrag Geek Day 4 364
19th Nov 03 at 20:32
by the_legend_of_yrag
 
1/4 Mile and 0-60 Calculator marc_gtir General Chat 99 2637
13th Jan 04 at 00:17
by el gordo
 
PHP and sendmail ed Geek Day 2 163
5th Jun 06 at 23:55
by Ian
 

Corsa Sport » Message Board » Off Day » Geek Day » PHP Scripts 28 database queries in 0.0137331 seconds