<?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 18:20:06 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: HTTP: The Protocol Every Web Developer Must Know - Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/19521</guid>
      <link>http://www.phpdeveloper.org/news/19521</link>
      <description><![CDATA[<p>
NetTus.com has followed up their <a href="http://phpdeveloper.org/news/19433">previous article</a> covering some of the basics of the HTTP protocol with <a href="http://net.tutsplus.com/tutorials/tools-and-tips/http-the-protocol-every-web-developer-must-know-part-2">this new post</a>, part 2 of the series. They suggest that HTTP, the messaging format of the web, is the one protocol that every web developer should know.
</p>
<blockquote>
In my <a href="http://net.tutsplus.com/tutorials/tools-and-tips/http-the-protocol-every-web-developer-must-know-part-1/">previous article</a>, we covered some of HTTP's basics, such as the URL scheme, status codes and request/response headers. With that as our foundation, we will look at the finer aspects of HTTP, like connection handling, authentication and HTTP caching. These topics are fairly extensive, but we'll cover the most important bits.
</blockquote>
<p>
In this article, they talk about things like the HTTPS secure version of HTTP, server-side connection handling, identification/authorization and working with caching and cache control headers.
</p>
Link: http://net.tutsplus.com/tutorials/tools-and-tips/http-the-protocol-every-web-developer-must-know-part-2]]></description>
      <pubDate>Mon, 29 Apr 2013 15:07:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Kunz's Blog: Now serving: SPDY]]></title>
      <guid>http://www.phpdeveloper.org/news/17900</guid>
      <link>http://www.phpdeveloper.org/news/17900</link>
      <description><![CDATA[<p>
<i>Christopher Kunz</i> is trying out the new web acceleration tool Google recently released (<a href="http://en.wikipedia.org/wiki/SPDY">SPDY</a>)  when his site is <a href="https://www.christopher-kunz.de/archives/279-Now-serving-SPDY.html">served under HTTPS</a> (warning, self-signed cert).
</p>
<blockquote>
The reason this posting lands in the PHP category is that I want to have a playground testing PHP applications with mod_spdy. Currently (and probably also in the future), this machine uses mod_php instead of php_(f)cgi(d) - this is not recommended for interoperation with mod_spdy. To test the real-life impact of the possible thread safety issues, I am using my private pages as a sandbox.
</blockquote>
<p>
He has two other PHP-based applications running with the accelerator - a <a href="https://gallery.christopher-kunz.de/">Gallery3</a> install and <a href="https://absynth.de/">a WordPress site</a>. SPDY ("speedy") was released by Google and is similar to HTTP but with a focus on minimized latency and heightened web security. 
</p>]]></description>
      <pubDate>Thu, 03 May 2012 08:14:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Transfer Data via Multiple Protocols with Libcurl]]></title>
      <guid>http://www.phpdeveloper.org/news/16876</guid>
      <link>http://www.phpdeveloper.org/news/16876</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a new tutorial showing how to <a href="http://www.phpbuilder.com/columns/Libcurl/Libcurl_09-14-2011.php3">use libcurl to communicate with multiple protocols</a> like FTP, HTTP, HTTPS, SMTP and STMPS. The <a href="http://curl.haxx.se/libcurl/">libcurl</a> library that can be compiled in or installed as a shared module in your PHP install to provide enhanced networking abilities.
</p>
<blockquote>
As I wrote in my <a hef="http://www.phpbuilder.com/columns/php-multithreading-curl/Octavia_Anghel06072011.php3">PHP multithreading with cURL</a> article, the libcurl is a free and easy-to-use client-side URL transfer library, supporting DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMTP, SMTPS, TELNET and TFTP. PHP supports the libcurl library which allows you to connect and communicate to many different types of servers with many different types of protocols.
</blockquote>
<p>
<a href="http://www.phpbuilder.com/columns/Libcurl/Libcurl_09-14-2011.php3">The tutorial</a> focuses on two different types of connections (well, four really) - FTP/FTPS and HTTP/HTTPS - and how to transfer data across each. Some code is included to create a (procedural) tool to send an uploaded file to a remote site.
</p>]]></description>
      <pubDate>Mon, 19 Sep 2011 12:03:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney's Blog: Making Zend Server Available Via SSL Only]]></title>
      <guid>http://www.phpdeveloper.org/news/15701</guid>
      <link>http://www.phpdeveloper.org/news/15701</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has <a href="http://weierophinney.net/matthew/archives/252-Making-Zend-Server-Available-Via-SSL-Only.html">a new post</a> to his blog today about making your Zend Server instance a bit more secure by taking the admin GUI and forcing it to be HTTPS-only (instead of the default HTTP & HTTPS).
</p>
<blockquote>
In light of the <a href="http://bugs.php.net/bug.php?id=53632">recent remote PHP exploit</a>, I decided to update a couple servers I manage to ensure they weren't vulnerable. In each case, I had been using hand-compiled PHP builds, but decided that I'm simply too busy lately to be trying to maintain updates -- so I decided to install Zend Server. [...] One thing I've never been happy about, however, is that by default <a href="http://www.zend.com/en/products/server/">Zend Server</a> exposes its administration GUI via both HTTP and HTTPS. Considering that the password gives you access to a lot of sensitive configuration, I want it to be encrypted.
</blockquote>
<p>
He points out that, since the Zend Server interface runs on a <a href="http://www.lighttpd.net/">lighttpd</a> instance, it's easy to modify a few config files to change the setting. Adding a few lines to limit the socket it can connect on, the IP address to filter to and a URL filter on anything starting with "/ZendServer/" takes away the HTTP access. 
</p>]]></description>
      <pubDate>Fri, 07 Jan 2011 09:46:58 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Web Services: How to configure https for Apache2.2 and consume PHP web services over https]]></title>
      <guid>http://www.phpdeveloper.org/news/14544</guid>
      <link>http://www.phpdeveloper.org/news/14544</link>
      <description><![CDATA[<p>
New from the PHP Web Services blog today there's a post showing you how to <a href="http://phpwebservices.blogspot.com/2010/05/how-to-configure-https-for-apache22-and.html">set up Apache 2.2 for HTTPS connections</a> to consume other web services.
</p>
<p>
The tutorial gives you a step-by-step process to follow with commands and configuration changes every step of the way:
</p>
<ul>
<li>Create a certificate
<li>Generate a key
<li>Sign the key with the certificate
<li>Copy the keys to the right directory
<li>Make configuration changes for the SSL connections
<li>Connect to the remote HTTPS web service
</ul>
<p>
If you're using PHP, you can also use the OpenSSL and SOAP clients with the SSL libraries to make requests to secure remote resources.
</p>]]></description>
      <pubDate>Mon, 24 May 2010 08:39:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DotVoid.com: Problem with downloading files with Internet Explorer over HTTPS]]></title>
      <guid>http://www.phpdeveloper.org/news/13316</guid>
      <link>http://www.phpdeveloper.org/news/13316</link>
      <description><![CDATA[<p>
On the DotVoid.com blog <i>Danne</i> shares a <a href="http://www.dotvoid.com/2009/10/problem-with-downloading-files-with-internet-explorer-over-https/">quick tip</a> on forcing downloads over HTTPS to Internet Explorer (which, of course, has to be difficult about it).
</p>
<blockquote>
The problem is that Internet Explorer does not handle file dowloads without caching over https very well. Or at all. According to knowledge articles on Microsofts website the problem occurs when having one or two of the http headers. [...] Previously I have have just omitted the http header "Pragma: nocache" for IE but it seems it does not always help.
</blockquote>
<p>
So the fix is relatively simple - rely on the $_SERVER['HTTP_USER_AGENT'] value to tell if it's an IR browser or not. If it is, "Pragma: cache" works. If not, stick with "Pragma: no-cache".
</p>]]></description>
      <pubDate>Thu, 01 Oct 2009 09:48:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Managing Secure Protocol in Apache-Based Websites using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12590</guid>
      <link>http://www.phpdeveloper.org/news/12590</link>
      <description><![CDATA[<p>
On DevShed today there's <a href="http://www.devshed.com/c/a/PHP/Managing-Secure-Protocol-in-Apache-Based-Websites-using-PHP/">a new tutorial</a> that walks you through tips on two things that can help you keep your https site running smoothly and keep in favor with the major search engines - duplicate content and correct 301 redirects.
</p>
<blockquote>
When trying to maintain a secure protocol on an Apache-based website, you can expect to deal with certain issues, especially if you're also trying to rank well in the search engines. [...] This article provides tips and solutions to help any web developer effectively manage the two most difficult problems in maintaining the secure protocol side of any website. These are the: Duplicate content and 301 redirection from the non-https to http version.
</blockquote>
<p>
They recommend two things to handle the duplicate content issues: placing a meta tag on the https pages to keep them from being indexed (keeping the search engines from seeing the http and htttps as two different resources, thus two different sites to index) and using a canonical value in a link tag. 
</p>
<p>
As far as the 301 redirects go, they include some PHP code that, if placed at the top of your pages, can detect if the protocol is https or not. If its not, it uses <a href="http://php.net/header">header</a> to perform the 301 redirect.
</p>]]></description>
      <pubDate>Fri, 29 May 2009 07:55:25 -0500</pubDate>
    </item>
  </channel>
</rss>
