<?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>Thu, 24 May 2012 15:45:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How To Synchronize Your PHP and MySQL Timezones]]></title>
      <guid>http://www.phpdeveloper.org/news/16224</guid>
      <link>http://www.phpdeveloper.org/news/16224</link>
      <description><![CDATA[<p>
In a new post to the SitePoint PHP blog today <i>Craig Buckler</i> looks at a method for <a href="http://blogs.sitepoint.com/synchronize-php-mysql-timezone-configuration/">synchronizing your time between your PHP application and it's MySQL backend</a> to make date handling a bit easier - no messy code-based timezone changes needed.
</p>
<blockquote>
Many developers solve the problem by shifting all date/time responsibility to PHP. They may also convert dates to Unix timestamp integers for simpler handling, although you should be wary of the <a href="http://blogs.sitepoint.com/is-your-php-application-affected-by-the-y2k38-bug">Y2K38 Bug</a>.
</blockquote>
<p>
They show a handy tip so you won't have to worry quite so much that relies on setting a "TIMEZONE" constant you can use to <a href="http://php.net/date_default_timezone_set">set the default timezone</a> and a "time_zone" offset that can be used each time you make the connection to your database (or, alternatively, in a cron that keeps things up to date without interfering with performance).
</p>]]></description>
      <pubDate>Wed, 20 Apr 2011 11:52:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juozas Kaziukenas's Blog: Using Phing to sync files with shared hosting]]></title>
      <guid>http://www.phpdeveloper.org/news/12048</guid>
      <link>http://www.phpdeveloper.org/news/12048</link>
      <description><![CDATA[<p>
<i>Juozas Kaziukenas</i> has <a href="http://dev.juokaz.com/php/using-phing-to-synchronize-files">a new post</a> to his blog today looking at using <a href="http://phing.info/trac/">Phing</a> to keep files in sync on a shared hosting, FTP only kind of environment.
</p>
<blockquote>
Today I was trying to use [Phing] in shared hosting server, but as you will see, Phing can't do a lot of it's functionality without direct access to server (over shh for example). [...] Things get worse, when you try to sync files in shared hosting environment, where only FTP is available. [...] <a href="http://codeinthehole.com/">Code in the hole</a> some months ago posted <a href="http://codeinthehole.com/archives/13-Deploying-to-a-shared-hosting-environment-using-Phing.html">solution</a> which uses Net_FTP (FTP functionality wrapper) package to upload files to server. I decided to try given solution, so I modified it to download source code from SVN first and then upload them.
</blockquote>
<p>
His Phing configuration sets up the application, defining the source directory, the files to push, the FTP connection to make and pushes the files over out of an svn export. He has a slightly different solution (no code/config for this one) that would grab the last revision value from the remote server and only push out the files have have changed since then.
</p>]]></description>
      <pubDate>Mon, 02 Mar 2009 13:41:12 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: Pear Mirror]]></title>
      <guid>http://www.phpdeveloper.org/news/7518</guid>
      <link>http://www.phpdeveloper.org/news/7518</link>
      <description><![CDATA[<p>
<i>Joshua Eichorn</i> has <a href="http://blog.joshuaeichorn.com/archives/2007/03/27/pear-mirror/">posted a quick note</a> about a new addition to the PEAR functionality (with some help from <a href="http://greg.chiaraquartet.net/">Greg Beaver</a>) - hosting a mirror of the main PEAR channel.
</p>
<blockquote>
At the moment were only mirroring installer data not the entire website but its a start. Things are still in the testing phase, but the mirror is usable, just run: pear config-set preferred_mirror us.pear.php.net
</blockquote>
<p>
The update runs every four hours, so thing might be a little out of sync sometimes, but if you're just looking to keep things up-to-date, that's more than enough.
</p>]]></description>
      <pubDate>Wed, 28 Mar 2007 10:19:00 -0500</pubDate>
    </item>
  </channel>
</rss>

