Aliante Search Engine Optimization | Internet Marketing Blog | SEO Web Design

phone - call us

Are you having problems where your server’s information is showing in the “From” line and you want to show your customer’s email address (or the person who filled out your online form) instead?  Your original code may look like this below…

Original code:
$name = stripslashes($_POST[‘name’]);
$email = trim($_POST[’email’]);
$subject = stripslashes($_POST[‘subject’]);
$message = stripslashes($_POST[‘message’]);
$phone = stripslashes($_POST[‘phone’]);
$answer = trim($_POST[‘answer’]);
$error = ”;
$headers .= “From: $email\n”;
$headers = ‘MIME-Version: 1.0’ . “\r\n”;
$headers = “Content-Type: text/html; charset=iso-8859-1\n”.$headers;

Now revise your code to the following:

Revised Code:
$name = stripslashes($_POST[‘name’]);
$email = trim($_POST[’email’]);
$subject = stripslashes($_POST[‘subject’]);
$message = nl2br($_POST[‘message’]);
$phone = stripslashes($_POST[‘phone’]);
$answer = trim($_POST[‘answer’]);
$error = ”;
$headers= “From: $name $headers.= “Reply-to:” . $email . “\n”;
$headers .= ‘MIME-Version: 1.0’ . “\r\n”;
$headers = “Content-Type: text/html; charset=iso-8859-1\n”.$headers;

The items the were updated:

  • $message in order to have the message text properly shown.
  • Updated “From” line.
  • Updated  the “Reply-to” line in order to reply to the person who filled the contact form and not ourselves.
  • Added a ”.” in the line of the MIME in order to send the mail with the mail of person who filled the contact form

I hope it helped people who use this awesome and easy script. If I made some mistakes in those modification don’t hesitate to correct me (I’m not a php dev.).

Louisville BBB testing business review, complaint system
Business First by Ed Green
Date: Wednesday, September 7, 2011, 9:39am EDT

The Better Business Bureau serving Louisville, Southern Indiana and Western Kentucky is working with 10 other Better Business Bureaus to test a system that allows consumers to post customer reviews of businesses.

As part of the test, the bureaus will publish the text of customer complaints and business responses in each company’s reviews.

A news release said BBB research found consumers want reviews that contain more information. The bureaus also are responding to the growth in the number of online customer reviews on sites such as Google, and Angie’s List and Yelp.

“Customers want more information about businesses, and that’s exactly what we’ll give them,” Charlie Mattingly, president and CEO of the Louisville BBB, said in the release. “BBB is satisfied that these reviews will help good businesses build customer confidence through positive customer feedback. But we’d be kidding ourselves to believe that all customer comments will be positive … or entirely fair. Good businesses can expect many positive reviews … and set themselves apart from the few bad businesses that can be expected to collect more critical customer reviews.”


Did you recently decide to move your website to a new host on VPS or Dedicated server from a shared account? You will also need to to move your SSL certificate as well. Some service providers will try to get you to install a new SSL cert from their company which could cost an additional $100 plus per year. All SSL certs are pretty much the same. So, keep your third party SSL (I recommend GoDaddy’s SSL) and save some more money by installing it yourself. Don’t worry, it’s simple! See instructions below…

Step 1: Create A Certificate Signing Request (CSR)
Login into WHM and click SSL/TLS >> Generate a SSL Certificate & Signing Request. Keep the SSL domain or subdomain the same as you original had it. Note: If you didn’t select * then next time write it this way because you will be able to use for your domain and any subdomain you create.


Step 2: Log Into Your Godaddy Account or Third Party SSL Account
We use Godaddy just because they have pretty good customer service support, always running a special and they will be in business for the forseeable future. However, there are a number of other good third part SSL providers. After logging into your account goto the your SSL Certificate and click on re-key. Paste the CSR into this section, hit submit and download files.


Step 3: Open Your SSL Cert in Notepad And Copy
Unzip the your SSL cert and open it up in notepad. Godday usually has more than one file when unzipped so the one you should open is usually the gd_bundle. However, if you do not know which file your cert is located in then open each file until you find the one that reads “—–BEGIN CERTIFICATE—–“ Select all and copy.

Step 4: Install a SSL Certificate and Setup the Domain
Last step! Go back WHM and click SSL/TLS >> Install on SSL Certificate and Setup the Domain. Paste your certificate from your notpad in the CRT box (usually the first box). You may also have to type in your SSL domain (subdomain) and hit fetch. The rest of the info (key) is automatically generated. So click submit and you have just installed a SSL certificate. See below.


If you found this article helpful you have our permission to link back to our website – Aliante Web Design – as a reference.

Tagged with:  

Did you recently switch from shared hosting to VPS or Dedicated hosting? Then there might be a permission writing issue with wordpress that reads “Sorry, but I can’t write the wp-config.php file”

The solution: Change the mod_php. Login into WHM and click the following Service Configuration >> Apache Configuration >> PHP and SuExec Configuration. Change it to CGI. That’s it.

See example below…

Tagged with:  

The total number of mobile internet users are expected to reach 134 million by 2013 as a result of increasing rise in smartphone popularity according to the research firm, eMerketer. Additionally, estimates that combined spending on consumer and business mobile applications will top $13 billion worldwide by 2012, “a nearly fivefold increase over 2009,” says eMarketer.