-
Posts
69 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Downloads
Gallery
Store
Posts posted by dgow13
-
-
Can you clarify: what exactly is not working about it? Are you getting any error messages?
No error message. You fill in the info and hit submit... it goes to the thank you page, as it should, but the email never shows up. I had my email listed for testing but, I've tried theirs and it doesn't work either.
-
I wrote the php script for my contact form after watching the video series. I am new to php and tried to make it as simple as I could. I put all the right things on both the contact us and thank you pages. Worked great. I used the same format for one of my clients pages and I cannot get it to work. I copied and pasted, I also rewrote the entire script... still, it will not work on my clients site. tell me what I am doing wrong !!!
Here are the codes:
contactus.php page:
George
Kevin
Broadband Internet
Security Systems
Support
General Questions
thankyou.php page:
<?php
//php form to email code//
$name = $_REQUEST['name'];
$email = $_REQUEST['email'];
$phone = $_REQUEST['phone'];
$to = $_REQUEST['to'];
$interest = $_REQUEST['interest'];
$message = $_REQUEST['message'];
$headers = "From: $email";
$email_message = "Name: {$name}\n\rEmail: {$email}\n\rPhone: {$phone}\n\rTo: {$to}\n\rInterest: {$interest}\n\rMessage: {$message}";
mail('dgow@simplewebs13.com',$interest,$email_message,$headers);
?>
-
HA! Look what I just found. Book marked! http://tinyurl.com/yjtrlc8
Excellent !!! I copied, pasted and then chose the video, http://www.5min.com/Video/How-to-Add-a-Favicon---nice--easy-96421654, followed the EASY video instructions and it worked the first time.
Thanks again. I always get answers when I post a question on this forum.
-
This is something new for me. I would like to place a favicon icon on my website. How do i go about doing this?
-
In order to edit the flash files, you need the original source (.fla), not the .flv or .swf. Without the source file, I don't think there is much you can do.
I can't find any of the source files at all... .fla. The original builder said that if I was any kind of a web designer I would know where to find the files at but, he was not going to help me find them. Not much I can do about it. I have searched ever file and sub-file with no luck.
-
I am building a new website for a client. The client wanted me to change some info on the old site while we are working on the new one. The entire site is built in flash and I am not very good with flash. I was told to find the .swf or .swa files where I can change the owner info but, I cannot locate them. Any suggestions?
-
The university has opened up a whole new area for me. And a renewed enjoyment for building websites. Thanks for sharing your videos.
-
That makes since. Every item or text I put in the single quotes displayed that text in the email header. Once I use double quotes it seemed to enable the php script.
I am new to php. I am trying to learn and have subscribed to the killer university. I am watching as many videos as I can about the subjects I am trying to use on my clients sites. The next thing I need to learn is how to structure the email format so that it appears in the email like this:
Name: Name text
Email: Email text
Phone: Phone text
and so on...
-
Perfect !!! It worked. I guess you can't use single quotes. They have to be double quotes in php.
-
I have tried your suggestion from example 2 and it did not work. I am doing something wrong. Underneath the $message... I put the following;
$headers = 'From: $email';
I have tried it different ways but when the email is sent I get
From: $email@p3nlh174.shr.prod.phx3.secureserver.net.
No matter what I try the part after the @ sign always appears. I know I am not coding something right.
-
Here is the code from the contact us page:
Website Design and Development
Graphic and Logo Designs
Animation
Web Hosting
Domain Name Registration
Search Engine Optimization
Business Card Print Media
Designs
General Questions
Code from the thank you page:
<?php
//php form data to email code//
$first_name = $_REQUEST['first_name'];
$last_name = $_REQUEST['last_name'];
$email = $_REQUEST['email'];
$phone = $_REQUEST['phone'];
$radio = $_REQUEST['radio'];
$message = $_REQUEST['message'];
$email_message = "First Name: {$first_name}\n\rLast Name: {$last_name}\n\rEmail: {$email}\n\rPhone: {$phone}\n\rInterested In: {$radio}\n\rMessage: {$message}";
mail('dgow@simplewebs13.com',$radio,$email_message);
?>
-
After setting up my contact form and making sure it works properly, I still have not discovered how to change the line at the top of the email that states who is submitting the email. It should have the senders email but it does not. Here is how it looks.
From: mbiweb13@p3nlh174.shr.prod.phx3.secureserver.net
To: dgow@simplewebs13.com
cc:
Subject: Text
The "From" line should contain the senders email once they fill out the form and then submit it. Any suggestions?
-
Upgrade to EW3. It has php support in version 2 but version 3 will allow you to view the rendered page. Otherwise, you can keep on using your current version without a problem so long as you have the BOM turned off for php which usually is by default.
Thank you. I will go ahead and upgrade to EW3.
-
I have been using Expression Web for quite a few years now, using html extensions, but now I am learning php and wondered if there are any advantages to switching over to Dreamweaver.
-
Thank you. It worked. I just have to figure out how to line it up now so it looks professional and more uniformed.
-
I have 2 questions. I am new to php programming. I watched the beginner tutorials for php, followed the samples, designed a contact form & thank you page and then sent everything to my email. Everything went just fine. In my email all the information showed up except the radio button and drop down list info. I have no idea how to get that information to send. Any suggestions?
Also, How can I structure the contact form, once it shows up in my email, to be organized as follows:
Name: Name text
Email: Email text
Phone: Phone text
Comments: Text... and so on?
I appreciate your help.
Contact form to email question
in PHP
Posted
I do host all my accts with GoDaddy. I didn't have a problem with mine and one other clients forms I wrote. Should I call GoDaddy?