<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="2.0" xml:base="http://stoopidsimple.com">
<channel>
 <title>stoopidsimple.com - PHP</title>
 <link>http://stoopidsimple.com/taxonomy/term/4/0</link>
 <description>Of or pertaining to the PHP language.</description>
 <language>en</language>
<item>
 <title>mod_security + drupal</title>
 <link>http://stoopidsimple.com/drupal/mod_security</link>
 <description>&lt;p&gt;I use PHP embedded in my  Drupal content. This can cause problems with mod_security (&quot;Internal server error&quot;, number 500).&lt;/p&gt;
&lt;p&gt;The problem is that Drupal sends Edit content back to the server via the POST method. If your content has &amp;lt;?php&amp;gt; in it then it will probably get flagged as a security error.&lt;/p&gt;
&lt;p&gt;If your hosting provider allows .htaccess overides then you can add lines to get arround the default rules. However, the security considerations are considerable. And as I have been recently reminded, I am not a security expert. Therefore instead of giving recomendations, here is the &lt;a href=&quot;http://www.onlamp.com/pub/a/apache/2003/11/26/mod_security.html&quot;&gt;authoritative reference for mod_security&lt;/a&gt;.&lt;/p&gt;
</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Mon, 03 Oct 2005 19:33:58 -0700</pubDate>
</item>
<item>
 <title>Howto encode special characters in URL&#039;s?</title>
 <link>http://stoopidsimple.com/php/encode_url</link>
 <description>How do I encode a &#039;#&#039; symbol in a URL?&lt;br/&gt;
How do I encode a &#039;&lt;&#039; symbol in a URL?&lt;br/&gt;
I hate looking these up, and I always forget... but PHP has a great builtin function to help you out: &lt;i&gt;urlencode()&lt;/i&gt;.&lt;br/&gt;
&lt;hr&gt;
&lt;form action=&quot;php/encode_url&quot; method=&quot;post&quot;&gt;
Run your own string through it:
&lt;input type=&quot;text&quot; name=&quot;text&quot;/&gt;
&lt;input type=&quot;submit&quot; name=&quot;go!&quot;/&gt;
&lt;/form&gt;
&lt;br/&gt;
Recent strings run through urlencode():
&lt;table border=&quot;1&quot;&gt;
&lt;tr&gt;&lt;th&gt;string&lt;/th&gt;&lt;th&gt;urlencod()&#039;d string&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;hi, thanks for the hack &amp;lt;foo&amp;gt;&lt;/td&gt;&lt;td&gt;hi%2C+thanks+for+the+hack+%3Cfoo%3E&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;#00ff00&lt;/td&gt;&lt;td&gt;%2300ff00&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://www.niche-health-products.com/?affid=356&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwww.niche-health-products.com%2F%3Faffid%3D356&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;?affid=356&lt;/td&gt;&lt;td&gt;%3Faffid%3D356&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%&lt;/td&gt;&lt;td&gt;%25&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt; &lt;/td&gt;&lt;td&gt;+&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&#039; &#039;&lt;/td&gt;&lt;td&gt;%27+%27&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;º&lt;/td&gt;&lt;td&gt;%C2%BA&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ºC&lt;/td&gt;&lt;td&gt;%C2%BAC&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%01&lt;/td&gt;&lt;td&gt;%2501&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;I like big butts and I cannot lie, you other brothers can&#039;t deny&lt;/td&gt;&lt;td&gt;I+like+big+butts+and+I+cannot+lie%2C+you+other+brothers+can%27t+deny&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;How do I encode a &#039;&amp;lt;&#039; symbol in a URL?&lt;/td&gt;&lt;td&gt;How+do+I+encode+a+%27%3C%27+symbol+in+a+URL%3F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;lol&lt;/td&gt;&lt;td&gt;lol&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;#%#%&lt;/td&gt;&lt;td&gt;%23%25%23%25&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;*&lt;/td&gt;&lt;td&gt;%2A&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;tae&lt;/td&gt;&lt;td&gt;tae&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;gopal#&lt;/td&gt;&lt;td&gt;gopal%23&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;@&lt;/td&gt;&lt;td&gt;%40&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;asdfa3  3&lt;/td&gt;&lt;td&gt;asdfa3++3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;   d&lt;/td&gt;&lt;td&gt;+++d&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;pioverà&lt;/td&gt;&lt;td&gt;piover%C3%A0&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%2C&lt;/td&gt;&lt;td&gt;%252C&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://wild-type.com/tng/tng3/places-oneletter.php?offset=2&amp;amp;psearch=Calumet%2C+Wisconsin&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwild-type.com%2Ftng%2Ftng3%2Fplaces-oneletter.php%3Foffset%3D2%26psearch%3DCalumet%252C%2BWisconsin&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;feef&lt;/td&gt;&lt;td&gt;feef&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;å&lt;/td&gt;&lt;td&gt;%C3%A5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ö&lt;/td&gt;&lt;td&gt;%C3%B6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;ä&lt;/td&gt;&lt;td&gt;%C3%A4&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Å&lt;/td&gt;&lt;td&gt;%C3%85&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ä&lt;/td&gt;&lt;td&gt;%C3%84&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ö&lt;/td&gt;&lt;td&gt;%C3%96&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;amp;option=com_cmsrealty&amp;amp;&lt;/td&gt;&lt;td&gt;%26option%3Dcom_cmsrealty%26&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;lt;PESCXML:MeteorRsMsg xmlns:PESCXML=\&amp;quot;http://schemas.pescxml.org\&amp;quot; xmlns:xsi=\&amp;quot;http://www.w3.org/2001/XMLSchema-instance\&amp;quot; PESCXMLVersion=\&amp;quot;1.0.0\&amp;quot; xsi:schemaLocation=\&amp;quot;http://schemas.pescxml.org Meteor_Schema_1-0-0.xsd\&amp;quot;&amp;gt;&lt;/td&gt;&lt;td&gt;%3CPESCXML%3AMeteorRsMsg+xmlns%3APESCXML%3D%5C%22http%3A%2F%2Fschemas.pescxml.org%5C%22+xmlns%3Axsi%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%5C%22+PESCXMLVersion%3D%5C%221.0.0%5C%22+xsi%3AschemaLocation%3D%5C%22http%3A%2F%2Fschemas.pescxml.org+Meteor_Schema_1-0-0.xsd%5C%22%3E&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;www.facebook.com&lt;/td&gt;&lt;td&gt;www.facebook.com&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://www.facebook.com&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwww.facebook.com&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;På må og få viser vi æøå&lt;/td&gt;&lt;td&gt;P%C3%A5+m%C3%A5+og+f%C3%A5+viser+vi+%C3%A6%C3%B8%C3%A5&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;hi is is how&lt;/td&gt;&lt;td&gt;hi+is+is+how&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://www.transtrader.eu/nib/login/login_chartisteinitié.php&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwww.transtrader.eu%2Fnib%2Flogin%2Flogin_chartisteiniti%C3%A9.php&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;login_chartisteinitié.php&lt;/td&gt;&lt;td&gt;login_chartisteiniti%C3%A9.php&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://onet.pl/&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fonet.pl%2F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&#039;,&lt;/td&gt;&lt;td&gt;%27%2C&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;we&#039;r&lt;/td&gt;&lt;td&gt;we%27r&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;htt://www.yahoo.com?a=we&#039;are&lt;/td&gt;&lt;td&gt;htt%3A%2F%2Fwww.yahoo.com%3Fa%3Dwe%27are&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&amp;quot;&lt;/td&gt;&lt;td&gt;%22&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;vaas&#039;&lt;/td&gt;&lt;td&gt;vaas%27&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;A&amp;amp;E&lt;/td&gt;&lt;td&gt;A%26E&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;my cat say brrrr&lt;/td&gt;&lt;td&gt;my+cat+say+brrrr&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;+ test + &lt;/td&gt;&lt;td&gt;%2B+test+%2B+&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%3A%2F%2F&lt;/td&gt;&lt;td&gt;%253A%252F%252F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;file=http%3A%2F%2Fcdn.buzznet.com%2Fassets%2Fvideox%2F3%2F4%2F1%2F7%2F3%2F9%2F1%2Fvid-3417391.flv%3F1218133282&lt;/td&gt;&lt;td&gt;file%3Dhttp%253A%252F%252Fcdn.buzznet.com%252Fassets%252Fvideox%252F3%252F4%252F1%252F7%252F3%252F9%252F1%252Fvid-3417391.flv%253F1218133282&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ã&lt;/td&gt;&lt;td&gt;%C3%83&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ã¡&lt;/td&gt;&lt;td&gt;%C3%83%C2%A1&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;/&lt;/td&gt;&lt;td&gt;%2F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Very Nice Site! Thanx!&lt;/td&gt;&lt;td&gt;Very+Nice+Site%21+Thanx%21%0D&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://excellent-credit-card.blogspot.com&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fexcellent-credit-card.blogspot.com&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://webact.symantec.com/webact-redirect.jsp?PCODE=AU&amp;amp;SO={98B9562C-8832-4381-8D34-694F2A0022F3}&amp;amp;VER=2&amp;amp;actreq=%2F24587007%2F18P6PMMD%2FYFSf%2F%2FA%2F4%2FQ19Q40UICnIl1j%2FEHBNj0Jt5%2b%2F%2Fd3ZGY1Q%2FADLcNsRCduANxAdwUEwAbnFHx%2FVGBUYVXBP7AKA68L%2F0069000310030&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwebact.symantec.com%2Fwebact-redirect.jsp%3FPCODE%3DAU%26SO%3D%7B98B9562C-8832-4381-8D34-694F2A0022F3%7D%26VER%3D2%26actreq%3D%252F24587007%252F18P6PMMD%252FYFSf%252F%252FA%252F4%252FQ19Q40UICnIl1j%252FEHBNj0Jt5%252b%252F%252Fd3ZGY1Q%252FADLcNsRCduANxAdwUEwAbnFHx%252FVGBUYVXBP7AKA68L%252F0069000310030&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%c3%96&lt;/td&gt;&lt;td&gt;%25c3%2596&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;Ö&lt;/td&gt;&lt;td&gt;%C3%96&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;/&lt;/td&gt;&lt;td&gt;%2F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;?&lt;/td&gt;&lt;td&gt;%3F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%252F&lt;/td&gt;&lt;td&gt;%25252F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;?query=select%20distinct(p.products_id),%20p.manufacturers_id,p.web_only,p.products_gaming,p.free_shipping,p.award_winner,p.clearance,p.products_date_added,p.products_price,%20p.products_tax_class_id%20from%20products_description%20pd,%20products%20p%20left%20join%20manufacturers%20m%20on%20p.manufacturers_id%20=%20m.manufacturers_id,%20products_to_categories%20p2c%20where%20p.products_status%20=%20&#039;1&#039;%20and%20p.products_id%20=%20p2c.products_id%20and%20pd.products_id%20=%20p2c.products_id%20and%20pd.language_id%20=%20&#039;1&#039;%20and%20(p.products_model%20like%20&#039;%750GB%&#039;%20or%20pd.products_name%20like%20&#039;%750GB%&#039;%20or%20p.products_code%20like%20&#039;%750GB%&#039;)&lt;/td&gt;&lt;td&gt;%3Fquery%3Dselect%2520distinct%28p.products_id%29%2C%2520p.manufacturers_id%2Cp.web_only%2Cp.products_gaming%2Cp.free_shipping%2Cp.award_winner%2Cp.clearance%2Cp.products_date_added%2Cp.products_price%2C%2520p.products_tax_class_id%2520from%2520products_description%2520pd%2C%2520products%2520p%2520left%2520join%2520manufacturers%2520m%2520on%2520p.manufacturers_id%2520%3D%2520m.manufacturers_id%2C%2520products_to_categories%2520p2c%2520where%2520p.products_status%2520%3D%2520%271%27%2520and%2520p.products_id%2520%3D%2520p2c.products_id%2520and%2520pd.products_id%2520%3D%2520p2c.products_id%2520and%2520pd.language_id%2520%3D%2520%271%27%2520and%2520%28p.products_model%2520like%2520%27%25750GB%25%27%2520or%2520pd.products_name%2520like%2520%27%25750GB%25%27%2520or%2520p.products_code%2520like%2520%27%25750GB%25%27%29&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;name:natasha&lt;/td&gt;&lt;td&gt;name%3Anatasha&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;name:natasha&lt;/td&gt;&lt;td&gt;name%3Anatasha&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;natasha&lt;/td&gt;&lt;td&gt;natasha&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;/&lt;/td&gt;&lt;td&gt;%2F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;%252F&lt;/td&gt;&lt;td&gt;%25252F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;mrxyz#whereareyou?&lt;/td&gt;&lt;td&gt;mrxyz%23whereareyou%3F&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://webact.symantec.com/webact-redirect.jsp?PCODE=AU&amp;amp;SO={98B9562C-8832-4381-8D34-694F2A0022F3}&amp;amp;VER=2&amp;amp;actreq=%2F24587007%2F18P6PMMD%2FYFSf%2F%2FA%2F4%2FQ19Q40UICnIl1j%2FEHBNj0Jt5%2b%2F%2Fd3ZGY1Q%2FADLcNsRCduANxAdwUEwAbnFHx%2FVGBUYVXBP7AKA68L%2F0069000310030&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwebact.symantec.com%2Fwebact-redirect.jsp%3FPCODE%3DAU%26SO%3D%7B98B9562C-8832-4381-8D34-694F2A0022F3%7D%26VER%3D2%26actreq%3D%252F24587007%252F18P6PMMD%252FYFSf%252F%252FA%252F4%252FQ19Q40UICnIl1j%252FEHBNj0Jt5%252b%252F%252Fd3ZGY1Q%252FADLcNsRCduANxAdwUEwAbnFHx%252FVGBUYVXBP7AKA68L%252F0069000310030&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;http://webact.symantec.com/webact-redirect.jsp?PCODE=AU&amp;amp;SO={98B9562C-8832-4381-8D34-694F2A0022F3}&amp;amp;VER=2&amp;amp;actreq=%2F24587007%2F18P6PMMD%2FYFSf%2F%2FA%2F4%2FQ19Q40UICnIl1j%2FEHBNj0Jt5%2b%2F%2Fd3ZGY1Q%2FADLcNsRCduANxAdwUEwAbnFHx%2FVGBUYVXBP7AKA68L%2F0069000310030&lt;/td&gt;&lt;td&gt;http%3A%2F%2Fwebact.symantec.com%2Fwebact-redirect.jsp%3FPCODE%3DAU%26SO%3D%7B98B9562C-8832-4381-8D34-694F2A0022F3%7D%26VER%3D2%26actreq%3D%252F24587007%252F18P6PMMD%252FYFSf%252F%252FA%252F4%252FQ19Q40UICnIl1j%252FEHBNj0Jt5%252b%252F%252Fd3ZGY1Q%252FADLcNsRCduANxAdwUEwAbnFHx%252FVGBUYVXBP7AKA68L%252F0069000310030&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Wed, 10 Aug 2005 20:03:07 -0700</pubDate>
</item>
<item>
 <title>PHP + GD + Gentoo</title>
 <link>http://stoopidsimple.com/php/gentoo-gd</link>
 <description>&lt;p&gt;Oh my... another configuration/setup/compile issue.&lt;br /&gt;
Out of the box gentoo&#039;s default configuration for mod_php (Apache&#039;s method of using PHP as a module) does not support GD (the PHP graphics extensions).&lt;br /&gt;
This means you cannot use the PHP functions imagecreate() etc. PHP&#039;s GD interface is really very useful if you want to do any server side image manipulation.&lt;br /&gt;
You can tell if you&#039;re version of mod_php has GD support by putting the php command &quot;phpinfo()&quot; in a script and executing it through your webserver. If you see the following then you do &lt;b&gt;not&lt;/b&gt; have GD support:&lt;/p&gt;
&lt;pre&gt;--without-gd&lt;/pre&gt;&lt;br /&gt;
</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Wed, 10 Aug 2005 19:39:39 -0700</pubDate>
</item>
<item>
 <title>rtphoops</title>
 <link>http://stoopidsimple.com/rtphoops</link>
 <description>&lt;p&gt;I like basketball. I like playing it. I like watching it. It is just good fun!&lt;/p&gt;
&lt;p&gt;I am lucky enough to work at a job where I can get out and shoot hoops at lunch. Over the years our circle of players has expanded and now we routinely have games of 5v5 with players from 5 or so different companies. Some days we have even filled up 2 courts! Organizing this is a major pain. Nobody has the time to do the coordination. So a couple of months ago I threw together &lt;a href=&quot;http://rtphoops.com&quot;&gt;rtphoops.com&lt;/a&gt; to help streamline the process.&lt;br /&gt;
It is built with PHP for the server side logic and MySql for the data storage. &lt;/p&gt;
</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Wed, 10 Aug 2005 19:11:43 -0700</pubDate>
</item>
<item>
 <title>Gentoo + Apache2 + PHP</title>
 <link>http://stoopidsimple.com/php/gentoo-apache2</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://gentoo.org&quot;&gt;Gentoo&lt;/a&gt; is a strange beast... It seems like many things were done differently just to be different. Gentoo places the configuration files &lt;a href=&quot;http://apache.org&quot;&gt;Apache2&lt;/a&gt; reads on startup in: &lt;/p&gt;
&lt;pre&gt;/etc/apache2/conf&lt;/pre&gt;&lt;p&gt;The configuration files are then setup with &amp;lt;IfDefine&amp;gt; directives for loading specific modules. You must edit /etc/conf/apache2 to set an environment variable (APACHE2_OPTS) to include the PHP4 directive:&lt;/p&gt;
&lt;pre&gt;
APACHE2_OPTS=&quot;-D PHP4&quot;
&lt;/pre&gt;&lt;p&gt;Note that the APACHE2_OPTS line already exists in /etc/conf/apache2, it just needs to be uncommented and modified to include &quot;-D PHP4&quot;&lt;/p&gt;
</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Wed, 10 Aug 2005 19:00:13 -0700</pubDate>
</item>
<item>
 <title>PHP - Tricks and Tips</title>
 <link>http://stoopidsimple.com/php</link>
 <description>&lt;p&gt;Here is a list of issues and articals I have collected on my journey with PHP.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;php/gentoo-apache2&quot;&gt;Getting PHP running with Apache2 in gentoo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;php/gentoo-gd&quot;&gt;Getting gd (graphics library) support in PHP4 in gentoo&lt;/a&gt;
&lt;li&gt;&lt;a href=&quot;php/encode_url&quot;&gt;How to encode special characters in a URL?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Wed, 10 Aug 2005 18:53:07 -0700</pubDate>
</item>
<item>
 <title>Canon Date Codes</title>
 <link>http://stoopidsimple.com/photography/canon_date_codes</link>
 <description>&lt;a href=&quot;http://www.bobatkins.com&quot;&gt;Bob Atkins&lt;/a&gt; was nice enough to put together a bit of info on &lt;a href=&quot;http://www.bobatkins.com/photography/eosfaq/DATECODE.HTM&quot;&gt;how to decode&lt;/a&gt; &lt;a href=&quot;http://www.canonusa.com&quot;&gt;Canon&lt;/a&gt; date codes.&lt;br&gt;However, I almost ran out of fingers and toes trying to count to &#039;S&#039; so I threw together the following calculator based on Bob&#039;s wisdom.
I only know the factory codes that where listed by Bob, if you know any please send them in and I will update the calculator.
Also, if you have any tips on finding the date codes please send that in as well.
Thanks!
&lt;a href=&quot;mailto:eyekode@yahoo.com&quot;&gt;eyekode@yahoo.com&lt;/a&gt;
&lt;form action=&quot;node/1&quot; method=&quot;GET&quot;&gt;Enter Canon Date Code Here:&lt;input type=&quot;text&quot; name=&quot;code&quot; size=30&gt;&lt;input type=&quot;submit&quot; value=&quot;Go!&quot;&gt;&lt;p&gt;&lt;/form&gt;

</description>
 <category domain="http://stoopidsimple.com/taxonomy/term/7">Gear</category>
 <category domain="http://stoopidsimple.com/taxonomy/term/4">PHP</category>
 <pubDate>Sat, 06 Aug 2005 11:56:20 -0700</pubDate>
</item>
</channel>
</rss>
