<?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, 21 May 2013 20:47:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Simon Holywell: Improve PHP session cookie security]]></title>
      <guid>http://www.phpdeveloper.org/news/19584</guid>
      <link>http://www.phpdeveloper.org/news/19584</link>
      <description><![CDATA[<p>
<i>Simon Holywell</i> has a new post talking about <a href="http://simonholywell.com/post/2013/05/improve-php-session-cookie-security.html">cookie security in PHP</a>, focusing on some of the PHP configuration settings that can help.
</p>
<blockquote>
The security of session handling in PHP can easily be enhanced through the use of a few configuration settings and the addition of an SSL certificate. Whilst this topic has been covered numerous times before it still bears mentioning with a large number of PHP sites and servers having not implemented these features.
</blockquote>
<p>
He talks about the <a href="https://www.owasp.org/index.php/HttpOnly">httponly</a> flag when setting the cookie/in the configuration, the "use only cookies" for sessions and forcing them to be "secure only".
</p>
Link: http://simonholywell.com/post/2013/05/improve-php-session-cookie-security.html]]></description>
      <pubDate>Tue, 14 May 2013 14:55:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Josh Adell: Serializing Data Like a PHP Session]]></title>
      <guid>http://www.phpdeveloper.org/news/19534</guid>
      <link>http://www.phpdeveloper.org/news/19534</link>
      <description><![CDATA[<p>
In <a href="http://blog.everymansoftware.com/2013/05/serializing-data-like-php-session.html">this new post</a> <i>Josh Adell</i> looks at working with PHP sessions and how you can manually encode data to look as if it came from the normal session handling.
</p>
<blockquote>
If you have ever popped open a PHP session file, or stored session data in a database, you may have noticed that this serialization looks very similar to the serialize function's output, but it is not the same. Recently, I needed to serialize data so that it looked like PHP session data (don't ask why; I highly suggest not doing this if it can be avoided.) It turns out, PHP has a function that encodes data in this format: <a href="http://php.net/session_encode">session_encode</a>. 
</blockquote>
<p>
Unfortunately, this method doesn't take arguments - it just outputs the encoded version of the current session data. So, he came up with his own encode/decode methods that use the PHP session, extract the serialized string and return it.
</p>
Link: http://blog.everymansoftware.com/2013/05/serializing-data-like-php-session.html]]></description>
      <pubDate>Thu, 02 May 2013 09:11:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint.com: What Happened when we Talked PHP with the Experts]]></title>
      <guid>http://www.phpdeveloper.org/news/19459</guid>
      <link>http://www.phpdeveloper.org/news/19459</link>
      <description><![CDATA[<p>
On SitePoint.com today they've <a href="http://www.sitepoint.com/what-happened-when-we-talked-php-with-the-experts/">posted the transcript </a> of a "Talk with the Experts" session they did with <i>Lorna Mitchell</i> (instructor of their recent OOP sessions). The transcript includes questions and answers to those in attendance as well as some good links and advice.
</p>
<blockquote>
Last Thursday I broke with tradition slightly and ran a Talk with the Experts session in the evening (down under), making it a bit more time-zone friendly for our UK audience. It also meant that I was able to swap my usual coffee for a wine, which probably made the session run a bit more smoothly. The subject was PHP and our expert was Lorna Mitchell, tutor of <a href="https://learnable.com/courses/object-oriented-php-2734">Object-oriented PHP</a> and co-author of <a href="https://learnable.com/books/phppro1">PHP Master: Write Cutting-edge Code</a>.
</blockquote>
<p>
The <a href="http://www.sitepoint.com/what-happened-when-we-talked-php-with-the-experts/">transcript</a> starts with a collection of some of the links provided during the discussion and then runs through the entire conversation. There's some good advice in there, especially if you're relatively new to the world of PHP object-oriented programming.
</p>
Link: http://www.sitepoint.com/what-happened-when-we-talked-php-with-the-experts]]></description>
      <pubDate>Mon, 15 Apr 2013 09:05:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: 8 Practices to Secure Your Web App]]></title>
      <guid>http://www.phpdeveloper.org/news/19131</guid>
      <link>http://www.phpdeveloper.org/news/19131</link>
      <description><![CDATA[<p>
PHPMaster.com has posted a new article with some <a href="http://phpmaster.com/8-practices-to-secure-your-web-app/">high level security tips</a> and reminders for PHP developers when wanting to help prevent issues with their applications. The article provides eight tips, each with a brief description.
</p>
<blockquote>
When it comes to application security, in addition to securing your hardware and platform, you also need to write your code securely. This article will explain how to keep your application secure and less vulnerable to hacking.
</blockquote>
<p>
The good practices they recommend include input data validation, protecting against XSS attacks, preventing SQL injections, protecting session data, proper error handling and protecting included files. There's some good reminders here, but it barely scratches the surface of effectively protecting your application. These tips are the "low hanging fruit" for securing your app, so be aware that there's more things to worry about than just these eight.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2013 12:56:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPRefresh.com: Managing Sessions and State with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19024</guid>
      <link>http://www.phpdeveloper.org/news/19024</link>
      <description><![CDATA[<p>
In <a href="http://www.phpfresher.com/php/managing-sessions-and-state-with-php/">this new tutorial</a> on the PHPRefresher.com site, <i>Anand Godar</i> walks you through just about all of the session functionality that comes with PHP and includes some code snippets for explanation.
</p>
<blockquote>
Due to the fast evolution of Web programming, the stateless nature of the HTTP protocol brought many problems to certain Web applications that required maintaining their state across several HTTP requests. This demanded a rapid development of several mechanisms aimed at tackling this issue through diverse methods. Then a session management emerged as a direct response to the above mentioned problem, and currently this mechanism is being used by PHP developers worldwide, in cases where a Web application needs to keep track of its "state" during the occurrence of different HTTP requests.
</blockquote>
<p>
The article starts off with the basics of sessions - what they are, how they're handled and created by PHP - and moves into the specific functions and their use. He talks about starting/ending sessions, their IDs, caching, module handling and working directly with the session cookie (if it exists).
</p>]]></description>
      <pubDate>Fri, 11 Jan 2013 10:25:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Sunshine PHP Announces Speakers & Sessions!]]></title>
      <guid>http://www.phpdeveloper.org/news/18895</guid>
      <link>http://www.phpdeveloper.org/news/18895</link>
      <description><![CDATA[<p>
The <a href="http://sunshinephp.com">Sunshine PHP conference</a> has officially announced their <a href="http://sunshinephp.com/schedule/speakers/">speaker</a> and <a href="http://sunshinephp.com/schedule/talks/">session</a> lists for next year's event (happening in Miami, Florida February 8th and 9th, 2013).
</p>
<p>The event will have a wide range of topics covered including:</p>
<ul>
<li>Cryptography for the Average Developer
<li>Continuous Integration in Real Life
<li>Quickly Building and Deploying PHP Applications in the Cloud
<li>Symfony2 + EmberJS for fun and profit
<li>Introducing Tests in Legacy PHP Applications
<li>Dependency Management with Composer
<li>From POX to HATEOAS, Our Companies Journey to Build a Hypermedia API
</ul>
<p>
Tickets are <a href="http://sunshinephp.com/register/">already on sale</a> for the event - about $220 USD for the full event, $160 for a student pass.
</p>]]></description>
      <pubDate>Fri, 14 Dec 2012 07:25:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ben Ramsey: Writing an Effective Talk Proposal]]></title>
      <guid>http://www.phpdeveloper.org/news/18831</guid>
      <link>http://www.phpdeveloper.org/news/18831</link>
      <description><![CDATA[<p>
if you've ever considered contributing to a PHP (or any other technology conference) but weren't sure about how to even get started writing up a proposal for a session, you should check out <a href="http://benramsey.com/blog/2012/11/writing-an-effective-talk-proposal/">this recent post</a> from <i>Ben Ramsey</i> with a good guide (and some advice experienced speakers could use too).
</p>
<blockquote>
Earlier today, I was asked "Any tips on how to write a proposal for a major conf?" I've never shared tips on this, and since the calls for proposals for <a href="http://sunshinephp.com/">Sunshine PHP</a> and <a href="http://www.midwestphp.com/">Midwest PHP</a> both end tomorrow, I thought it would be a good idea to share my approach to writing conference proposals. Remember those <a href="http://en.wikipedia.org/wiki/Five_paragraph_essay">standard, five-paragraph essays</a> you used to write in high school? Remember how you thought they sucked and wouldn't provide any practical benefit to your life? Well, it turns out they do have some redeeming qualities.
</blockquote>
<p>
He suggests that this "five paragraph essay" format helps you not only come up with a more fleshed out, full idea but also can provide you with the abstract to submit to the conference (possibly the first paragraph). He mentions the need for a "hook" and finishing off with an opinion that's the basis of the talk. He also has a reminder of a few things - don't talk down, don't use negative language and try not to use absolutes.
</p>]]></description>
      <pubDate>Mon, 03 Dec 2012 10:25:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: 5 More PHP Security Vulnerabilities]]></title>
      <guid>http://www.phpdeveloper.org/news/18740</guid>
      <link>http://www.phpdeveloper.org/news/18740</link>
      <description><![CDATA[<p>
On PHPMaster.com there's a continuance of a <a href="http://phpmaster.com/top-10-php-security-vulnerabilities/">previous article</a> about security in PHP applications talking about a few more considerations when trying to <a href="http://phpmaster.com/5-more-php-security-vulnerabilities/">make things secure</a>.
</p>
<blockquote>
In a <a href="http://phpmaster.com/top-10-php-security-vulnerabilities/">previous article</a>, I talked about some common security vulnerabilities that can affect your PHP web application. But there are other things besides those ten (okay, seven) attacks to think about when you're developing. And so, this article offers a compendium of miscellaneous things that are security related; things you should do, things you shouldn't do, things that other people might try to do, whatever it takes to make an article long enough for my editor to be satisfied with it.
</blockquote>
<p>
He talks some about the settings that you might need to tweak in your "php.ini" server-side configuration file, some hints on filtering data (like using <a href="http://php.net/filter_input">filter_input</a>) and what to watch out for with error reporting. He also mentions session fixation and the protection of user data and passwords to keep them out of the hands of would-be attackers.
</p>]]></description>
      <pubDate>Tue, 13 Nov 2012 14:42:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHPBenelux 2013 Tutorial Sessions Announced]]></title>
      <guid>http://www.phpdeveloper.org/news/18705</guid>
      <link>http://www.phpdeveloper.org/news/18705</link>
      <description><![CDATA[<p>
The PHPBenelux conference has <a href="http://conference.phpbenelux.eu/2013/announcing-our-tutorial-speakers/">officially announced their tutorials</a> (and speakers for them) for this year's event (happening January 25th and 26th in Antwerp, Belgium):
</p>
<blockquote>
Today we are proud to present you the first speakers for PHPBenelux Conference 2013. We start by announcing our tutorial speakers and in the coming weeks we will start publishing our speakers. The people in the community once again gave us the very hard task to select the tutorials from many quality submissions, and this is what we came up with.
</blockquote>
<p>
Tutorial sessions for this year's event include a <a href="http://conference.phpbenelux.eu/2013/sessions#mongodb-workshop">MongoDB workshop</a> (<i>Derick Rethans</i>), <a href="http://conference.phpbenelux.eu/2013/sessions#git-and-github-level-up">Git and Github: Level Up</a> (<i>Ben Straub</i>) and <a href="http://conference.phpbenelux.eu/2013/sessions#restful-services-made-easy-with-zf2">RESTful Services Made Easy with ZF2</a> (<i>Matthew Weier O'Phinney</i>). You can <a href="http://myupcoming.com/en/event/35892/phpbenelux-conference-2013">get your tickets now</a> for these tutorial days (you select the session when you buy the ticket) or just pick up your pass for the rest of the conference at the Early Bird price!
</p>]]></description>
      <pubDate>Tue, 06 Nov 2012 12:46:04 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Ibuildings Blog: DPCRadio: A Quickstart to Zend Framework 2]]></title>
      <guid>http://www.phpdeveloper.org/news/18685</guid>
      <link>http://www.phpdeveloper.org/news/18685</link>
      <description><![CDATA[<p>
On the Ibuildings blog today they've posted the most recent episode from their recordings at the <a href="http://phpconferece.nl">Dutch PHP Conference</a> (2012) with <i>Enrico Zimual</i>'s talk <a href="http://blog.ibuildings.com/2012/10/30/dpcradio-a-quick-start-on-zend-framework-2/">A Quickstart on Zend Framework 2</a>.
</p>
<blockquote>
In this talk we will present a simple web application built with Zend Framework 2. We will show the new features of the framework, such as the new MVC layer, the Event Manager, the Dependency Injection and much more. The aim of this talk is how to start programming with the new architecture of ZF2. Moreover, we will show the differences with the version 1 of the framework and how to migrate applications from ZF1 to ZF2.
</blockquote>
<p>
You can listen to this latest episode either via the <a href="http://blog.ibuildings.com/2012/10/30/dpcradio-a-quick-start-on-zend-framework-2/">in-page player</a>, by <a href="http://dpcradio.s3.amazonaws.com/2012_029.mp3">downloading the mp3</a> or by <a href="https://itunes.apple.com/nl/podcast/dpc-radio/id568825964">subscribing to get this and future episodes</a>.
</p>]]></description>
      <pubDate>Thu, 01 Nov 2012 12:09:23 -0500</pubDate>
    </item>
  </channel>
</rss>
