<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Kevin&#039;s random thoughts &#187; tech papers</title>
	<atom:link href="http://kbullock.ringworld.org/category/tech-papers/feed/" rel="self" type="application/rss+xml" />
	<link>http://kbullock.ringworld.org</link>
	<description>god, tech, and other geekery</description>
	<lastBuildDate>Tue, 02 Feb 2010 18:11:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Differences in PHP SAPIs</title>
		<link>http://kbullock.ringworld.org/2006/10/06/differences-in-php-sapis/</link>
		<comments>http://kbullock.ringworld.org/2006/10/06/differences-in-php-sapis/#comments</comments>
		<pubDate>Fri, 06 Oct 2006 22:44:00 +0000</pubDate>
		<dc:creator>kbullock</dc:creator>
				<category><![CDATA[tech papers]]></category>

		<guid isPermaLink="false">/2006/10/07/differences-in-php-sapis</guid>
		<description><![CDATA[
  
    mod_php
    CGI
    CLI
  

  
    Writes HTTP headers to output
    Writes HTTP headers to output unless '-q' given on command line
    No HTTP headers, even if header() is called
  

  [...]]]></description>
			<content:encoded><![CDATA[<table border="0">
  <tr style="font-size:120%;">
    <th><code>mod_php</code></th>
    <th><acronym title="Common Gateway Interface">CGI</acronym></th>
    <th><acronym title="Command Line Interface">CLI</acronym></th>
  </tr>

  <tr>
    <td>Writes HTTP headers to output</td>
    <td>Writes HTTP headers to output unless <code>'-q'</code> given on command line</td>
    <td>No HTTP headers, even if <code><a href="http://php.net/header">header()</a></code> is called</td>
  </tr>

  <tr>
    <td>ini defaults are <a href="http://us3.php.net/manual/en/ini.php">as specified in manual</a></td>
    <td>ini defaults are <a href="http://us3.php.net/manual/en/ini.php">as specified in manual</a></td>
    <td>
      <p>Overrides some of the <a href="http://us3.php.net/manual/en/ini.php">defaults</a>:</p>
      <ul>
        <li><code><a href="http://us3.php.net/manual/en/ref.errorfunc.php#ini.html-errors">html_errors</a></code> &rArr; <code>FALSE</code></li>
        <li><code><a href="http://us3.php.net/manual/en/ref.outcontrol.php#ini.implicit-flush">implicit_flush</a></code> &rArr; <code>TRUE</code></li>
        <li><code><a href="http://www.php.net/manual/en/ref.info.php#ini.max-execution-time">max_execution_time</a></code> &rArr; <code>0</code> (unlimited)</li>
        <li><code><a href="http://www.php.net/manual/en/ini.core.php#ini.register-argc-argv">register_argc_argv</a></code> &rArr; <code>TRUE</code></li>
      </ul>
    </td>
  </tr>

  <tr>
    <td><code>chdir()</code>s to the script directory</td>
    <td><code>chdir()</code>s to the script directory unless <code>'-C'</code> given on command line</td>
    <td><strong>Does not</strong> <code>chdir()</code> to the script directory</td>
  </tr>

  <tr>
    <td>Sets <a href="http://www.php.net/manual/en/language.variables.predefined.php">superglobals</a> appropriately, including server variables</td>
    <td>Sets <a href="http://www.php.net/manual/en/language.variables.predefined.php">superglobals</a> appropriately, including (part of) server&#8217;s environment</td>
    <td>Most HTTP-related superglobals are empty arrays, <em>except</em> <code>$_SESSION</code> is <code>NULL</code></td>
  </tr>
</table>
]]></content:encoded>
			<wfw:commentRss>http://kbullock.ringworld.org/2006/10/06/differences-in-php-sapis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
