corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Form to send email


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 Form to send email
flame1987
Member

Registered: 20th Nov 06
Location: North Wales
User status: Offline
18th Feb 08 at 20:46   View User's Profile U2U Member Reply With Quote

Just wondering if somebody could point me in the right direction of how to create a form in html that user can fill in which is then sent to an email address. But without opening the clients email software to do so

Thanks
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
18th Feb 08 at 20:50   View Garage View User's Profile U2U Member Reply With Quote

php mail function
flame1987
Member

Registered: 20th Nov 06
Location: North Wales
User status: Offline
18th Feb 08 at 20:55   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Steve
php mail function


got any links or code snippets please steve?
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
18th Feb 08 at 20:57   View Garage View User's Profile U2U Member Reply With Quote

http://uk2.php.net/mail
flame1987
Member

Registered: 20th Nov 06
Location: North Wales
User status: Offline
18th Feb 08 at 21:00   View User's Profile U2U Member Reply With Quote

the webiste i wish to have it working with already has a contact form which works fine. Rather than create a new .php script could i just point the new page to the same script or would i need to create a new one to include the new fields?
drax
Member

Registered: 5th Feb 05
Location: Sittingbourne, Kent
User status: Offline
18th Feb 08 at 21:06   View User's Profile U2U Member Reply With Quote

You either include hthe php mail function script on the same page and have the form php action self, or you set the action as the external php script.
flame1987
Member

Registered: 20th Nov 06
Location: North Wales
User status: Offline
18th Feb 08 at 21:10   View User's Profile U2U Member Reply With Quote

i think performing it on the sage page would be a little tidier. Would it then be a simple case of just uploading the .php file to the web server then?

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
The tray under the passenger seat.... the_legend_of_yrag General Chat 64 3664
29th Aug 03 at 01:00
by mike16v
 
ALPINE FULLY MOTORISED SCREEN & CD CHANGER wishybishy Parts Offered 6 408
15th Jun 04 at 20:50
by wishybishy
 
Legal Query jamesw General Chat 17 294
23rd Mar 07 at 11:50
by nickyboy01
 
HTML form - sending the submitted data to a Text file? pow Geek Day 16 192
25th Sep 07 at 11:16
by ed
 
Microsoft Warranties M4tt_Envoy Geek Day 1 576
11th Jan 08 at 09:44
by Aaron
 

Corsa Sport » Message Board » Off Day » Geek Day » Form to send email 29 database queries in 0.0102968 seconds