<?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>Wed, 19 Jun 2013 16:06:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Jim Bird: How to Cheat at Application Security]]></title>
      <guid>http://www.phpdeveloper.org/news/18473</guid>
      <link>http://www.phpdeveloper.org/news/18473</link>
      <description><![CDATA[<p>
<i>Jim Bird</i> has a new post with links to a few different resources helping you <a href="http://swreflections.blogspot.ca/2012/09/how-to-cheat-at-application-security.html">"cheat" at application security</a> - links to cheat sheets with highlights of key points to keep an eye out for.
</p>
<blockquote>
Developers need to know a lot in order to build secure applications. Some of this is good software engineering and defensive design and programming - using (safe) APIs properly, carefully checking for errors and exceptions, adding diagnostics and logging, and never trusting anything from outside of your code (including data and other people's code). But there are also lots of technical details about security weaknesses and vulnerabilities in different architectures and platforms and technology-specific risks that you have to understand and that you have to make sure that you deal with properly. Even appsec specialists have trouble keeping up with all of it.
</blockquote>
<p>
He links to several of the <a href="http://owasp.org">OWASP</a> cheat sheets for things like:
</p>
<ul>
<li><a href="https://www.owasp.org/index.php/Authentication_Cheat_Sheet">authentication best practices</a>
<li><a href="https://www.owasp.org/index.php/HTML5_Security_Cheat_Sheet">using HTML5</a>
<li><a href="https://www.owasp.org/index.php/SQL_Injection_Prevention_Cheat_Sheet">preventing SQL injection</a>
<li><a href="https://www.owasp.org/index.php/Input_Validation_Cheat_Sheet">input validation</a>
</ul>]]></description>
      <pubDate>Thu, 13 Sep 2012 10:42:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: PHP Security: Cross-Site Scripting Attacks (XSS)]]></title>
      <guid>http://www.phpdeveloper.org/news/17890</guid>
      <link>http://www.phpdeveloper.org/news/17890</link>
      <description><![CDATA[<p>
PHPMaster.com has a new tutorial posted today (by <i>George Fekete</i>) about <a href="http://phpmaster.com/php-security-cross-site-scripting-attacks-xss/">preventing cross-site scripting attacks</a> in your PHP-based applications.
</p>
<blockquote>
Unfortunately, cross-site scripting attacks occurs mostly, because developers are failing to deliver secure code. Every PHP programmer has the responsibility to understand how attacks can be carried out against their PHP scripts to exploit possible security vulnerabilities. Reading this article, you'll find out more about cross-site scripting attacks and how to prevent them in your code.
</blockquote>
<p>
Included in the tutorial is an example with a simple form and definitions of different types of XSS attacks - reflected XSS, persistent XSS and three ways to prevent them: data filtering, output filtering and data validation. He also links to a few "cheatsheets" to help even more (including <a href="http://ha.ckers.org/xss.html">this guide</a> and a Zend Framework set of <a href="http://www.zfsnippets.com/snippets/view/id/5">XSS test data</a>.
</p>]]></description>
      <pubDate>Tue, 01 May 2012 11:59:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mayflower Blog: Zend Framework Application.ini Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/17501</guid>
      <link>http://www.phpdeveloper.org/news/17501</link>
      <description><![CDATA[<p>
On the Mayflower blog today there's a new post sharing a Zend Framework <a href="http://blog.mayflower.de/archives/828-Zend-Framework-application.ini-Cheat-Sheet.html">application.ini "cheat sheet"</a> with links to pages in the ZF manual explaining the details about each of the front controller options.
</p>
<blockquote>
All this is long gone in the past since the introduction of Zend_Application and the bootstrapping resource adapters. Zend introduced a standard bootstrapping mechanism into their framework. Many of the options from different framework components can now be configured in the applications configuration file application.ini. One problem persists although: the documentation. All the parameters for components like View, Session, Database etc. are documented either with the bootstrap resource, the component itself or both.
</blockquote>
<p>
They've <a href="https://github.com/feibeck/application.ini">posted it to github</a> complete with sections detailing:
</p>
<ul>
<li>CacheManager
<li>Db
<li>FrontController
<li>Layout
<li>Navigation
<li>Router
<li>Translate
</ul>
<p>
...and quite a few more. This is a great reference for anyone using the Zend Framework, no matter your experience level.
</p>]]></description>
      <pubDate>Mon, 06 Feb 2012 11:42:22 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sudheer Satyanarayana's Blog: Zend Date Class Constants Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/15645</guid>
      <link>http://www.phpdeveloper.org/news/15645</link>
      <description><![CDATA[<p>
<i>Sudheer Satyanarayana</i> has provided <a href="http://techchorus.net/zend-date-class-constants-cheat-sheet">a handy cheat sheet</a> for those using the Zend_Date component of the Zend Framework listing the default values of the constants it provides.
</p>
<blockquote>
Date and time handling in general is a problem in programming. For PHP programmers, there's a good library out there that performs all the difficult tasks and provides convenient APIs. Zend_Date has several constants defined. It is good to know what each one of them represents.
</blockquote>
<p>
You can either come back to <a href="http://techchorus.net/zend-date-class-constants-cheat-sheet">this post</a> if you need a reference or you can <a href="http://techchorus.net/downloads/cheat-sheets/zend-date-constants-cheat-sheet-techchorus.pdf">download the PDF</a> and have it right at your fingertips.
</p>]]></description>
      <pubDate>Tue, 28 Dec 2010 10:04:21 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magaine: Drupal Cheat Sheet Desktop Wallpaper]]></title>
      <guid>http://www.phpdeveloper.org/news/14651</guid>
      <link>http://www.phpdeveloper.org/news/14651</link>
      <description><![CDATA[<p>
If you're a Drupal developer and find yourself constantly referring back to the documentation when using some of the more popular variables for the system, you should check out <a href="http://www.smashingmagazine.com/2010/06/14/drupal-cheat-sheet-wallpaper/">this new wallpaper</a> over on Smashing Magazine that will put that information at your fingertips.
</p>
<blockquote>
In this post we release a yet another freebie: a Drupal Cheat Sheet Desktop Wallpaper, a desktop wallpaper that features most popular variables of the open source content management system Drupal. The wallpaper was created by <a href="http://www.quicklycode.com/">Giovanni Scala</a> for Smashing Magazine and its readers.
</blockquote>
<p>
There's multiple sizes you can download for several of the popular resolutions like <a href="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/uploader/images/drupal-cheat-sheet-wallpaper/wallpaper1024x768.png">1024x768</a>, <a href="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/uploader/images/drupal-cheat-sheet-wallpaper/wallpaper1440x900.png">1440x900</a> and <a href="http://media.smashingmagazine.com/cdn_smash/wp-content/uploads/uploader/images/drupal-cheat-sheet-wallpaper/wallpaper1920x1200.png">1920x1200</a>. The cheatsheet describes the Page.tpl.php, Node.tpl.php, Comment.tpl.php, Nlock.tpl.php and Box.tpl.php interfaces.
</p>]]></description>
      <pubDate>Tue, 15 Jun 2010 10:29:11 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Brian Swan's Blog: SQL Server Driver for PHP Cheat Sheet]]></title>
      <guid>http://www.phpdeveloper.org/news/14120</guid>
      <link>http://www.phpdeveloper.org/news/14120</link>
      <description><![CDATA[<p>
Following in the steps of some of <a href="http://www.phpdeveloper.org/news/14015">his</a> <a href="http://www.phpdeveloper.org/news/14059">previous</a> <a href="http://www.phpdeveloper.org/news/13999">posts</a> looking at the combination of PHP and SQL Server, <i>Brian Swan</i> has a new post to his MSDN blog today - a <a href="http://blogs.msdn.com/brian_swan/archive/2010/03/02/sql-server-driver-for-php-cheat-sheet.aspx">SQL Server driver cheat sheet</a>.
</p>
<blockquote>
You might think that I would know the driver API by heart at this point, but alas, my many trips back to the <a href="http://msdn.microsoft.com/en-us/library/ee229548(SQL.10).aspx">documentation</a> are proof that my brain is like a fixed length queue - if something new goes in, something else must go out. So, I've created a cheat sheet that saves me some of those trips to the documentation. I'm hoping that others might find it helpful too
</blockquote>
<p>
He mentions a few things that make the sheet particularly useful - signatures for the functions are included but not the type info for the parameters, a list of PHPTYPE constants, FETCH constants (for the return type) and CURSOR constants (for defining cursor return type). You can see a preview of it <a href="http://blogs.msdn.com/blogfiles/brian_swan/WindowsLiveWriter/SQLServerDriverforPHPCheatSheet_7AA5/SQLPHPCheatSheet_thumb.png">here (as a PNG)</a> and grab the actual sheet <a href="http://blogs.msdn.com/brian_swan/attachment/9971608.ashx">here as a PDF</a>.
</p>]]></description>
      <pubDate>Wed, 03 Mar 2010 09:14:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Learn regular expressions in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10085</guid>
      <link>http://www.phpdeveloper.org/news/10085</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog, <i>Akash Mehta</i> <a href="http://www.developertutorials.com/blog/php/learn-regular-expressions-in-php-152/">offers some suggestions</a> of resources and methods for learning how to use regular expressions in your PHP applications.
</p>
<blockquote>
When it comes to quickly dealing with large blocks of data, batch processing operations or screen scraping, regular expressions are often the most effective solution. There's just one problem, though - learning them can be as hard as learning a new language altogether. Here's how to get off to a flying start.
</blockquote>
<p>
He points you first in the direction of the preg_* functions then towards a few examples (like with mod_rewrite) and tools to help you understand how things match, like the regex tested extension for firefox and the regular expression <a href="http://www.addedbytes.com/regular_expressions_cheat_sheet.png">cheat sheet</a> on AddedBytes.com.
</p>]]></description>
      <pubDate>Thu, 01 May 2008 08:48:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[TechTarget.com: Our Favorite Cheat Sheets]]></title>
      <guid>http://www.phpdeveloper.org/news/8045</guid>
      <link>http://www.phpdeveloper.org/news/8045</link>
      <description><![CDATA[<p>
Via <a href="http://lifehacker.com/software/shortcuts/a-cheat-sheet-of-cheat-sheets-268305.php">Lifehacker</a> today, there's a link to <a href="http://whatis.techtarget.com/definition/0,289893,sid9_gci826135,00.html">a huge list</a> of cheat sheets on just about any topics you can think of, both web-related and not.
</p>
<p>
Included in the list are several PHP-related ones, including:
</p>
<ul>
<li><a href="http://www.addedbytes.com/php_cheat_sheet.pdf">the Ilovejackdaniels.com PHP cheat sheet</a>
<li><a href="http://www.phpguru.org/downloads/PCRECheatSheet/PHPPCRECheatSheet.pdf">the PCRE cheat sheet</a> for PHP from phpguru.org
<li><a href="http://www.somewherein.net/blog/?p=326">PHP Template Designers</a>
<li>the symfony project's <a href="http://www.symfony-project.com/weblog/2006/04/25/admin-generator-cheat-sheet.html">guide to the framework admin generator</a>
</ul>
<p>
There's tons more where that came from including lots of other web-related ones for CSS, HTML, Javascript and the like. Check out <a href="http://whatis.techtarget.com/definition/0,289893,sid9_gci826135,00.html">this page</a> on techtarget.com for the full listing.
</p>]]></description>
      <pubDate>Thu, 14 Jun 2007 09:45:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[John Cox's Blog:  IIS / Apache $_SERVER Comparison (cheatsheet)]]></title>
      <guid>http://www.phpdeveloper.org/news/4265</guid>
      <link>http://www.phpdeveloper.org/news/4265</link>
      <description><![CDATA[With the obvious differences that come with using two different OSes, there are some that are a bit more subtle - like the values in PHP of $_SERVER between IIS and Apache. <i>John Cox</i> tackles this in <a href="http://wyome.com/index.php?module=articles&func=display&ptid=10&aid=472">this latest post</a> on his blog.
<p>
<quote>
<i>
I think one of the most frustrating things about web development is designing applications for multiple platforms. Whether my frustrations lie with developing applications for multiple PHP versions with multiple cache systems or designing CSS for multiple browsers, nothing is more frustrating than having applications work on multiple server software. That is why I absolutely love every cheat sheet that I can run across for these situations.
</i>
</quote>
<p>
<a href="http://koivi.com/apache-iis-php-server-array.php">This cheatsheet</a> lists just about every $_SERVER value I can think of and where its supported (between Apache, Apache SSL, IIS, and IIS SSL). They've also marked the ones in bold that are availible consistently across all of the setups...]]></description>
      <pubDate>Wed, 09 Nov 2005 06:22:51 -0600</pubDate>
    </item>
  </channel>
</rss>
