<?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>Tue, 18 Jun 2013 17:54:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[9Lessons.info: Facebook Style Tag Friends with Jquery, Ajax and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15022</guid>
      <link>http://www.phpdeveloper.org/news/15022</link>
      <description><![CDATA[<p>
On 9Lessons.info today there's <a href="http://www.9lessons.info/2010/08/tag-friends-with-jquery-ajax-and-php.html">a tutorial posted</a> by <i>Srinivas Tamada</i> about creating a simple "tag my friends" system (like Facebook's) with PHP, jQuery and a bit of Ajax magic.
</p>
<blockquote>
I received a request from my reader that asked to me how to implement Facebook like tag friends in your status or update box. It is great feature to adding friends start with @ symbol. I had tried this with Jquery, Ajax and PHP, it's simple just collaboration of my previous posts.
</blockquote>
<p>
If you want to skip to the good part, there's <a href="http://demos.9lessons.info/tagfriends.html">a demo</a> and <a href="http://demos.9lessons.info/url.php?url=http://www.box.net/shared/ef50ee88pj">code download</a> otherwise you can follow along with his code that creates a database table, includes the HTML for the interface, a backend PHP script to connect to and some CSS to make it all look a bit nicer.
</p>]]></description>
      <pubDate>Thu, 26 Aug 2010 09:58:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jaanus' Blog: How to retrieve remote files in your web apps and still be friends with the server]]></title>
      <guid>http://www.phpdeveloper.org/news/4684</guid>
      <link>http://www.phpdeveloper.org/news/4684</link>
      <description><![CDATA[In <a href="http://www.jaanuskase.com/en/2006/01/how_to_retrieve_remote_files_i.html">this post</a> on <i>Jaanus'</i> blog today, they show how you can grab remote files from a server and still "remain friends" with the server.
<p>
<quote>
<i>
It often happens that when you're building a web page or app, you may want to include some content from a remote server. Say that it's some statistic figure that the remote outputs as HTML or TXT and you then want to retrieve it and either do something with it or directly display as part of your own page. And you're working in PHP.
<p>
PHP provides a fancy way of opening and including files directly over HTTP, which they call "<a href="http://ee.php.net/manual/en/features.remote-files.php">URL wrappers</a>". As tempting as it may seem, in the long run doing remote opens with URL wrappers is not the best practice. So here's what I came up with when needing to do this kind of caching thing in my own scenarios. It requires you have the cURL module installed and that the webserver can read and write from /tmp.
</i>
</quote>
<p>
They <a href="http://www.jaanuskase.com/en/2006/01/how_to_retrieve_remote_files_i.html">provide the short script</a> that does the work inside a function (easy to drop into a class), and grabs the remote file, and pulls down to /tmp for the script to use. It even allows you to specify a timeout for the file, forcing the script to grab a new copy every so often...]]></description>
      <pubDate>Wed, 18 Jan 2006 07:19:36 -0600</pubDate>
    </item>
  </channel>
</rss>
