Basic PHP email form does not work after upgrade to 20141

I have a MAC OS X 10.7.5 - I have 2 sites that use e-mail very basic PHP forms that worked very well until I upgraded to Dreamweaver.  Now, I can fill in the form and there is not error - it seems that it works as before, but I never have the email.  Says Adobe support has nothing to do with the upgrade and there is an error in the script code.  Can someone help me?  Here is the send.php

<?

$name = $_POST ['name'];

$email = $_POST ['email'];

$tel = $_POST ['such'];

$comments = $_POST ['comment'];

$security = $_POST ['security'];

$to = " [email protected] "; "

$subject = 'New Contact site';

$message = ' a visitor of DLPRecordingStudios.com introduced a contact request.\n\nName: $name\n\nEmail: $email\n\nTelephone: $tel\n\nComments: $comments\n\nPlease answer to the request.\n\nBest contact cordially, \n\nYour Webmaster (and master of your universe);

If ($security == '7') {}

mail ($to, $Subject, $message);

Header("Location:contact.php?s=1");

}

else {}

Header("Location:contact.php?s=2");

}

? >

Thanks - Tracey

Sure that you will find the upgrade is not to blame, and the timing is a coincidence.

Cause the most likely problem is your SMTP server being modified settings. It is very common to block mail scripts because they are a major source of spam.

In addition, as Rob says, always include a "From" header It is not required, but doesn't it have will significantly increase the chances of your anti spam mail.

Tags: Dreamweaver

Similar Questions

  • To mySQL, then the email form does not work after the insertion of the post

    I use the Spry framework to validate certain fields on a form and then insert all of the data forms in a database (with no problems). Then, I want to send an email with a few fields from the form submission.  Normally this works very well in the email PHP code that I have, BUT after adding the spry validation or after you add the insert after section of goto, email PHP code no longer receives the form post data.

    Any ideas what could cause the loss of the post of the form variables?

    Thank you!

    -Daniel Hoviss

    Normally the form sends the data to the processing page, I transmit not explicitly all variables form.

    Like this

    In fact, you pass form variables explicitly. It's that submit a form.

    When you submit a form, the variables are passed to the next page, through the GET method or the POST method. That's why you can access it using $_POST or $_GET. Variables exist only from one page to another. As soon as you redirect the user to another page, the values are destroyed. The code in Dreamweaver $insertGoTo uses the header() function to redirect the user to another page. This is why your variables are no longer available.

    The simple way around this is to add the email script immediately before the code that redirects the user. You can either put the E-mail script directly in the same page, or use a PHP include.

  • Microphone does not work after upgrade from Vista Home Premium to Win 7 Home Basic-Sony Vaio VGN-NS25G

    Microphone does not work after upgrade from Vista Home Premium to win 7 Home Basic Edition. Laptop model Sony Vaio VGN-NS25G, bought in India

    My built-in mic not working anymore after the upgrade from Vista Home Premium to win 7 Home Basic Edition. Model laptop Sony Vaio VGN-NS25G was bought in India. I have taken the loacl Sony Service Center and they said that Windows 7 drivers for the microphone Sony was not yet available. They mentioned that the only way to fix the problem was to upgrade to Vista. Is this true? Where can I get these drivers for the microphone, and they are not available, when will they be available?

    Hello

    Method 1.
    Interestingly, I found the drivers for Windows 7 for this particular model of Vaio. Here is link thye:
    http://www.Sony-Asia.com/support/download/362654/product/VGN-ns25g/sectionfirst?subpage=detail

    I suggest updating all your drivers from the link above and drivers Realtek especially.

    Method 2. Set the default Microphone.

    Once the drivers installed to check if the microphone is the default value, here's how:

    Exercise the functions mentioned below to adjust the Microphone as default:
    1. Click Start and click on Control Panel.
    2. click on sound, then a new window will open.
    3. in the new windows, click on the 'Registration' tab and right click in the window and click Show disabled devices.
    4. now check if the Microphone is listed there and right-click on it and choose activate.
    5. turn highlighted that Microphone and click "set as default".
     
    For more information see the articles below:
    http://Windows.Microsoft.com/en-us/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly
    http://Windows.Microsoft.com/en-us/Windows7/recording-audio-in-sound-recorder-frequently-asked-questions

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • PHP contact form does not work

    I created my page using godaddy but my php contact form does not work. When sending a message, he won't have to the sent Message (su message to ha enviado) page, but it is not actually send any mails. The accounts are set up, but it does not work. The web page is cuysrus.com, the contact form is on the contact page.

    This is the code I used for the php class linked to the html file:

    <? PHP

    $to = " [email protected] "; "

    $subject = 'new message ';

    $nombre = $_POST ['number'];

    $apellido = $_POST ['apellido'];

    $message = $_POST ['message'];

    $headers = "from: ". " [email protected] \n";

    $headers. = "X-Mailer: PHP /'." phpversion();

    $headers. = "MIME-Version: 1.0\r\n";

    $headers. = "content-Type: text/html;" charset = iso-8859-1\n ";

    $retval = mail ($to $subject, $message, $headers);

    If ($retval == true) {}

    echo "message Su will ha enviado.

    } else {}

    echo "Vuelva a intentarlo.

    }

    ? >

    Well sorry that I forgot to ask about the action of form... you will need to rework this if you do not have to use the form of godaddy.

    a few things... first of all, you have the transformation code in the page, if you want that your action forms literally go anywhere.  ' change action = "? »

    Second, you'll need a 'trigger' in the form must be added a hidden as field

    Thirdly, finally, you have this block of code that I rewrote the process, if there is a request for 'process' then here is the code:

    <>

    form of process

    If (@$_REQUEST ['process']) {}

    $headers = "from: [email protected] \n";

    $to = "[email protected]";

    $subject = 'new message ';

    $body = "number:". "" $_REQUEST ['number']. »

    Apellido: ".." $_REQUEST ['apellido']. »

    Message: ".." $_REQUEST ['message']. »

    ";

    $retval = mail ($to $subject, $body, $headers);

    If ($retval == true) {}

    echo "message Su will ha enviado.

    } else {}

    echo "Vuelva a intentarlo.

    }

    }

    ?>

  • Projector does not work after upgrade from Sierra

    My projector does not work after upgrade to Sierra. Or search in Outlook (I use outlook for Mac due to having MS 365 for labour) or the search function in the finder. I use this all the time and need this feature back. I tried to reindex spotlight and nothing. Anyone has any ideas.

    Try to rebuild Spotlight rebuild the Spotlight to your Mac - Apple Support index

  • Re: NB200-134 - touch FN does not work after upgrade to Windows 7 Ultimate

    My NB200-134 of FN keys does not work after upgrade from Windows 7 starter to Windows 7 ultimate. I tried to install all the drivers found on the Web from Toshiba website for my lappy but it still does not work.

    Help please

    Hi asalamk,

    The FN keys are controlled by value added and Flash Cards Support utility package. I think you forgot to install these tools

    You should recheck the Toshiba page and download these two tools. Start with the installation of the package of added value, and then restart your laptop. After this utility installation of Support Flash Cards. Reboot once again and all the FN buttons should now work correctly.

  • Satellite A300D-15B - Webcam does not work after upgrade to Windows 7

    My webcam does not work after upgrade to Windows 7. I installed the drivers but still having no luck

    Hey Buddy,

    What does it mean exactly when you say he won t work?
    You get an error message or only a black image? What model of laptop you have and that you use the Toshiba Windows 7 upgrade kit or a disc of Microsoft?

    At this moment I can only offers to install latest driver of the webcam of the official website of Toshiba. Make sure that this driver is released for Windows 7 and not Vista.

  • HP Laserjet 2100 does not work after upgrade Windows 10

    HP Laserjet 2100 does not work after upgrade to Windows 10. Tried using PCL 5, PCL 6 and also tried the HP Universal print driver. I agree, this is an old printer, but I am disappointed told me "the printer is in error" when I try to print after this upgrade. Worked fine on Windows 7...

    Thank you!

    If the printer is connected using a parallel printer cable, please see the link below for the solution.

    http://h30434.www3.HP.com/T5/LaserJet-printing/possible-solution-to-LPT-port-issues-with-Windows-10-upgrade/TD-p/5372582

  • VMware Player 6 VM - bridged network (Ethernet/LAN) adapter does not work after upgrade to Windows 10 - known issue?

    Hello

    I upgraded the PC host, but also virtual machines to Windows Pro 10.

    TheVMware Player 6 VM - bridged network (Ethernet/LAN) adapter does not work after upgrade to Windows 10...

    Is this a known issue?

    Thank you!

    Kind regards

    Joe

    SOLVED!


    I uninstalled VMware Player, including the abolition of the configuration files.


    re-installed VMware Player and it worked!

  • Google search does not work after upgrade to 3.2.1 on 5

    Is there a fix for Google search does not work after the iOS 3.2.1 on iPhone 5 s

    Hi JRDriller,

    Looks like you may have some problems with the links on your iPhone. This problem has been resolved by an update to iOS software 9, the 9.3.1 update:

    Download iOS 9.0 - 9.3.1 Information

    https://support.Apple.com/kb/DL1842

    Hope that helps. If you still see issues after updating your software, could you provide more information on the issue?

    Thanks for being a part of the communities of Apple Support!

  • Re: Satellite L300 - camera does not work after upgrade to Win7

    As in the subject. Camera does not work after the upgrade to Windows 7. I have tried almost everything found on the Internet. The drivers are installed.

    There is no exclamation point in the system.

    Satellite L300 (PSLB8E)

    Hello

    What happens when you start the webcam app?
    All programs-> Toshiba-> webcam

    Did you install other 3rd software part as for example the Skype that could access the webcam?

    Extra tip: go to BIOS and set it to default, save changes, and then restart the laptop.
    Start Skype for example, check the settings in Skype webcam chose correctly.

    It would be really interesting to know if the other software would be able to use the webcam.

    By the way: have you installed Toshiba face recognition? This software use and access the webcam as well
    Then sometimes it would be possible that this software could block the webcam and webcam tool could not work

  • Satellite P200 - 10 c: camera does not work after upgrade to Vista ultimate

    After the full vista upgrade webcam did not work. After some research, I found that I had to change the driver for usb video camera I did.

    Everything works fine now except the snap button of the camera software. Record audio and video works fine. Snapshot button does not work after you have clicked on it. Can someone help me solve this problem too.

    Hello

    you have reinstalled the software of the camera (not only the drivers) that controls the special features snapshot-thing like that?

    It should contribute to reinstall everything because vista is confusing every driver/software maximally... :)
    Would appreciate comments on your success.

    See you soon

  • Pavilion dv6 sd card reader does not work after upgrade to windows 8

    Hello

    My card reader SD HP Pavilion dv6 does not work after windows 8 upgrade (6 months ago). Previously, it was working fine when I was with Win 7 (which is the default OS with this laptop).  I don't find the device in Device Manager (under the peripheral system or hard drives). Read the similar section in the HP forum, but it did not help as much as the device is missing in this case. Can anyone help?

    Hi SanSam.

    Thank you.

    Install the driver from Realtek for Windows 8 card reader.

    Please post your results.

    Best regards
    ERICO

  • Venue 11 7140 pro micro HDMI does not work after upgrade windows 10

    Has anyone tried connect a HDMI microphone on their place of dell 11 7140 pro after windows 10 upgrade? Mine does not work after the upgrade, but the HDMI from the dock works.

    I have thus display driver problems on 10 to win.

    For me, the micro HDMI port works fine. I use an active adapter, so that could make a difference.

    The HDMI on the dock works well, but only if I directly connect to an HDMI display. If I try to use a passive DVI adapter, then the external screen is not recognized. In addition, the DisplayPort on the wharf is also unnecessary, regardless of the type of cable or attached monitor.

    I encounter this problem after performing a new installation of Win 10, using the brand Dell drivers and latest drivers Intel installed by Windows update.

    It is certainly a driver problem Win 10 because everything works fine if I boot the Tablet under Linux using a USB key.

  • Contact email form does not work

    I tried to replace the 'simple' contact form and using different e-mail addressed but the form does not return to me.

    I am temp accommodation on Business Catalyst site before going live. All of the suggestions. Thanks, Jim

    Did you follow the suggestions in style and contact forms add form widgets in Adobe Muse.  ?

Maybe you are looking for

  • iCloud isn't bacing my iPhone 6 s

    iCloud isn't bacing my iPhone 6 s. Please advise... Thank you!

  • Satellite P50-A-125 - boot UEFI Linux problem

    My profile:Model: Toshiba Satellite P50-A-125Current operating system: 8.1 Windows x 64 and Ubuntu 14.04I want to know what is the first file.efi was performed.And how I can change this file.I need it to create a grub_standalone.efi.News, I did _two

  • A few tips to increase the stability of MainStage 3.2.2?

    3.2.2 MainStage running on a powerful MacBook Pro. El Capitan OS Four keyboards have hooked up with multiple layers on most keyboards. Using only a screw of MainStage and effects (without 3rd party plugins). New Interface Audio MOTU Ultralite mk3 MOT

  • Write the data from multiple devices in columns

    Hi, I have a problem in writing the data of 2 devices I have currently (for pressure and temperature). I wanted to be written in 2 coloums, one for temperature and pressure for each produced data. What I have now is that the data written in the rows.

  • What is the easiest way to read a value of XML tag

    Hi all Im not at all experienced in the use of the XML parser library. How can I retrieve the value of the label?I use the matching node get all (see attachment). Get XML gives me: ABDELKADER How can I retrieve the value of the tag (AAAA), without th