Browse Category

Tutorials

How to auto-forward specific emails in gmail

How to auto-forward specific emails in gmail?

How to auto-forward specific emails in gmailHi All, I’ve got another quick tutorial for you. This time we’re looking at how to forward specific emails in Gmail to another email account.

For example, you may find yourself in the situation where you need to forward certain emails that are going to your personal Gmail account to your work or maybe your Outlook email, Hotmail, Yahoo accounts etc.

Note, this tutorial doesn’t run through how to forward all your Gmail (catch all), just certain emails. That said, it’s all in the same place and just a matter to selecting “Forward a copy of incoming mail to” if this is what you want to do.

XP System Fix

How to fix a Missing/Corrupt SYSTEM file in Windows XP without the Recovery CD

XP System Fix

This tutorial aims to teach you how to fix a corrupt or missing SYSTEM file in windows XP without the use of the recovery CD.

I spent 6 hours round a friend’s house yesterday and finally came up with a solution that worked. Today, I want to share what I’ve learnt to help other folks get round this fairly common issue without the grief I had to go through!

Disclaimer – I am not a computer repair technician. Just a computer geek sharing a solution that worked for me. Continue at your own risk, I take no responsibility whatsoever what happens. Always back up, and if you’re not sure, don’t proceed.

How to transfer contacts from iPhone to Google Contacts

How to transfer contacts from your iPhone to Google ContactsTime for another quick how to. This time we’re looking at how to migrate your contacts from your iPhone to Google contacts. This wil be useful for anyone that is moving from iOS over to android or just simply wants to make sure that their iPhone contacts are synced with whats in Gmail or Google contacts is.

I should point out that although the title of this post is “How to Transfer contacts from iPhone to Google Contacts”, this will actually work for any itunes account that has iCloud set up as we’ll actually be exporting your contacts from iCloud to Google Contacts.

Enabling cURL in PHP

Enabling CURL in PHP (PHP.ini, WAMP, XAMPP, Ubuntu)

Enabling cURL in PHP
Enabling php_curl in PHP

In this quick tip tutorial we’re looking at how to enable CURL in PHP. I’ve included a number of different options as it may be different depending on what your running.

For those that want a bit of background on what CURL is and can be used for continue reading. If you just want the answer click here!

What is CURL?

CURL is a library created by Daniel Stenberg that allows you to connect and communicate via a variety of different protocols such as HTTP, HTTPS, FTP, Telnet etc

How to Export / Backup CuteFTP Site Manager

How to backup CuteFTP
How to backup CuteFTP

Skip To Quick Solution

In the past I’ve had issues using CuteFTP’s Import / Export feature to migrate my FTP site list, in particular, loosing password information. This tutorial teaches you how to export or backup your CuteFTP Site Manager and keep your passwords and connection data intact.

Notice: Before we go any further…

This is the process i use when i need to quickly transfer my FTP connection data over to a new machine or if for some reason i need to reinstall CuteFTP (CuteFTP 7 & 8).  Whether it is the ‘right way’ I’m not sure, but it works for me. I take NO responsiblity for any mishaps you may have following this process. Just be careful and if your not sure, leave it.

CSS Browser Hacks

CSS Browser Hacks
CSS Browser Hacksl

Here we’re going to have a look at a few CSS browser hacks which you can use in those horrible situations where the page looks perfect in all browsers apart for one (IE6 cough!).

@import

@import is used to link an external stylesheet from within a stylesheet/CSS. Earlier version 4 browsers (e.g. Netscape Navigator 4) do not understand this rule and therefore ignore it.

301 redirects using htaccess

301 redirect htaccess tutorial
301 redirect htaccess tutorial

In this tutorial we look implementing 301 redirects using htaccess and cover the following:


Before we go any further lets cover a few important points to bare in mind before starting:

  • htacccess is a configuration file for Linux Apache servers and not traditonally available on an IIS/Windows server (using Windows/IIS?)
  • The Apache Mod-Rewrite moduled must be enabled – uncomment LoadModule rewrite_module modules/mod_rewrite.so in your httpd.conf

Robots.txt Tutorial

Robots.txt Tutorial
Robots.txt Tutorial

IMPORTANT: be very careful when playing about with your robots.txt, its very easy to block off your entire site without realising!…

Covered in this post:

What is a Robots.txt?

A Robots.txt is a file used by  webmaster  to advise spiders and bots (e.g. googlebot)  where in the website they are allowed to crawl. The robots.txt is stored in a website’s root folder, for example:  http://www.domain.com/robots.txt

Enabling Short Tags in PHP

php short tag
enabling php short tag tutorial

In this tutorial we look at how you enable short tags in PHP. Short Tags or short_open_tag as it is know in PHP.ini allows you the option to use short style opening tags for PHP code blocks e.g. <? instead of <?php.

To enable this feature on your server open PHP.ini file (this should be somewhere in your PHP install folder e.g.  /bin/php/phpx.x.x/php.ini) and change the short_open_tag setting to:

short_open_tag=On

MySQL – SELECT * FROM table WHERE date = TODAY

mySQL SELECT WHERE date = today
mySQL SELECT WHERE date = today

The Quick answer is:

SELECT * FROM myTable WHERE DATE(myDate) = DATE(NOW())

I was tearing my hair out trying to figure this the other morning and its really quite simple. I thought i may have use a day month year match or possibly use PHP but thankfully the guys at MySQL included this nice DATE() function which means you don’t have to worry about the hours, minutes and seconds being different. Simples!
MySQL DATE / TIME Functions

The functions used in thie MySQL query are:

  • 1
  • 2