![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
How To - Create A Contact Form The Sends To My Email Address...
Hi,
How do i create a form with a pull down menu and a text box and area that will send to my email when they click submit? Thanks, Jay
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#3 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
with options on the subject like this one http://www.techsupportforum.com/sendmessage.php
but for the subject i would like it as a pull down menu. |
|
|
|
|
|
#4 (permalink) |
|
Design Team Member
|
Re: How To - Create A Contact Form The Sends To My Email Address...
Wrote/tested it real quick - hopefully it's all okay. It emailed fine, at least.
email.php PHP Code:
|
|
|
|
|
|
#5 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
What do i save it as??
HTML Page, Web Pages, Dynamic Website Template, ASP Files, ASPX Files, Js Script, VB Script, CSS or XML ?? |
|
|
|
|
|
#7 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
I had no option to save it as php, or have i got to do it in dreamweaver?
|
|
|
|
|
|
#8 (permalink) |
|
Design Team Member
|
Re: How To - Create A Contact Form The Sends To My Email Address...
What program are you using? If it doesn't support PHP...that's not a good thing :S Dreamweaver is nice, but there are alternatives out there. Perhaps I will compile a decent list of programs sometime and post them.
You can always copy it into Notepad and save as "email.php" |
|
|
|
|
|
#9 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
I was using MS Frontpage, but ill install dreamweaver but iv got to wait till my motherboard comes.
|
|
|
|
|
|
#11 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
Oh no sorry, my computer is messed up and im waiting for my new mobo, so i can use it. ATM im using another computer.
|
|
|
|
|
|
#12 (permalink) |
|
TSF Enthusiast
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.
|
Re: How To - Create A Contact Form The Sends To My Email Address...
@ Jaymie1989: Notepad should be working... Just copy and paste the all the code into notepad and save it as a txt-file and then change the extension to .php
__________________
KoosHopeloos, straight to you from .nl via the world wide web! ![]() |
|
|
|
|
|
#13 (permalink) | |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
ok, and i got lost, I saved it as contact (text file) then changed the extension to.php and uploaded it so it was contact.php when i uploaded it, (The link is Http://www.dj-ultra.co.uk/contact.php) When i tested it, the page changes to Http://,www.dj-ultra.co.uk/email.php and its got the problem of website not found, HELP.
also i put my email address here Quote:
I have changed the page to email.php BTW Last edited by Jaymie1989; 08-21-2007 at 05:16 AM. |
|
|
|
|
|
|
#14 (permalink) |
|
Design Team Member
|
Re: How To - Create A Contact Form The Sends To My Email Address...
I sent an email through 'email.php' and it did not say "Sent Successfully"
Did you change the code at all (BESIDES the $to variable)? As in, did you change the name of the message box? If you changed ANYTHING ... go ahead and post the entire page code here. |
|
|
|
|
|
#15 (permalink) | |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
I took 3 of the subjects out and put in my email address
Quote:
|
|
|
|
|
|
|
#16 (permalink) |
|
Design Team Member
|
Re: How To - Create A Contact Form The Sends To My Email Address...
Rather than quote, use the PHP tags.
Well it works on MY server...after testing with my email, I tested with yours...so you SHOULD be getting an email from my Gmail. I've added a tag to give us the error...so let's see if that shows up. email.php PHP Code:
|
|
|
|
|
|
#17 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
Hey, i got your email just waiting to see if mine comes through
|
|
|
|
|
|
#19 (permalink) |
|
Register user
Join Date: Mar 2007
Location: Tech Support Forum, Online - Otherwise Brighton, United Kingdom
Posts: 2,186
OS: Dual Booting - Windows XP Home Edition SP2 & Vista Home Premium
|
Re: How To - Create A Contact Form The Sends To My Email Address...
I have no idea about SMTP
|
|
|
|
![]() |
| Thread Tools | |
|
|