Jump to content

dgow13

Member
  • Posts

    69
  • Joined

  • Last visited

Posts posted by dgow13

  1. What host are you using? Have you checked with them to make sure they allow the mail() function, or if there are any specific ways they want you to handle contact forms? (I've had issues with GoDaddy in the past with this, for example).

     

    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?

  2. 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.

  3. 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);

    ?>

  4. 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.

  5. 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?

  6. 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...

  7. 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.

  8. 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);

    ?>

  9. 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?

  10. 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.

  11. 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.

×
×
  • Create New...