<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 14:19:37 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPro.org: Tutorial - Reciprocal Links]]></title>
      <guid>http://www.phpdeveloper.org/news/11302</guid>
      <link>http://www.phpdeveloper.org/news/11302</link>
      <description><![CDATA[<p>
<i>Kevin Waterson</i> has posted <a href="http://www.phpro.org/classes/Reciprocal-Links.html">a new tutorial</a> to the PHPro.org website today stepping you through the automation of handing reciprocal links.
</p>
<blockquote>
This tutorial looks at the process of reciprocal links. That is, links generated from websites that have links to your own page. These links back to a page can be detected from the HTTP REFERER which, in PHP, can be detected via the super global variable $_SERVER['HTTP_REFERER']. Care should be taken when using this variable as it is set from userland and, as such, should not be trusted.
</blockquote>
<p>
His method stores the linking information (gathered from the referrer) and calls an addLinks method that checks to ensure the page format is valid and that it's a real site before putting it into the table. Complete code for this, a fetch method and a simple database layer to put it on top of are included. 
</p>]]></description>
      <pubDate>Tue, 28 Oct 2008 12:52:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPPro.org: SQL Intro, Reciprocal Links & Finding Links with DOM]]></title>
      <guid>http://www.phpdeveloper.org/news/11152</guid>
      <link>http://www.phpdeveloper.org/news/11152</link>
      <description><![CDATA[<p>
<i>Kevin Waterson</i> has added three new tutorials to his PHPPro.org website recently:
</p>
<ul>
<li><a href="http://www.phpro.org/tutorials/Introduction-To-SQL.html">Introduction To SQL</a> - The language used in relational databases is SQL. Regardless of the database used, a standard language is used to communicate with them all. This tutorial shows some basic concepts to using SQL.
<li><a href="http://www.phpro.org/classes/Recipricol-Links.html">Reciprocal Links</a> - Automating reciprocal links at first glance looks a daunting task. This helper class takes away much of the pain of what can be a mindlessly tedious process and simplifies it into a few easy to use class methods
<li><a href="http://www.phpro.org/examples/Get-Links-With-DOM.html">Get Links With DOM</a> - Perhaps the biggest mistake people make when trying to get URLs or link text from a web page is trying to do it using regular expressions. The job can be done with regular expressions, however, there is a high overhead in having preg loop over the entire document many times. The correct way, and the faster, and infinitely cooler ways is to use DOM.
</ul>
<p>
You can find the links to these and many other great tutorials over on the PHPPro.org website's <a href="http://www.phpro.org/tutorials">tutorials section</a>.
</p>]]></description>
      <pubDate>Mon, 06 Oct 2008 12:09:15 -0500</pubDate>
    </item>
  </channel>
</rss>
