Re: Redirect non-www to www cons? Digital Media Digital Marketing Search Engine Strategies by Dani … non-www URL to its www counterpart with HTTP 301 Permanent Redirect. Make sure you're not using 302 temporary redirects, as… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim In your code where you write `mail($to,$subject,$message,$headers);` if you want to get error messages or "do something if it fails" you need to alter it a bit to something like: if(mail($to,$subject,$message,$headers)){ //if successful do something }else{ //if error do something else } //or… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner I do not have access to the PHP error log nor do I know how to check to see if mail() is returning false. The coding I'm using has worked (e.g. sent email with submitted info) for 13 years and now stopped working. My URL/PHP provider, Ionos, claims it won't send because all recipient email addresses need to be authenticated and a new STMP PHPmailer… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Re: Biiim's post, the coding you suggest to get error messages looks like something good to try and the PHP Mailer stuff looks the same as the generic code I got from Ionos. It sounds like all these methods are appearing favorable for solving the problem. This kind of troubleshooting can be very frustrating so thanks for your help. Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani I wonder if the problem is that your php mail() function is configured to use SMTP in your php.ini file. A lot of SMTP servers switched over the past year or so to using XOAuth2 for authentication. A username + password in your config settings will no longer suffice to establish a connection. You can see me complaining about it [here](https://www.… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner Ran into some new issues. Here goes. In order to download PHPMailer, must download Composer. In order to install Composer, need a Command Line PHP.exe file. I do not have one of these. I have been using PHP services from URL provider, 1 & 1/Ionos since 2011. They said in order to get a Command Line PHP.exe file, requires SSH to 'Connect to … Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim You don't need composer or access to the php.exe. just locate the PHPmailer Directory into your web root, to keep it simple and the require links should point to where it is located. mine is `require 'includes/PHPMailer/src/PHPMailer.php';` cause I put it in a folder called includes, this should be relative to the file that is using it.… Re: Online subission forms not sending emails of submitted info Programming Web Development by david.tigner More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email address associated … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani > After code changed, not only will still not send email but screen turns blank white. That's a PHP fatal error. It could be a syntax error, or it could also be that PHPMailer is not in the location you're telling PHP to look. Do you have any way of accessing the error log? Without access to the server, perhaps through a web-based control … Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani To clarify, I am suggesting: [...] //make your email body to send here $survey = "RadiantNewHorizonHomes.com General Inquiries" . "\r\n" . "\r\n" . "Name: " . $_POST['Name'] . "\r\n" . "E-mail Address: " . $_POST['Email'] . "\r\n&… Re: Online subission forms not sending emails of submitted info Programming Web Development by Biiim Hi David, > More problems. I incorporated the coding Biiim provided. Before any changes, after submission, would display the correct (yellow) screen. After code changed, not only will still not send email but screen turns blank white. URL provider, IONOS, told me that the Host is smtp.ionos.com and the Username and password are for an email… Online subission forms not sending emails of submitted info Programming Web Development by david.tigner … 'secret' => $recaptcha_secret_key, 'response' => $recaptcha_response ); $recaptcha_options = array( 'http' => array( 'header' => "Content-type: application/x-www… error message or take appropriate action // Example: redirect back to the form page with an error message… Re: Online subission forms not sending emails of submitted info Programming Web Development by Dani The first thing I will say is never output `$_POST[]` content directly into the HTML without escaping it first. You are leaving yourself wide open to an HTML injection attack. Not only that, but you're also leaving yourself open to invalid HTML. All it takes is to wrap your user-sent variables with htmlspecialchars to make sure they're HTML-escaped… Re: Sending forms Programming Web Development by digital-ether HTTP Redirect: [CODE]header('location: /results.php');[/CODE] You can redirect to a relative path, as shown or supply the full URL. Re: Redirect page function problem with Firefox browser Programming Web Development by digital-ether … explaining whats happening however, and add the JS that will redirect in case the browser fails to do a HTTP redirect. SEO Friendly/Aware Redirect of a URL Programming Web Development by CodeAngry …3)){ throw new \InvalidArgumentException('$StatusCode must be a 3## HTTP status.'); } // Do http redirect if headers are not sent if(!headers_sent()){ header("…;', htmlentities($URL), '"/>', PHP_EOL; } // Do JS redirect and Meta redirect (as plan B) echo '<script type="text… Re: 301 redirect on a non-aspx page? Programming Web Development by plazmo You should set this up in IIS using an http redirect. You just need to have the file highlighted… then in features view select http redirect then specify the new address in the box and…; <httpRedirect enabled="true" destination="http://test.com/test.aspx" exactDestination="true"… Re: 301 redirect on a non-aspx page? Programming Web Development by SelArom …You should set this up in IIS using an http redirect. You just need to have the file highlighted …then in features view select http redirect then specify the new address in the box …; <httpRedirect enabled="true" destination="http://test.com/test.aspx" exactDestination="true"… Re: 301 redirect on a non-aspx page? Programming Web Development by plazmo ….webServer> <httpRedirect enabled="true" destination="http://mini-server.dyndns.ws/" exactDestination="true" childOnly…;/configuration> [/code] im not sure why your not seeing http redirect. try going to content view then right clicking on the… Re: form submit redirect help, please Digital Media UI / UX Design by graf-x …/plain" [B]onsubmit="window.setTimeout(function(){window.location='http://redirect here'},20); return true;"[/B]> [/code][/quote] Hi… know what your talking about, and i dont. The timeout redirect i feel will have its drawbacks as if you dont… Re: Wait some time and after that redirect another Location Programming Web Development by digital-ether …echo '<script><!-- window.location= "http://www.widecomindia.com/home.html" //--></…}[/QUOTE] You cannot use php to send a http redirect header after you have sent output to the browser…the whole page function myRedirect() { window.location = "http://www.widecomindia.com/home.html"; } //--> <… Re: form submit redirect help, please Digital Media UI / UX Design by MattEvans …/plain" [B]onsubmit="window.setTimeout(function(){window.location='http://redirect here'},20); return true;"[/B]> [/code] Re: url redirect dynamically Programming Web Development by AmirHosseinHP … is assigned to id, simply run something like below to HTTP redirect: <?php $title = getTitleFromSomewhereById($_GET['id']); header("Location…: http://domain_name.com/pages/" + $title); // Set other headers if you … modify script Programming Software Development by clarkkent … printed. If using # this var, it must begin with http $redirect = "http://www.oopsweb.net/avatars/success.htm"; # if you would… Name', $notify, 'Your Name', 'Upload Notification', $message); } } if($redirect){ # redirect user print qq~Location: $redirect\n\n~; } else { # print success page &PrintHead… phpmailer error Programming Web Development by AARTI SHRIVAS … sending email .. you can use a full url also with http:// $redirect = "http://www.carinait.in/demo1/index.php"; // - - - - - - - - - /Email Configuration…-store\">"; echo "<meta http-equiv='refresh' content='0; URL=$redirect'>"; } /* catch (phpmailerException $e) { echo $e… ngpw36 help please Hardware and Software Information Security by rawa13 …) O15 - Trusted Zone: [URL="http://redirect.mirarsearch.com"]http://redirect.mirarsearch.com[/URL] (HKLM) O15 -… Trusted Zone: [URL="http://awbeta.net-nucleus.com"]http…-DC1FA91D2FC3} (MUWebControl Class) - [URL="http://update.microsoft.com/microsoftupdate/v6/V5Controls/en/x86… ngpw36 HELP Hardware and Software Information Security by tands … Explorer\Main,Default_Page_URL = [URL="http://desktop.presario.net/scripts/redirectors/presario/deskredir…-8F11-11d2-804F-00105A133818} - [URL="http://search.presario.net/scripts/redirectors/presario/srchredir.dll…) O15 - Trusted Zone: [URL="http://redirect.mirarsearch.com"]http://redirect.mirarsearch.com[/URL] (HKLM) O16 - … Re: ngpw36 HELP Hardware and Software Information Security by DMR …Aware SE Personal - [URL="http://www.lavasoftusa.com/"]http://www.lavasoftusa.com/[/URL] SpyBot Search … O15 - Trusted Zone: [URL="http://click.getmirar.com/"]http://click.getmirar.com[/URL] (HKLM) O15 …HKLM) O15 - Trusted Zone: [URL="http://redirect.mirarsearch.com/"]http://redirect.mirarsearch.com[/URL] (HKLM) * [/B]… Re: ngpw36 HELP Hardware and Software Information Security by tands … Explorer\Main,Default_Page_URL = [URL="http://desktop.presario.net/scripts/redirectors/presario/deskredir…-8F11-11d2-804F-00105A133818} - [URL="http://search.presario.net/scripts/redirectors/presario/srchredir.dll…) O15 - Trusted Zone: [URL="http://redirect.mirarsearch.com"]http://redirect.mirarsearch.com[/URL] (HKLM) O16 - … Too many virus programs to single out the problem.. Hardware and Software Information Security by mattmm ….mirarsearch.com[/URL] (HKLM) O15 - Trusted Zone: [URL="http://redirect.mirarsearch.com"]http://redirect.mirarsearch.com[/URL] (HKLM) O15 - Trusted Zone: [URL…="http://awbeta.net-nucleus.com"]http://awbeta.net-nucleus.com…