<?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, 22 May 2013 16:47:08 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Greg Freeman: Steps to Take When you Know your PHP Site has been Hacked]]></title>
      <guid>http://www.phpdeveloper.org/news/19283</guid>
      <link>http://www.phpdeveloper.org/news/19283</link>
      <description><![CDATA[<p>
<i>Greg Freeman</i> has posted the <a href="http://www.gregfreeman.org/2013/steps-to-take-when-you-know-your-php-site-has-been-hacked/">second part</a> of his "hacked PHP application" series (part <a href="http://phpdeveloper.org/news/19273">one is here</a>). In this new post he looks at the aftermath - what to do and check to do cleanup and fixes so it doesn't happen again.
</p>
<blockquote>
This is a follow up post from my previous post "<a href="http://www.gregfreeman.org/2013/how-to-tell-if-your-php-site-has-been-compromised/">How to Tell if Your PHP Site has been Hacked or Compromised</a>". This post will discuss some the first steps you should take when you have identified that your site has been compromised. The first sections discuss a few points that are not relevant to everyone, the later sections will discuss how to fix the exploits.
</blockquote>
<p>He includes a list of things to think about including:</p>
<ul>
<li>What kind of hosting you use (and if that contributed)
<li>The option to redirect all requests for your site to one page
<li>Get a list of all PHP files to locate something malicious
<li>Locating "non-PHP PHP files"
<li>Finding files with possible malicious content
</ul>
<p>
He also includes a few suggestions to help prevent issues in the future - update to the latest versions, patch your code, rethinking your permissions and monitoring for potential repeat attacks.
</p>]]></description>
      <pubDate>Thu, 07 Mar 2013 09:53:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Preventing Code Rot 101: Unit Testing]]></title>
      <guid>http://www.phpdeveloper.org/news/19253</guid>
      <link>http://www.phpdeveloper.org/news/19253</link>
      <description><![CDATA[<p>
On PHPMaster.com today they've published a new article from <i>Remi Woler</i> about <a href="http://phpmaster.com/preventing-code-rot-101-unit-testing/">preventing "code rot"</a> in your applications through the use of unit testing. He advocates that tests, when applied correctly, can help make refactoring easier and safer, allowing you to change your code and know things stlll work.
</p>
<blockquote>
Unless you're working on a fresh project right now, the codebase you work with most likely has such code you take for granted. And the more challenging your current assignment (or fresh project) is, the more likely it will become a legacy part as well on short notice. Since it's infeasible to fully comprehend all problems that your codebases solve, as well as all their solutions, something else needs to be done to prevent code rot. One way or the other: the code needs to be refactorable to live happily ever after.
</blockquote>
<p>
The breaks down the steps that a unit test should follow on its most base level - assemble the environment to test inside, act on the code and assert that the output was as expected. He walks you through each of these steps, detailing what's involved and including some sample code to illustrate. He also includes a few tips on the successful application of tests like:
</p>
<ul>
<li>Don't forget to write integration/acceptance tests as well.
<li>Name your unit tests verbosely.
<li>Write unit tests for bug fixes.
<li>Never change the code under test.
</ul>]]></description>
      <pubDate>Thu, 28 Feb 2013 13:41:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Get involved in the PHP community: 5 easy steps that take less than 5 min. each]]></title>
      <guid>http://www.phpdeveloper.org/news/14987</guid>
      <link>http://www.phpdeveloper.org/news/14987</link>
      <description><![CDATA[<p>
On the Zend Developer Zone there's a new post from <i>Cal Evans</i> about <a href="http://devzone.zend.com/article/12450-Get-involed-in-the-PHP-community-5-easy-steps-that-take-less-than-5-minutes-each">five ways to get involved</a> in the PHP community that take about five minutes each (and can both help you and the community).
</p>
<blockquote>
ome developers develop because it pays the bills. They don't want to be part of the community, they have other passions. I am ok with that, I don't want anyone involved who doesn't want to be. Other developers however tell me they didn't know the community existed, they don't know how to get involved or they are just too shy to step up. It is to this second group (and anyone who is already involved but wants more) that I want to talk to. If you want to get involved in the PHP community here are 5 quick ideas to get you going.
</blockquote>
<p>
His five things are simple and cover a lot of different media, from blogs to twitter:
</p>
<ul>
<li>Email your local PHP User Group and offer to speak.
<li>Setup a PHP tag on your blog.
<li>Submit something to <a href="http://devzone.zend.com/">DevZone</a>!
<li>Re-tweet something about PHP.
<li>Find at least one other PHP developer that is not involved in the PHP community and convince them to read this list and take action.
</ul>
<p>
He equates this last one to a "chain letter" but it's key to helping th community grow. It's all about people getting together around a language they love and sharing that with more and more people.
</p>]]></description>
      <pubDate>Thu, 19 Aug 2010 09:14:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[JoomlaBlogger.net: How to understand Joomla templates in five easy steps]]></title>
      <guid>http://www.phpdeveloper.org/news/14843</guid>
      <link>http://www.phpdeveloper.org/news/14843</link>
      <description><![CDATA[<p>
On JoomlaBlogger.net there's <a href="http://www.joomlablogger.net/joomla-tutorials/joomla-template-tutorials/understand-joomla-templates/">a recent post</a> that wants to help you understand the Joomla templating system in "five easy steps".
</p>
<blockquote>
There are very few tutorials on how to build templates. There are two books and a handful of other resources scattered around the web. So, we set out to build the very best template class we could. Here are first five sessions of the class: Joomla templates are not rocket science. You can learn how to build and modify them. We can show you how. Interested?
</blockquote>
<p>They break it up into the basic parts:</p>
<ul>
<li>Template setup and templateDetails.xml
<li>Index.php
<li>CSS/Cascading Style Sheets
<li>Images
<li>Security
</ul>]]></description>
      <pubDate>Fri, 23 Jul 2010 12:48:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin van Zonneveld's Blog: 7 Steps to better PEAR documentation]]></title>
      <guid>http://www.phpdeveloper.org/news/12001</guid>
      <link>http://www.phpdeveloper.org/news/12001</link>
      <description><![CDATA[<p>
<i>Kevin van Zonneveld</i> has posted <a href="http://kevin.vanzonneveld.net/techblog/article/7_steps_to_better_pear_documentation/">seven steps</a> that you can follow to help the documentation for your PEAR class come out better and be more useful in the end.
</p>
<blockquote>
If you've written a <a href="http://pear.php.net/">PEAR</a> package, it's probably a good idea to submit some end user documentation. Here's how to do it.
</blockquote>
<p>
He explains what it is (XML in CVS, easily convertible with phpd) and how the process flows - save the current docs, add your own, build locally and submit to CVS. Here's his tips to help things go smoothly/turn out better:
</p>
<ul>
<li>Gather the prerequisites
<li>Save current documentation
<li>Try building the docs
<li>Write your own XML docs
<li>ReBuild peardoc
<li>Commit your XML
<li>(There is no seventh step - you're done!)
</ul>]]></description>
      <pubDate>Mon, 23 Feb 2009 11:11:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: 10 Steps To Protect The Admin Area In WordPress]]></title>
      <guid>http://www.phpdeveloper.org/news/11830</guid>
      <link>http://www.phpdeveloper.org/news/11830</link>
      <description><![CDATA[<p>
As all of the WordPress users out there know, the "admin" section of the installations is one of the most important areas of your site. That being said, it should also be one of the most well protected parts. <a href="http://www.smashingmagazine.com/2009/01/26/10-steps-to-protect-the-admin-area-in-wordpress/">This new article</a> from Smashing Magazine has ten tips that you can use to help protect you and your blog from prying eyes.
</p>
<blockquote>
The administration area of a Web application is a favorite target of hackers and thus particularly well protected. The same goes for WordPress: when creating a blog, the system creates an administrative user with a perfectly secure password and blocks public access to the settings area with a log-in page. This is the cornerstone of its protection. Let's dig deeper!
</blockquote>
<p>Here's their ten tips:</p>
<ul>
<li>Rename and Upload the wordpress Folder
<li>Extend the file wp-config.php
<li>Move the wp-config.php file
<li>Protect the wp-config.php file
<li>Delete the admin User Account
<li>Choose strong passwords
<li>Protect the wp-admin Directory
<li>Suppress Error Feedback on the Log-In Page
<li>Restrict Erroneous Log-In Attempts
<li>Keep Software Up to Date
</ul>]]></description>
      <pubDate>Wed, 28 Jan 2009 09:31:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: RSS feeds in PHP: 3 simple steps to PHP RSS generation]]></title>
      <guid>http://www.phpdeveloper.org/news/9985</guid>
      <link>http://www.phpdeveloper.org/news/9985</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog today, there's <a href="http://www.developertutorials.com/blog/php/rss-feeds-in-php-3-simple-steps-to-php-rss-generation-121/">a new post</a> talking about the "three easy steps" to making an RSS feed for your blog:
</p>
<blockquote>
Adding an RSS feed to your site is quick and painless, and can be done with pure PHP (and some kind of data source). After the jump, 3 simple steps to building an RSS feed in php.
</blockquote>
<p>
The steps are pretty simple - figure out what content you want to serve, set up the basic RSS XML structure, and loop through your data to push it in to the template and echoed out. Some simple example code is included.
</p>]]></description>
      <pubDate>Thu, 17 Apr 2008 08:47:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Nessa's Blog: Installing suPHP on cPanel]]></title>
      <guid>http://www.phpdeveloper.org/news/9188</guid>
      <link>http://www.phpdeveloper.org/news/9188</link>
      <description><![CDATA[<p>
On her blog today <i>Nessa</i> has <a href="http://www.v-nessa.net/2007/12/05/installing-suphp-on-cpanel">written up a tutorial</a> on getting SuPHP working along with cPanel on your system.
</p>
<blockquote>
I wrote this tutorial a while back and figured it would be good to post because suPHP is growing more popular as an alternative to phpSuExec. The instructions assume that you are on a Linux cPanel server and are familiar with how to install PHP, but do not want to use EasyApache's suPHP installer in WHM.
</blockquote>
<p>
It's a long process but a lot of it is just configuration changes and grabbing the right software. Every line of each of the config files you'll need to change is there ready to cut and paste into your files as well as the command line calls you'll need to make to configure/compile and move files to where they need to go.
</p>]]></description>
      <pubDate>Thu, 06 Dec 2007 12:06:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Scalability and Responsiveness with Zend Platform's Job Queue]]></title>
      <guid>http://www.phpdeveloper.org/news/8097</guid>
      <link>http://www.phpdeveloper.org/news/8097</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, there's <a href="http://devzone.zend.com/article/2207-Scalability-and-Responsiveness-with-Zend-Platforms-Job-Queue">a new article</a> by <i>Dotan Perry</i> and <i>Shie Erlich</i> talking about what kind of scalability and responsiveness that the Zend Platform's Job Queue functionality has to offer.
</p>
<blockquote>
The <a href="http://www.zend.com/products/zend_platform">Zend Platform</a> Job Queue is used to make applications more responsive by allowing tasks to be performed on other machines (e.g.: dedicated machine), and scheduling tasks to a future time (usually to low-traffic hours). [...] Job Queue offers both a web-based management UI, and a programmer-oriented rich API, which allows embedding sophisticated logic into applications. This article will demonstrate basic usage of Job Queue, through an imaginary company wesellalot.com.
</blockquote>
<p>
They start by presenting a scenario where a simple cluster of machines behind a load balancer all work with the same database. Because of some of the tasks they want to perform, things could get overloaded very easily under a high load. Enter the Job Queue and their four step process to integrate it into this setup:
</p>
<ul>
<li>Step 1: Off Load to a Dedicated Server
<li>Step 2: Scheduling to low-traffic hours
<li>Step 3: Breaking down tasks using dependencies
<li>Step 4: A recurring cleanup job
</ul>
<p>
They also include an explanation as to why this method is preferable over just using croned scripts for the same purpose.
</p>]]></description>
      <pubDate>Thu, 21 Jun 2007 11:24:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: Configuring and Running PHP's OCI8 tests]]></title>
      <guid>http://www.phpdeveloper.org/news/7599</guid>
      <link>http://www.phpdeveloper.org/news/7599</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> <a href="http://blogs.oracle.com/opal/2007/04/10#a112">shows us</a> today how to set up and run tests (using the built-in extension testing PHP has) to test the OCI8 functionality that that extension provides.
</p>
<blockquote>
<p>
The test suite can't test everything. You should test your applications with your new PHP too. This gives load and real-life testing not possible with PHP's script based test suite.
</p>
<p>
[...] The tests in ext/oci8/tests verify the behavior of the OCI8 extension. To run them follow these steps.
</p>
</blockquote>
<p>
There's <a href="http://blogs.oracle.com/opal/2007/04/10#a112">four steps</a> he gives that will help you check your Oracle compile installation including what the response of the test results will look like.
</p>]]></description>
      <pubDate>Wed, 11 Apr 2007 08:33:00 -0500</pubDate>
    </item>
  </channel>
</rss>
