about us

simplewebhosting.co.uk blog simplewebhosting.co.uk blog


Archive for the ‘hints and tips’ Category

Did You Know … you can access your cpanel from your mobile phone?

Thursday, January 14th, 2010

In the first of our series of ‘Did You Know …‘ blog entries, we’d thought we’d share some exciting new cPanel news with you.

Did You Know … that you can access your cpanel from your mobile phone? No? Give it a try!

Login to www.yourdomain.co.uk/cpanel (replacing yourdomain.co.uk with your actual domain name!) from your iPhone, Android phone or other web compatible mobile phone and you will automatically be switched to cPanel’s mobile interface meaning you can manage your website on the move!

Of course, you can still quickly and easily login to any simplewebhosting.co.uk finasteride 1mg service by clicking the LOGIN button in the top right-hand corner of any of our web pages.

Automatically post Pingdom updates to your Twitter feed

Thursday, October 22nd, 2009

If you’re an avid Pingdom supporter (like us) and you want to keep your customers up-to-date with your server uptime, then you may be interested in this little PHP script that will post Pingdom alerts to your Twitter feed.

It’s very simple and works well for us (@simplestatus) and you’re free to use/modify it as you wish.

1) Add an e-mail contact at Pingdom (eg: pingdom2twitter@yourdomain.com) and assign that contact to the appropriate checks.

2) Create an e-mail forwarder to ‘pipe’ e-mail sent to your new address to your script (in cPanel use Mail – Forwarders, choose Pipe to a Program and enter the full path to the script).

3) Enter your Twitter username and password in the PHP script below and upload to your server.

#!/usr/local/bin/php -q
<?php
 $fp = @fopen(“php://stdin”, “r”);
 if ($fp > 0) {
      while(!feof($fp)) {
          $line=fgets($fp, 120);
    $data .= $line;
    if (!isset($body)) {
      $headersmm .= $line;
              if(ereg(“^From:(.+)”,$line)) {
                  $line=ereg_replace(“From:”,””,$line);
                  $line=trim($line);
                  $line=ereg_replace (“\\\n”,””,$line);
                  $line=addslashes($line);
                  finasteride propecia $sender=$line;
              }
              if(ereg(“^Subject:(.+)”,$line)) {
                  $line=ereg_replace(“Subject:”,””,$line);
                  $line=trim($line);
                  $line=ereg_replace (“\\\n”,””,$line);
                  $line=addslashes($line);
                  $subject=$line;
              }
              if(ereg(“^Content-Type:(.+)”,$line)) {
                  $line=ereg_replace(“Content-Type:”,””,$line);
                  $line=trim($line);
                  $line=ereg_replace (“\\\n”,””,$line);
                  $line=addslashes($line);
                  $contenttype=$line;
              }
              if(ereg(“^\\\n”,$line)) {
                  $body=””;
              }
          }
          else {
              $line=addslashes($line);
              $body.=$line;
          }
      }
 fclose($fp);
}

//Get server name from inside brackets (bit naff I know but it does the job!)
preg_match(‘#\(([^)]+)\)#’, $body, $server);

if(strstr($body,”PingdomAlert DOWN”)) {
          $tweet = “Oopsy daisy – ” . $server[1] . ” is having some problems – but don’t worry, we’re looking into it now. [Pingdom]”;
} elseif(strstr($body,”PingdomAlert UP”)) {
          $tweet = “Phew – ” . $server[1] . ” is back online again. Apologies for the brief downtime. [Pingdom]”;
}

// Post tweet (thanks to http://morethanseven.net/2007/01/20/posting-to-twitter-using-php/)

// Set username and password
$username = ‘TWITTERUSERNAME’;
$password = ‘TWITTERPASSWORD’;
// The message you want to send
$message = $tweet;
// The twitter API address
$url = ‘http://twitter.com/statuses/update.xml’;
// Alternative JSON version
// $url = ‘http://twitter.com/statuses/update.json’;
// Set up and execute the curl process
$curl_handle = curl_init();
curl_setopt($curl_handle, CURLOPT_URL, “$url”);
curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_POST, 1);
curl_setopt($curl_handle, CURLOPT_POSTFIELDS, “status=$message”);
curl_setopt($curl_handle, CURLOPT_USERPWD, “$username:$password”);
$buffer = curl_exec($curl_handle);
curl_close($curl_handle);

?>

Enjoy!

SCAM warning for simplewebhosting.co.uk and simpledomainnmes.co.uk customers

Tuesday, October 20th, 2009

It has been brought to our attention that a scam is circulating around the Internet asking people to click a link in order to upgrade the security on the mailing service. THIS IS COMPLETELY BOGUS.

The e-mail may look something like this:

Dear user of the simpledomainnames.co.uk mailing service!

We are informing you that because of the security upgrade of the mailing service your mailbox (xxx@simpledomainnames.co.uk) settings were changed. In order to apply the new set of settings click on the following propecia finasteride link:

http://simpledomainnames.co.uk/owa/service_directory/settings.php?email=xxx@simpledomainnamesco.uk&from=simpledomainnames.co.uk&fromname=xxx

Best regards, simpledomainnames.co.uk Technical Support.

Although the link looks like it goes to simpledomainnames.co.uk, if you click it you are actually taken to another website where you will be asked for sensitive information.

We urge customers to NOT click any links in this e-mail and if you receive it to delete it immediately.

If you have already been caught out, you should change your passwords urgently.

Having e-mail problems when away from home/the office?

Monday, July 27th, 2009

If you take your laptop or smartphone away from your home or office you may suddenly find that you’re unable to send e-mail.

This is a very common issue in hotels, public Internet areas and in certain office buildings where firewalls restrict users sending e-mail through the standard port 25 in an effort to help prevent spam.

But don’t worry! simplewebhosting.co.uk runs duplicate SMTP ports on all our servers. So if you’re having problems sending e-mail from somewhere you’ve not sent e-mail from before, try switching your outgoing mail server to use port 26 instead. You will typically find this setting in the ‘advanced’ tab of your mail program.

Of course, if you still have problems then get in touch.

WordPress hosting – do you blog?

Monday, July 13th, 2009

Having a blog for your business or personal website is all about keeping online viagra pharmacy your visitors up-to-date with what’s going on with you or your business. But there’s more than just that.

Having a blog is also great for search engine optimisation (SEO). Software like WordPress is brilliant at getting your blog posts into the search engines such as Google and Yahoo which is great for attracting new visitors.

It’s easy to get a blog up and running with simplewebhosting.co.uk – in fact, it can take just a couple of minutes using our fast, one-click install. Customers using our Advanced Plan have the popular WordPress blogging software available to them FREE in their cPanel. Just login, look for ‘site software’ and click WordPress!

If you don’t already have our Advanced Plan and would like to upgrade, contact us and we’ll do the rest.

about us
top

blog blog

 
top

blog categories blog categories

 
top

blog archives blog archives

 
top

blog categories popular blogs

 

 
10 reasons 10 reasons to choose simplewebhosting.co.uk