<?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>Sat, 18 May 2013 18:47:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPMaster.com: Targeted Geolocation with Geonames]]></title>
      <guid>http://www.phpdeveloper.org/news/17251</guid>
      <link>http://www.phpdeveloper.org/news/17251</link>
      <description><![CDATA[<p>
New on PHPMaster.com there's a tutorial from <i>Lukas White</i> about <a href="http://phpmaster.com/targeted-geolocation-with-geonames/">targeting users using geolocation</a> based on the <a href="http://www.geonames.org/">Geonames</a> web service and a latitude/longitude. His example makes a call to find the closest "place" to the given coordinates.
</p>
<blockquote>
Location-aware applications rely on being able to locate where you are, and this is what geolocation is all about. After all, once the application knows your location, it can go on to find the nearest store, guide you through the appropriate route to a destination, or target relevant advertisements to you. Geolocation, then, is simply the mechanism for identifying your geographical location.
</blockquote>
<p>
He mentions two challenges associated with geolocation - finding where someone is and describing the location. With Geonames, he shows how to call the service's "findNearbyPlaceName" method to find the closest "place" to a given latitude/longitude combination. Included is a bit of sample PHP to connect to the service and Javascript to request the user's current location.
</p>]]></description>
      <pubDate>Tue, 13 Dec 2011 12:10:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Stuart Herbert's Blog: Where Do You Get Your PHP From For Windows?]]></title>
      <guid>http://www.phpdeveloper.org/news/16927</guid>
      <link>http://www.phpdeveloper.org/news/16927</link>
      <description><![CDATA[<p>
In a recent post to his blog <i>Stuart Herbert</i> asks his readers <a href="http://blog.stuartherbert.com/php/2011/09/27/where-do-you-get-your-php-from-for-windows/">where they get their Windows PHP binaries from</a> - there's more than just <a href="http://windows.php.net">windows.php.net</a> out there after all.
</p>
<blockquote>
I'm currently working out installation instructions for phix on Microsoft Windows before my sessions at PHPNW 11 and ZendCon in October...and I need your help, because it has been many years now since I used Windows. If you do your PHP development using Windows on the desktop or laptop, where do you prefer to get your copy of PHP from?
</blockquote>
<p>
He offers a few options: the obvious <a href="http://windows.php.net/">windows.php.net</a>, the <a href="http://www.microsoft.com/web/platform/phponwindows.aspx">Microsoft Web Platform</a> or a package like <a href="http://www.apachefriends.org/en/index.html">XAMPP</a>/<a href="http://www.wampserver.com/en/">WAMP</a>. In the <a href="http://blog.stuartherbert.com/php/2011/09/27/where-do-you-get-your-php-from-for-windows/#comments">comments</a> of the post favorites include the Web Platform Installer and windows.php.net with the package versions (XAMPP/WAMP) coming in behind.
</p>]]></description>
      <pubDate>Thu, 29 Sep 2011 10:58:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Dutch PHP Conference - Important update: Conference Social Location has Changed!]]></title>
      <guid>http://www.phpdeveloper.org/news/16283</guid>
      <link>http://www.phpdeveloper.org/news/16283</link>
      <description><![CDATA[<p>
If you're attending this year's <a href="http://phpconference.nl">Dutch PHP Conference</a>, they've just posted an <a href="http://www.phpconference.nl/home/important-update-location-conference-social-changed/">important announcement about the conference social</a>:
</p>
<blockquote>
The conference social will now take place at a venue called <a href="http://www.clubnl.nl/">ClubNL</a>, which is also in central Amsterdam and within easy walk from the Amsterdam main train station. Please remember to hold on to your conference badge, as you will need it to gain access to the event. For more details check out the updated <a href="http://www.phpconference.nl/social/">social</a> page on our website. We are hoping to see you all there!
</blockquote>
<p>
There's still time for you to get your tickets to this great event happening in a few weeks (May 19th-21st) in Amsterdam - full event tickets run 695 Euro and the single-day tickets (just tutorial or just conference day) are 375 Euro. <a href="http://dpc11.paydro.net/">Get yours today!</a>
</p>]]></description>
      <pubDate>Mon, 02 May 2011 13:40:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[LifeHacker.com: Synchronize Google Voice with Your GPS Location]]></title>
      <guid>http://www.phpdeveloper.org/news/14108</guid>
      <link>http://www.phpdeveloper.org/news/14108</link>
      <description><![CDATA[<p>
On LifeHacker.com there's a tutorial on how you can use a simple PHP script running on a remote server to <a href="http://lifehacker.com/5479070/synchronize-google-voice-with-your-gps-location">tell Google Voice which is the best phone</a> to forward your calls to. The method requires the use of an Android phone, though.
</p>
<blockquote>
I figure the only way Google Voice could be improved is if it magically knew where I am and made my phones ring accordingly'"so that's exactly what I made it do. You can, too, with an Android phone, the <a href="http://www.twofortyfouram.com/">Locale</a> app, and a web server. The overall goal: have Google Voice know which phones to ring, based on your current location or situation.
</blockquote>
<p>
You'll need a Google Voice account (obviously), some software for your phone and a remote web server running PHP 5 (with cURL and json functionality). You can then use <a href="http://thatsmith.com/googlevoice-locale.php.txt">the PHP script</a> by passing parameters as to which phones to turn off and on and use the Locale tool to create the "situations" where it needs to make the switch.
</p>]]></description>
      <pubDate>Mon, 01 Mar 2010 13:28:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: PHP User Group Listing (and Rank)]]></title>
      <guid>http://www.phpdeveloper.org/news/13841</guid>
      <link>http://www.phpdeveloper.org/news/13841</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today there's <a href="http://www.phpclasses.org/blog/post/114-PHP-User-Groups-ranking.html">a new post</a> from <i>Manuel Lemos</i> looking at user groups - how to keep them alive and what you can do to rekindle a faltering group.
</p>
<blockquote>
PHP was spread by its users. Over time PHP user groups have been doing an extraordinary job in promoting the PHP communities everywhere, so local PHP users get more support in their local idiom and progress faster in their careers as PHP developers. Many PHP user groups organize meetings and events that help PHP users learning more and make valuable contacts that they often use to get in touch with more experienced and helpful PHP developers.
</blockquote>
<p>
He mentions a big challenge for keeping groups alive - leadership shifts and dwindling membership - and something the PHPClasses site offers to help <a href="http://www.phpclasses.org/blog/post/36-PHP-User-Groups-diffusion-initiative.html">advertize groups</a> all around the world. If you're looking for a group in your area (most of the coverage seems outside of the US right now) try <a href="http://www.phpclasses.org/browse/group/">their user group directory</a>.
</p>]]></description>
      <pubDate>Thu, 14 Jan 2010 10:09:41 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect Blog: Miami, Washington/Baltimore and New York City CodeWorks 09 Locations Announced]]></title>
      <guid>http://www.phpdeveloper.org/news/12923</guid>
      <link>http://www.phpdeveloper.org/news/12923</link>
      <description><![CDATA[<p>
If you've been planning on attending either the Miami, Washington/Baltimore or New York City stops of the <a href="http://cw.mtacon.com">CodeWorks 2009</a> conference, you'll be happy to know they've <a href="http://phparch.com/main/news/view/48">announced the venues</a> for each of the locations.
</p>
<blockquote>
We're happy to finally be able to announce the CodeWorks 09 locations for our Miami, Washington/Baltimore and New York City locations'"and, in case you were waiting to find out where each event was going to take place, we're extending the early-early-bird special all the way to July 31st!
</blockquote>
<p>Here's the list of locations:</p>
<ul>
<li>New York will be at the <i>New York Marriott Brooklyn Bridge</i>
<li>Washington/Baltimore will be at the <i>Embassy Suites Old Town Alexandria</i>
<li>Miami will be at the <i>Hilton Miami Downtown Hotel</i>
</ul>
<p>
You can get more information about the conference (including how to register - the Early Bird special is still going) from <a href="http://cw.mtacon.com">the main conference website</a>.
</p>]]></description>
      <pubDate>Wed, 22 Jul 2009 12:09:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Location, Location, Location]]></title>
      <guid>http://www.phpdeveloper.org/news/12609</guid>
      <link>http://www.phpdeveloper.org/news/12609</link>
      <description><![CDATA[<p>
In a <a href="http://devzone.zend.com/article/4683-Zend-Framework---Location-Location-Location">new tutorial</a> on the Zend Developer Zone, <i>Sam</i> reminds us that, sometimes, it's all about "Location, Location, Location" with Zend Framework applications.
</p>
<blockquote>
I was having a conversation with a client recently on the topic of best practices. He asked me: "Where should I put the Zend Framework source code?" This is an excellent question that can not only be applied to Zend Framework, but to similar frameworks also. The question has in fact two answers in my opinion, which answer is right for you depends on how you answer this question.
</blockquote>
<p>
He answers the question by asking a question of his own - is ZF part of your application or of your environment? There's (basically) two different paths to follow here and that question is the branching point. If its in the app, he recommends keeping it closely tied and in the "/library" of the app. If not, then it's recommended to place it out where multiple applications could get to it.
</p>
<p>
There's also third option, hybrid of the two that allows you to both keep the application split off on the backend but closely tied in deployment.
</p>]]></description>
      <pubDate>Tue, 02 Jun 2009 09:39:03 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Developement Blog: Curl: Location redirect while open_basedir is set]]></title>
      <guid>http://www.phpdeveloper.org/news/11880</guid>
      <link>http://www.phpdeveloper.org/news/11880</link>
      <description><![CDATA[<p>
Recently on the Web Developement Blog, <i>Olaf</i> showed how to do a Location redirect with cURL <a href="http://www.web-development-blog.com/archives/curl-follow-url-location-while-open_basedir-is-set/">while open_basedir is set</a>.
</p>
<blockquote>
If you need to follow redirects within your php code using Curl and the open_basedir is set you came into some trouble. If you disable this directive all your directories with a 777 permission are not safe (if one or more website on the same server has some security issues). If you don't have additional protections you should NEVER disable the open_basedir directive (at least if you're using 3rd party applications).
</blockquote>
<p>
He writes up a simple cURL-based link checker to see which of the URLs in question would throw an error. He modifies it so that it checked the HTTP response code from the server and, if its a 200/302/301, you know things are okay and a <a href="http://php.net/shell_exec">shell_exec</a> can be called to execute the file from that location.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 12:06:09 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-GTK Community Site: World map of PHP-GTK developers]]></title>
      <guid>http://www.phpdeveloper.org/news/11828</guid>
      <link>http://www.phpdeveloper.org/news/11828</link>
      <description><![CDATA[<p>
The PHP-GTK Community site has <a href="http://php-gtk.eu/en/world-map-of-php-gtk-developers">launched a new service</a> to help PHP-GTKers out there find out other developers that might be in their area - a world map (based on Google maps) of other PHP-GTK developers around the world.
</p>
<blockquote>
I reviewed the coordinates given by existing members and noticed a good number had visibly inverted latitude and longitude; so I inverted them again to place them where it appeared to make more sense (are there really PHP-GTK devs in the middle of the pacific, or near the South pole ?). So you may want to double-check your coordinates to make sure the values are correct, because it's likely I've not found every error.
</blockquote>
<p>
He's also asking for the <A href="http://www.php-gtk.com.br/">Brasil PHP-GTK community</a> to include their information in the map as well as a request for anyone out there that might want to make a "prettier" icon for showing the developers on the map.
</p>]]></description>
      <pubDate>Wed, 28 Jan 2009 07:55:33 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Logging in PHP Applications ]]></title>
      <guid>http://www.phpdeveloper.org/news/11529</guid>
      <link>http://www.phpdeveloper.org/news/11529</link>
      <description><![CDATA[<p>
DevShed has posted a <a href="http://www.devshed.com/c/a/PHP/Logging-in-PHP-Applications/">new tutorial</a> today looking at one of the more useful tools a developer can add into an application - logging.
</p>
<blockquote>
If there is no logging mechanism, then if there's a goof-up in a production environment, you have absolutely no idea what went wrong. The only thing which a support developer can do in this case is to reproduce the issue at the developer end, which sometimes work and sometimes don't. 
</blockquote>
<p>
The look at the types of logging (trace logs, audit logs and user logging/history) and create a simple class that allows flexibility for file location, priority and timstamping. Their script contains a writelog method that does all the work (including pushing it through the PEAR logging class).
</p>]]></description>
      <pubDate>Mon, 08 Dec 2008 13:52:10 -0600</pubDate>
    </item>
  </channel>
</rss>
