HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-84-generic #84-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 5 22:36:38 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: /home/seopositiveltd.co.uk/tutorials-sub/category/php.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
<head profile="https://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>
php &laquo; SEO Positive: SEO Tutorials, PPC Pay Per Click Tutorials, Web Design & Web Development Tutorials</title>
	<link rel="canonical" href="https://www.seopositiveltd.co.uk/tutorials-sub/category/php" />
<link rel="stylesheet" href="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/style.css" type="text/css" media="screen"/>
<link rel="pingback" href="https://tutorials.seopositiveltd.co.uk/xmlrpc.php"/>
<!--[if IE 6]>
<link rel="stylesheet" href="/wp-content/themes/seopositive/ie6.css" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 7]>
<link rel="stylesheet" href="/wp-content/themes/seopositive/ie7.css" type="text/css" media="screen" />
<![endif]-->
<script src="../../ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<link rel="stylesheet" id="contact-form-7-css" href="https://tutorials.seopositiveltd.co.uk/wp-content/plugins/contact-form-7/styles.css?ver=2.4.2" type="text/css" media="all"/>
<script type="text/javascript" src="https://tutorials.seopositiveltd.co.uk/wp-includes/js/jquery/jquery.js?ver=1.4.2"></script>
<link rel="index" title="SEO Positive: SEO Tutorials, PPC Pay Per Click Tutorials, Web Design &amp; Web Development Tutorials" href="https://tutorials.seopositiveltd.co.uk"/>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body class="archive category category-php">
<div id="wrapper">
<div class="hidden"></div>
<div id="header">
	<div class="hidden">
    </div>
	<div id="logo"><a href="https://www.seopositive.co.uk/"></a></div>
    <div id="header-info">
    	<div class="menu-top-container"><ul id="menu-top" class="menu"><li id="menu-item-4228" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-4228"><a href="https://my.seopositive.co.uk/">Client Login</a></li>
<li id="menu-item-4227" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4227"><a href="https://www.seopositive.co.uk/careers.php">Careers</a></li>
<li id="menu-item-4229" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-4229"><a href="https://www.seopositive.co.uk/partners.php">Partners</a></li>
</ul></div> 
        <div class="clear"></div>
    	<div class="call-us"> 0800 088 6000</div>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>    
    <div id="content-container">
        <div id="content" class="narrowcolumn" role="main">
        	<ul id="menu-main">
    <li><a href="/">Home</a>
        <ul class="first"><li><a href="/">Home</a></li></ul>
    </li>
    <li><a href="../../about-us">About us</a>
        <ul><li><a href="../../about-us">About us</a></li></ul>
    </li>
    <li><a>Services</a>
        <ul class="dropdown"><li><a>Services</a></li></ul>
        <ul class="services-bg">
            <ul>
                <li><a href="../../search-engine-optimisation">Search Engine Optimisation</a></li>
                <li><a href="../../pay-per-click">Pay Per Click</a></li>
                <li><a href="https://www.webdesignpositive.co.uk/">Website Design</a></li>
                <li><a href="../../website-design-portfolio">Design Portfolio</a></li>
            </ul>
            <ul>
                <li><a href="../../email-marketing">Email Marketing</a></li>
                <li><a href="../../reputation-management">Reputation Management</a></li>
                <li><a href="../../link-building">Link Building</a></li>
                <li><a href="../../hosting">Hosting</a></li>
            </ul>
            <div class="clear"></div>
        </ul>
    </li>
    <li><a href="../../search-engine-optimisation">SEO Services</a>
        <ul><li><a href="../../search-engine-optimisation">SEO Services</a></li></ul>
    </li>
    <li><a href="../../pay-per-click">PPC Services</a>
        <ul><li><a href="../../pay-per-click">PPC Services</a></li></ul>
    </li>
    <li><a>Testimonials</a>
        <ul class="dropdown"><li><a>Testimonials</a></li></ul>
        <ul class="testimonials-bg">
            <ul>
                <li><a href="../../seo-testimonials">Search Engine Optimisation</a></li>
                <li><a href="../../ppc-testimonials">Pay Per Click</a></li>
                <li><a href="../../web-design-testimonials">Website Design</a></li>
            </ul>
            <div class="clear"></div>
        </ul>
    </li>
    <li><a href="../../awards">Awards</a>
        <ul><li><a href="../../awards">Awards</a></li></ul>
    </li>
    <li><a href="../../contact-us">Contact us</a>
        <ul><li><a href="../../contact-us">Contact us</a></li></ul>
    </li>
    <li><a>Blog</a>
        <ul class="last"><li><a href="../../blog">Blog</a></li></ul>
    </li>
</ul>            
            <div id="main-content">
            <div id="content-left">
                        <div class="post-523 post type-post hentry category-programming-php category-php" id="post-523">
                            <h2><a href="/" rel="bookmark" title="Permanent Link to Difference between is_file() and file_exists()">Difference between is_file() and file_exists()</a></h2>
                            <hr/>
                            <p><small>February 2nd, 2011 <!-- by admin --></small></p>
                            <div class="entry">
                                <div class="tweetmeme_button" style="float: right; margin-left: 10px;"><iframe src="https://api.tweetmeme.com/button.js?url=http%3A%2F%2Ftutorials.seopositiveltd.co.uk%2Fdifference-between-is_file-and-file_exists.php&amp;style=normal" height="61" width="50" frameborder="0" scrolling="no"></iframe></div>
<p>One bug I fixed this week was down to one of the features of file_exists() function. File_exists(string $filename ) will return true if the filename points to a file <em>or directory</em>.  Is_file( string $filename ) will return false if the given path is a directory. To check whether filename is actually a file, use  is_file().</p>
<p>For both, $filename cannot be a relative path, so I always use document root to ensure an absolute path.</p>
<p><code><br/>
<?php<br />
if( file_exists( $_SERVER{'DOCUMENT_ROOT'} . "/images/picture.jpg"))  {<br/>
   ...<br/>
}<br/>
?&gt;<br/>
</code></p>
                            </div>
                            <p class="postmetadata"> Posted in <a href="../../tutorials-sub/category/php/programming-php" title="View all posts in Programming PHP" rel="category tag">Programming PHP</a>, <a href="../../tutorials-sub/category/php" title="View all posts in php" rel="category tag">php</a></p>
                        </div>
                        <div class="post-333 post type-post hentry category-programming-php category-apache category-css category-htmlxhtml category-javascript category-mysql category-php category-website-design tag-mysql tag-php tag-site-transfer" id="post-333">
                            <h2><a href="/" rel="bookmark" title="Permanent Link to Transferring websites, no fail">Transferring websites, no fail</a></h2>
                            <hr/>
                            <p><small>November 29th, 2010 <!-- by admin --></small></p>
                            <div class="entry">
                                <div class="tweetmeme_button" style="float: right; margin-left: 10px;"><iframe src="https://api.tweetmeme.com/button.js?url=http%3A%2F%2Ftutorials.seopositiveltd.co.uk%2Ftransferring-websites-no-fail.php&amp;style=normal" height="61" width="50" frameborder="0" scrolling="no"></iframe></div>
<p>All developers have to transfer sites at some point, if you don’t I envy you. It seems that site transfers always have teething issues with the difference in server builds, operating systems having different compilations of PHP and the rest.</p>
<p>And worst of all, different hosts limitations&#8230;</p>
<p>But to transfer a site you need to make a simple list of things that need to be done in order for it to work.</p>
<ul>
<li>Get all files, including hidden files (many a time I’ve been caught up on the .htaccess on a mac being hidden and a site riddled with 404 errors&#8230;)</li>
<li>Get all database details of the new server</li>
<li>Update all calls to databases</li>
<li>Use Dream Weaver (for the only things its any good for) to search and replace across the site for the old URL and change it to the new one, and the same with database details)</li>
<li>Make sure image, stylesheet, javascript and any other call is base root not an absolute URL (unless externally hosted)</li>
<li>Upload everything, including creating the new databases</li>
<li>Test everything, fix bugs and teething issues</li>
</ul>
<p>If you can do all of the above your site will transfer easy peasy.</p>
                            </div>
                            <p class="postmetadata">Tags: <a href="/" rel="tag">mysql</a>, <a href="https://www.seopositiveltd.com/blog/tag" rel="tag">php</a>, <a href="/" rel="tag">site transfer</a><br/> Posted in <a href="../../tutorials-sub/category/php/programming-php" title="View all posts in Programming PHP" rel="category tag">Programming PHP</a>, <a href="../../tutorials-sub/category/apache" title="View all posts in apache" rel="category tag">apache</a>, <a href="../../tutorials-sub/category/css" title="View all posts in css" rel="category tag">css</a>, <a href="../../tutorials-sub/category/htmlxhtml" title="View all posts in html/xhtml" rel="category tag">html/xhtml</a>, <a href="../../tutorials-sub/category/javascript" title="View all posts in javascript" rel="category tag">javascript</a>, <a href="../../tutorials-sub/category/mysql" title="View all posts in mysql" rel="category tag">mysql</a>, <a href="../../tutorials-sub/category/php" title="View all posts in php" rel="category tag">php</a>, <a href="../../tutorials-sub/category/website-design" title="View all posts in website design" rel="category tag">website design</a></p>
                        </div>
                        <div class="post-321 post type-post hentry category-programming-php category-php tag-learn-php tag-php tag-php-ternary-operator tag-php-tutorials" id="post-321">
                            <h2><a href="/" rel="bookmark" title="Permanent Link to The Ternary Operator, minimising if and else">The Ternary Operator, minimising if and else</a></h2>
                            <hr/>
                            <p><small>November 24th, 2010 <!-- by admin --></small></p>
                            <div class="entry">
                                <div class="tweetmeme_button" style="float: right; margin-left: 10px;"><iframe src="https://api.tweetmeme.com/button.js?url=http%3A%2F%2Ftutorials.seopositiveltd.co.uk%2Fthe-ternary-operator-minimising-if-and-else.php&amp;style=normal" height="61" width="50" frameborder="0" scrolling="no"></iframe></div>
<p>Every developer knows just how many if and else statements are needed for validation, data checks, state checks, etc.</p>
<p>And they take up a lot of space and cause necessary amounts of code, this tutorial is about to teach you a way to make your if and else statements all on one single line.</p>
<h1>Ternary Operator</h1>
<p>The ternary operator is an if else statement compressed to one single line using the ? and : operands, see below for an example ternary operator</p>
<pre class="brush: php">$apples = ( $colour == 'green' ) ? 'Tasty green apples' : 'Nasty rotten apples' ;
</pre>
<p>The above is the exact equivalent to the below:</p>
<pre class="brush: php">if( $color == 'green' ) {
       $apples = 'Tasty green apples';
}
else {
      $apples = 'Nasty rotten apples';
}
</pre>
<p>Which we can all agree is far more troublesome and big, some people say that an if and else statement is easier to read than a ternary operator. It can be argued until man steps foot on Mars its a personal preference thing. Personally, I use the ternary operator wherever possible but sometimes its not possible. See below for an example that you couldn’t use a ternary operator for:</p>
<pre class="brush: php">
if ( $database-&gt;row_result == 'something' ) {
       $database-&gt;row_result = substr ( $database-&gt;row_result, 0, 100 );
       $this-&gt;some_cool_function( $database-&gt;row_result );
       return validate_the_above ( );
}
else {
       throw new RunTimeException ( 'the result was in a malformed state' );
       exit;
}
</pre>
<p>The reason the above will not work in a ternary operator is the required state involves multiple lines of code in order to finish the operation (whatever yours is) and a ternary operator will only handle function calls, variable setting and validation.</p>
<p>In essence the ternary operator is a great getter and setter method (until PHP6 is released with C style getters and setters).</p>
<p>But what if you only wanted to validate something was there and use the else?</p>
<p>Since PHP 5.3 they have made this shortcut available see below for an example.</p>
<pre class="brush: php">
$apples = ( $colour == 'brown' ) ?: 'Nasty rotten apples';
</pre>
<p>Notice the above has no true statement and will only set in the event of a false validation.</p>
                            </div>
                            <p class="postmetadata">Tags: <a href="/" rel="tag">learn php</a>, <a href="https://www.seopositiveltd.com/blog/tag" rel="tag">php</a>, <a href="/" rel="tag">php ternary operator</a>, <a href="/" rel="tag">PHP Tutorials</a><br/> Posted in <a href="../../tutorials-sub/category/php/programming-php" title="View all posts in Programming PHP" rel="category tag">Programming PHP</a>, <a href="../../tutorials-sub/category/php" title="View all posts in php" rel="category tag">php</a></p>
                        </div>
                        <div class="post-271 post type-post hentry category-programming-php category-apache category-php tag-php tag-php-tutorial tag-php-tutorials" id="post-271">
                            <h2><a href="../../tutorials-sub/php-file_get_contents-tutorials" rel="bookmark" title="Permanent Link to PHP file_get_contents tutorials">PHP file_get_contents tutorials</a></h2>
                            <hr/>
                            <p><small>November 22nd, 2010 <!-- by admin --></small></p>
                            <div class="entry">
                                <div class="tweetmeme_button" style="float: right; margin-left: 10px;"><iframe src="https://api.tweetmeme.com/button.js?url=http%3A%2F%2Ftutorials.seopositiveltd.co.uk%2Fphp-file_get_contents-tutorials.php&amp;style=normal" height="61" width="50" frameborder="0" scrolling="no"></iframe></div>
<p>Anyone asking for the ability to pull data off another website or to globalise a collection of links or anything you want will come across the file_get_contents function. This function is very useful for data scraping or for generalising a collection of links or general content.</p>
<p>The function itself does nothing but puts the source of the web page you supply it into a string available for use throughout your script.</p>
<p>It does have sister functions such as file() which puts the source code into an indexed array (a new array element for every line of code) and CURL.</p>
<p>While there are a huge number of solutions to doing this, file_get_contents is for me the easiest as with regular expressions its unstoppable.</p>
<p>To use file_get_contents():</p>
<pre class="brush: php">$data = @file_get_contents( "https://www.bbc.co.uk/" );
if( $data ) echo htmlentities( $data );
</pre>
<p>The above will output the source code of the very latest BBC home page (with html entities so you get the source not just a reconstructed bbc home page)</p>
<p>Using regular expressions you can pull any piece of data throughout the source code.</p>
                            </div>
                            <p class="postmetadata">Tags: <a href="https://www.seopositiveltd.com/blog/tag" rel="tag">php</a>, <a href="/" rel="tag">php tutorial</a>, <a href="/" rel="tag">PHP Tutorials</a><br/> Posted in <a href="../../tutorials-sub/category/php/programming-php" title="View all posts in Programming PHP" rel="category tag">Programming PHP</a>, <a href="../../tutorials-sub/category/apache" title="View all posts in apache" rel="category tag">apache</a>, <a href="../../tutorials-sub/category/php" title="View all posts in php" rel="category tag">php</a></p>
                        </div>
                        <div class="post-261 post type-post hentry category-apache category-php category-seo category-wordpress tag-wordpress-header-stripping tag-wordpress-optimisation" id="post-261">
                            <h2><a href="/" rel="bookmark" title="Permanent Link to WordPress Stripping tags that aren’t helpful">WordPress Stripping tags that aren’t helpful</a></h2>
                            <hr/>
                            <p><small>November 17th, 2010 <!-- by admin --></small></p>
                            <div class="entry">
                                <div class="tweetmeme_button" style="float: right; margin-left: 10px;"><iframe src="https://api.tweetmeme.com/button.js?url=http%3A%2F%2Ftutorials.seopositiveltd.co.uk%2Fwordpress-stripping-tags-that-arent-helpful.php&amp;style=normal" height="61" width="50" frameborder="0" scrolling="no"></iframe></div>
<p>We’re big fans of WordPress at SEO Positive, purely for its ease and speed of development as well as the sheer number of awesome plugins.</p>
<p>But WordPress also has a habit of being &#8220;too good&#8221; and puts quite a substantial amount of junk code in your websites/blogs, this tutorial will show you how to remove this code.</p>
<h2>WordPress Header Stripping</h2>
<p>WordPress has a habit of putting a lot of tags in your header that generally aren’t needed such as the &#8220;index&#8221;, &#8220;EditURL&#8221;, &#8220;next&#8221; and &#8220;generator&#8221; meta and link tags. These are surprisingly easy to strip out because WordPress has a great function to do just that.</p>
<pre class="brush: php">remove_action( 'wp_head', 'adjacent_posts_rel_link_wp_head' );
remove_action( 'wp_head', 'rsd_link' );
remove_action( 'wp_head', 'wlwmanifest_link' );
remove_action( 'wp_head', 'wp_generator' );
</pre>
<p>The above will remove pretty much all of the junk out of your WordPress headers leaving them squeeky clean. For an example of what this strips out visit <a href="https://www.seopositive.co.uk/">SEO Positive</a> and view the source.</p>
<p>To use the above code, simply paste this into your themes functions.php and save/refresh your page to see the difference.</p>
<h2>WordPress &#8220;role&#8221; attributes</h2>
<p>WordPress is a very semantically conscious CMS and blogging system and this is proven by viewing your template source and noticing the &#8220;role&#8221; attribute on most of the containers throughout the code.</p>
<p>The role attribute is NOT just a WordPress piece of code and you CAN delete these but these are fairly clever pieces of code aimed for search engines. Its kind of (simply put) the closest thing to the semantic-ness of HTML 5 or XHTML 2. The role attribute is to distinguish what each container is used for, see <a href="https://www.w3.org/TR/xhtml-role/">here </a>for the documentation on this attribute.</p>
<p><strong>I will briefly explain the most important and used &#8220;role&#8221; attributes below:</strong></p>
<ul>
<li><em>role=&#8221;banner&#8221;</em>
<ul>
<li>This is to tell engines and screen readers that this is the primary area for images, big text and advertisements.</li>
</ul>
</li>
<li><em>role=&#8221;navigation&#8221;</em>
<ul>
<li>This is to distinguish navigational buttons for the website, its only recommended to have the one of these any sub menus (seperate columns etc) just leave as they are not primary navigational areas.</li>
</ul>
</li>
<li>role=&#8221;main&#8221;
<ul>
<li>This is the most important of the roles as this tells everything that this is the main content area of the website</li>
</ul>
</li>
</ul>
<p>WordPress is filled with all kinds of clever bits and bobs to help you develop your sites/blogs and with a range of plugins to help you achieve your perfect site. We use SEO Ultimate to help us diagnose our websites and better achieve SEO domination which contains fantastic tools for inserting code into your headers and footers for analytics and validation tags etc.</p>
                            </div>
                            <p class="postmetadata">Tags: <a href="/" rel="tag">wordpress header stripping</a>, <a href="/" rel="tag">wordpress optimisation</a><br/> Posted in <a href="../../tutorials-sub/category/apache" title="View all posts in apache" rel="category tag">apache</a>, <a href="../../tutorials-sub/category/php" title="View all posts in php" rel="category tag">php</a>, <a href="../../tutorials-sub/category/seo" title="View all posts in seo" rel="category tag">seo</a>, <a href="../../tutorials-sub/category/wordpress" title="View all posts in wordpress" rel="category tag">wordpress</a></p>
                        </div>
                    <div class="navigation">
                        <div class="alignleft"><p><a href="/">&laquo; Older Entries</a></p></div>
                        <div class="alignright"><p></p></div>
                    </div>
                    <div class="clear"></div>
                    <hr/>
                </div>
                <div id="sidebar">
                    <h3 class="widget-title">Categories</h3>		<ul>
	<li class="cat-item cat-item-10"><a href="../../tutorials-sub/category/apache" title="View all posts filed under apache">apache</a>
</li>
	<li class="cat-item cat-item-3"><a href="../../tutorials-sub/category/brain-candy" title="View all posts filed under Brain Candy">Brain Candy</a>
</li>
	<li class="cat-item cat-item-214"><a href="../../tutorials-sub/category/cms" title="View all posts filed under CMS">CMS</a>
</li>
	<li class="cat-item cat-item-66"><a href="../../tutorials-sub/category/other-technology/cold-fusion" title="View all posts filed under cold fusion">cold fusion</a>
</li>
	<li class="cat-item cat-item-29"><a href="../../tutorials-sub/category/command-line-editors" title="View all posts filed under Command Line Editors">Command Line Editors</a>
</li>
	<li class="cat-item cat-item-206"><a href="../../tutorials-sub/category/pay-per-click-ppc/conversion-tracking-pay-per-click-ppc" title="View all posts filed under Conversion Tracking">Conversion Tracking</a>
</li>
	<li class="cat-item cat-item-11"><a href="../../tutorials-sub/category/css" title="View all posts filed under css">css</a>
</li>
	<li class="cat-item cat-item-133"><a href="../../tutorials-sub/category/pay-per-click-ppc/display-network" title="View all posts filed under Display Network">Display Network</a>
</li>
	<li class="cat-item cat-item-174"><a href="../../tutorials-sub/category/google-1" title="View all posts filed under Google +1">Google +1</a>
</li>
	<li class="cat-item cat-item-132"><a href="../../tutorials-sub/category/pay-per-click-ppc/google-adwords-2" title="View all posts filed under Google Adwords">Google Adwords</a>
</li>
	<li class="cat-item cat-item-115"><a href="../../tutorials-sub/category/web-analytics/google-analytics" title="View all posts filed under google analytics">google analytics</a>
</li>
	<li class="cat-item cat-item-102"><a href="../../tutorials-sub/category/shopping-feeds/google-product-feed" title="View all posts filed under Google Product Feed">Google Product Feed</a>
</li>
	<li class="cat-item cat-item-190"><a href="../../tutorials-sub/category/shopping-feeds/google-shopping-shopping-feeds" title="View all posts filed under Google Shopping">Google Shopping</a>
</li>
	<li class="cat-item cat-item-200"><a href="../../tutorials-sub/category/google-webmaster" title="View all posts filed under Google Webmaster">Google Webmaster</a>
</li>
	<li class="cat-item cat-item-12"><a href="../../tutorials-sub/category/htmlxhtml" title="View all posts filed under html/xhtml">html/xhtml</a>
</li>
	<li class="cat-item cat-item-128"><a href="../../tutorials-sub/category/illustrator" title="View all posts filed under Illustrator">Illustrator</a>
</li>
	<li class="cat-item cat-item-13"><a href="../../tutorials-sub/category/javascript" title="View all posts filed under javascript">javascript</a>
</li>
	<li class="cat-item cat-item-42"><a href="../../tutorials-sub/category/joomla" title="View all posts filed under joomla">joomla</a>
</li>
	<li class="cat-item cat-item-22"><a href="../../tutorials-sub/category/jquery" title="View all posts filed under jQuery">jQuery</a>
</li>
	<li class="cat-item cat-item-21"><a href="../../tutorials-sub/category/jquery-tutorial" title="View all posts filed under jQuery Tutorial">jQuery Tutorial</a>
</li>
	<li class="cat-item cat-item-27"><a href="../../tutorials-sub/category/linux" title="View all posts filed under Linux">Linux</a>
</li>
	<li class="cat-item cat-item-41"><a href="../../tutorials-sub/category/mootools" title="View all posts filed under mootools">mootools</a>
</li>
	<li class="cat-item cat-item-14"><a href="../../tutorials-sub/category/mysql" title="View all posts filed under mysql">mysql</a>
</li>
	<li class="cat-item cat-item-71"><a href="../../tutorials-sub/category/mysql/mysqli" title="View all posts filed under MySQLi">MySQLi</a>
</li>
	<li class="cat-item cat-item-131"><a href="../../tutorials-sub/category/pay-per-click-ppc" title="View all posts filed under Pay Per Click PPC">Pay Per Click PPC</a>
</li>
	<li class="cat-item cat-item-67"><a href="../../tutorials-sub/category/other-technology/perl" title="View all posts filed under perl">perl</a>
</li>
	<li class="cat-item cat-item-19"><a href="../../tutorials-sub/category/photoshop" title="View all posts filed under Photoshop">Photoshop</a>
</li>
	<li class="cat-item cat-item-9 current-cat"><a href="../../tutorials-sub/category/php" title="View all posts filed under php">php</a>
</li>
	<li class="cat-item cat-item-51"><a href="../../tutorials-sub/category/php/php-framework" title="View all posts filed under php framework">php framework</a>
</li>
	<li class="cat-item cat-item-69"><a href="../../tutorials-sub/category/php/programming-php" title="View all posts filed under Programming PHP">Programming PHP</a>
</li>
	<li class="cat-item cat-item-169"><a href="../../tutorials-sub/category/robots-txt" title="View all posts filed under robots.txt">robots.txt</a>
</li>
	<li class="cat-item cat-item-134"><a href="../../tutorials-sub/category/pay-per-click-ppc/search-network" title="View all posts filed under Search Network">Search Network</a>
</li>
	<li class="cat-item cat-item-23"><a href="../../tutorials-sub/category/seo" title="View all posts filed under seo">seo</a>
</li>
	<li class="cat-item cat-item-101"><a href="../../tutorials-sub/category/shopping-feeds" title="View all posts filed under Shopping Feeds">Shopping Feeds</a>
</li>
	<li class="cat-item cat-item-1"><a href="../../tutorials-sub/category/uncategorized" title="View all posts filed under Uncategorized">Uncategorized</a>
</li>
	<li class="cat-item cat-item-28"><a href="../../tutorials-sub/category/unix" title="View all posts filed under Unix">Unix</a>
</li>
	<li class="cat-item cat-item-114"><a href="../../tutorials-sub/category/web-analytics" title="View all posts filed under web analytics">web analytics</a>
</li>
	<li class="cat-item cat-item-62"><a href="../../tutorials-sub/category/website-design" title="View all posts filed under website design">website design</a>
</li>
	<li class="cat-item cat-item-39"><a href="../../tutorials-sub/category/wordpress" title="View all posts filed under wordpress">wordpress</a>
</li>
		</ul>
<h3 class="widget-title">Archives</h3>		<ul>
			<li><a href="../../tutorials-sub/2011/11" title="November 2011">November 2011</a></li>
	<li><a href="../../tutorials-sub/2011/10" title="October 2011">October 2011</a></li>
	<li><a href="../../tutorials-sub/2011/09" title="September 2011">September 2011</a></li>
	<li><a href="../../tutorials-sub/2011/08" title="August 2011">August 2011</a></li>
	<li><a href="../../tutorials-sub/2011/07" title="July 2011">July 2011</a></li>
	<li><a href="../../tutorials-sub/2011/04" title="April 2011">April 2011</a></li>
	<li><a href="../../tutorials-sub/2011/03" title="March 2011">March 2011</a></li>
	<li><a href="../../tutorials-sub/2011/02" title="February 2011">February 2011</a></li>
	<li><a href="../../tutorials-sub/2011/01" title="January 2011">January 2011</a></li>
	<li><a href="../../tutorials-sub/2010/12" title="December 2010">December 2010</a></li>
	<li><a href="../../tutorials-sub/2010/11" title="November 2010">November 2010</a></li>
	<li><a href="../../tutorials-sub/2010/10" title="October 2010">October 2010</a></li>
	<li><a href="../../tutorials-sub/2010/09" title="September 2010">September 2010</a></li>
	<li><a href="../../tutorials-sub/2010/08" title="August 2010">August 2010</a></li>
	<li><a href="../../tutorials-sub/2010/07" title="July 2010">July 2010</a></li>
	<li><a href="../../tutorials-sub/2010/06" title="June 2010">June 2010</a></li>
	<li><a href="../../tutorials-sub/2010/05" title="May 2010">May 2010</a></li>
		</ul>
<h3 class="widget-title">Blogroll</h3>
	<ul class="xoxo blogroll">
<li><a href="https://www.seopositive.co.uk/cheap-seo.php">Cheap SEO</a></li>
<li><a href="https://www.integratedcctv.co.uk/" title="Integrated CCTV, Security, news and reviews">Integrated CCTV</a></li>
<li><a href="https://www.payperclick.org/">Pay Per Click Management</a></li>
<li><a href="https://www.payday-loans.co.uk/">Payday Loans</a></li>
<li><a href="https://www.seopositive.co.uk/pay-per-click.php">PPC Marketing</a></li>
<li><a href="https://www.searchengineoptimisation.org.uk/">Search Engine Optimisation</a></li>
<li><a href="https://www.seopositive.co.uk/">SEO</a></li>
<li><a href="https://www.seopositive.co.uk/blog">SEO Blog</a></li>
<li><a href="https://www.seopositive.net/">SEO Positive</a></li>
<li><a href="https://my.seopositive.co.uk/">SEO Positive</a></li>
<li><a href="https://news.seopositive.co.uk/">SEO Positive News</a></li>
<li><a href="https://tutorials.seopositive.co.uk/">SEO Positive Tutorials</a></li>
<li><a href="https://www.promocodes.co.uk/">voucher codes website</a></li>
<li><a href="https://www.seopositive.co.uk/website-design.php">Website Design Company</a></li>
	</ul>
                </div>
                <div class="clear"></div>
          </div>
        </div>
     </div>
<div id="footer" role="contentinfo">
	<div id="footer-content">
        	<div class="footer-section">
            	<h3>Additional Pages</h3>
				<div class="menu-additional-pages-container"><ul class="menu" id="menu-additional-pages"><li class="menu-item menu-item-type-custom menu-item-645" id="menu-item-645"><a href="../../my-sub/index">Client Login</a></li>
<li class="menu-item menu-item-type-post_type menu-item-44" id="menu-item-44"><a href="../../terms">Terms & Conditions</a></li>
<li class="menu-item menu-item-type-post_type menu-item-270" id="menu-item-270"><a href="../../privacy-policy">Privacy Policy</a></li>
<li class="menu-item menu-item-type-custom menu-item-2699" id="menu-item-2699"><a href="../../tutorials-sub/index">Tutorials</a></li>
</ul></div></div>
        	<div class="footer-section">
            	<h3>Sitemaps & Feeds</h3>
                <div class="menu-sitemaps-feeds-container"><ul class="menu" id="menu-sitemaps-feeds"><li class="menu-item menu-item-type-post_type menu-item-697" id="menu-item-697"><a href="../../sitemap">Sitemap</a></li>
<li class="menu-item menu-item-type-custom menu-item-699" id="menu-item-699"><a href="https://www.seopositiveltd.co.uk/sitemap.xml">XML Sitemap</a></li>
<li class="menu-item menu-item-type-custom menu-item-2740" id="menu-item-2740"><a href="../../blog">Blog</a></li>
<li class="menu-item menu-item-type-custom menu-item-2761" id="menu-item-2761"><a href="../../news-sub/index">News</a></li>
</ul></div></div>
        	<div class="footer-section footer-section-big">
            	<h3>Our Address</h3>
            	<p><strong>Chelmsford Head Office</strong><br/>Milstrete House<br/>29 New Street<br/>Chelmsford<br/>CM1 1NT</p>
            </div>
        	<div class="footer-section">
            	<h3>&nbsp;</h3>
            	<p><strong>London Head Office</strong><br/>3rd Floor<br/>1 Ropemaker Street<br/>London<br/>EC2Y 9HT</p>
            </div>
        	<div class="footer-section footer-section-small no-padding-right">
            	<h3>Social Links</h3>
            	<a href="/" target="_blank" rel="nofollow"></a>
        		<a href="https://twitter.com/seopositiveltd" target="_blank" rel="nofollow"></a>
        		<a href="https://www.youtube.com/user/seopositive" target="_blank" rel="nofollow"></a> 
            	<h3>W3C Compliant</h3>
            </div>
            <div class="clear"></div>
    </div>
    <div id="footer-btm">
    	<p>&copy; Copyright 2010 SEO Positive Ltd &nbsp; | &nbsp; Registered company in England & Wales &nbsp; | &nbsp; Company Number: 06643590 &nbsp; | &nbsp; VAT Number: 974449769</p>
    </div>
</div>
</div>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/jqueryui.js" type="text/javascript"></script>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/jquery.anythingslider.js" type="text/javascript"></script>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/mac-screen-slider.js" type="text/javascript"></script>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/class.horinaja.jquery.js" type="text/javascript"></script>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/javascript.js" type="text/javascript"></script>
<script src="https://tutorials.seopositiveltd.co.uk/wp-content/themes/seopositive/js/read-more.js" type="text/javascript"></script>
<script type="text/javascript" src="https://tutorials.seopositiveltd.co.uk/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.47"></script>
<script type="text/javascript" src="https://tutorials.seopositiveltd.co.uk/wp-content/plugins/contact-form-7/scripts.js?ver=2.4.2"></script>
<!-- Auto SyntaxHighlighter -->
<script type="text/javascript" src="https://tutorials.seopositiveltd.co.uk/wp-content/plugins/auto-syntaxhighlighter/scripts/shCore.js?ver=3.0.83"></script>
<script type="text/javascript" src="https://tutorials.seopositiveltd.co.uk/wp-content/plugins/auto-syntaxhighlighter/scripts/shBrushPhp.js?ver=3.0.83"></script>
<script type="text/javascript">
	(function(){
		var corecss = document.createElement('link');
		var themecss = document.createElement('link');
		var corecssurl = "https://tutorials.seopositiveltd.co.uk/wp-content/plugins/auto-syntaxhighlighter/styles/shCore.css?ver=3.0.83";
		if ( corecss.setAttribute ) {
				corecss.setAttribute( "rel", "stylesheet" );
				corecss.setAttribute( "type", "text/css" );
				corecss.setAttribute( "href", corecssurl );
		} else {
				corecss.rel = "stylesheet";
				corecss.href = corecssurl;
		}
		document.getElementsByTagName("head")[0].appendChild(corecss);
		var themecssurl = "https://tutorials.seopositiveltd.co.uk/wp-content/plugins/auto-syntaxhighlighter/styles/shThemeDefault.css?ver=3.0.83";
		if ( themecss.setAttribute ) {
				themecss.setAttribute( "rel", "stylesheet" );
				themecss.setAttribute( "type", "text/css" );
				themecss.setAttribute( "href", themecssurl );
		} else {
				themecss.rel = "stylesheet";
				themecss.href = themecssurl;
		}
		document.getElementsByTagName("head")[0].appendChild(themecss);
		})();
		SyntaxHighlighter.defaults['auto-links'] = false;
		SyntaxHighlighter.defaults['toolbar'] = false;
		SyntaxHighlighter.all();
</script>
<!-- /Auto SyntaxHighlighter -->
</body>
</html>