<?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, 23 May 2013 06:16:03 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ilia Alshanetsky's Blog: Beware of the default Apache 2 config for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15048</guid>
      <link>http://www.phpdeveloper.org/news/15048</link>
      <description><![CDATA[<p>
<i>Ilia Alshanetsky</i> <a href="http://ilia.ws/archives/226-Beware-of-the-default-Apache-2-config-for-PHP.html">has a suggestion</a> for those setting up PHP and Apache2 for the first time - beware of the default configuration!
</p>
<blockquote>
About a week ago, I was doing some upgrades on my development machine and came across a rather nasty issue when it comes to how .php(s) files are associated with PHP in Apache. It seems that a number of distros including Gentoo (which is what I was using) are using the [same] configuration directive to make the PHP module parse PHP files
</blockquote>
<p>
The problem comes from their use of "AddHandler" versus "AddType" when telling Apache which files to parse as PHP. The first allows anything with ".php" in its filename to be parsed while the second limits it to just files ending in ".php". Check your configuration to ensure you're not open to this issue, especially if there's scripts/files outside of your control.
</p>]]></description>
      <pubDate>Tue, 31 Aug 2010 09:38:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog:Pushing xpi mime content from php]]></title>
      <guid>http://www.phpdeveloper.org/news/12541</guid>
      <link>http://www.phpdeveloper.org/news/12541</link>
      <description><![CDATA[<p>
In <a href="http://www.codediesel.com/php/sending-xpi-mime-content-from-php/">this new post</a> to his blog, <i>Sameer</i> shows how you can push content with the xpi content type out from your PHP scripts (for things like a Firefox toolbar/extension).
</p>
<blockquote>
A couple of days back I created a Firefox toolbar for my blog as an experiment in learning XUL. Once installed on my blog I wanted Firefox to recognize it as an addon and install it rather than displaying a 'save/open' dialog. 
</blockquote>
<p>
Since his hosting provider (GoDaddy) didn't seem to work with adding it into an .htaccess file (an AddType for Apache), he had to force the download type with a few calls to <a href="http://php.net/header">header</a> with the right content type, file size and file name to push it to the user.
</p>]]></description>
      <pubDate>Wed, 20 May 2009 07:06:09 -0500</pubDate>
    </item>
  </channel>
</rss>
