<?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>SuperWebDeveloper.com &#187; php</title>
	<atom:link href="http://www.superwebdeveloper.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.superwebdeveloper.com</link>
	<description>code, design, concepts, ecommerce, media</description>
	<lastBuildDate>Tue, 03 May 2011 04:41:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Takien.com Imitating php.net</title>
		<link>http://www.superwebdeveloper.com/2010/09/28/takien-com-imitating-php-net/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2010/09/28/takien-com-imitating-php-net/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 17:32:33 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=567</guid>
		<description><![CDATA[Somebody is spoofing php.net. Its never cool to see one website rip off another. Here is an example of blatant use of the look of PHP.net, the core information site for PHP programmers on the web, being taken over by a site that came up on a goggle search for a reminder on a deprecated [...]]]></description>
			<content:encoded><![CDATA[<p>Somebody is spoofing php.net. Its never cool to see one website rip off another. Here is an example of blatant use of the look of PHP.net, the core information site for PHP programmers on the web, being taken over by a site that came up on a goggle search for a reminder on a deprecated function. I am not the greenest guy out there. I have even sat in on <a title="Chris Shifflett" href="http://shiflett.org/" target="_blank">Chris Shiflett&#8217;s</a> talk on Web security issues from social engineering at CodeWorks DC in 2009. But even I was fooled that this site was php.net for several minutes.</p>
<h2 style="text-align: center;">This is not PHP.net, this is <a title="takien.com" href="http://takien.com/" target="_blank">http://takien.com/</a></h2>
<p style="text-align: center;">
<div id="attachment_569" class="wp-caption aligncenter" style="width: 509px"><a href="http://takien.com/"><img class="size-full wp-image-569   " title="http://takien.com/" src="http://www.superwebdeveloper.com/wp-content/uploads/takienwebsite.jpg" alt="http://takien.com/" width="499" height="322" /></a><p class="wp-caption-text">takien.com is NOT php.net</p></div>
<h2 style="text-align: center;">This is not Takien.com, this is <a title="php.net" href="http://php.net" target="_blank">PHP.net</a></h2>
<p style="text-align: center;">
<div id="attachment_568" class="wp-caption aligncenter" style="width: 447px"><a href="http://php.net"><img class="size-full wp-image-568   " title="php.net website" src="http://www.superwebdeveloper.com/wp-content/uploads/phpweb.jpg" alt="php.net website" width="437" height="282" /></a><p class="wp-caption-text">This is not taiken.com, this is php.net</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2010/09/28/takien-com-imitating-php-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Coders Still Stuck in Windows, Register forgets The Growth of Linux Desktop</title>
		<link>http://www.superwebdeveloper.com/2010/02/16/php-coders-still-stuck-in-windows-register-forgets-the-growth-of-linux-desktop/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2010/02/16/php-coders-still-stuck-in-windows-register-forgets-the-growth-of-linux-desktop/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 07:35:45 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[GNU Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=367</guid>
		<description><![CDATA[The Register reports that PHP developers are still stuck on Windows Desktop. The Register quoted a survey conducted by Zend Technologies, that found on the desktop, the numbers breakdown thus: Windows: 42% Linux: 38.5% Mac OS X: 19.1% Everybody else: 0.4% The Register is only telling half the story. 38.5% on Linux is a fantastic [...]]]></description>
			<content:encoded><![CDATA[<p><a title="the register" href="http://www.theregister.co.uk/2010/02/17/php_windows_linux/" target="_blank">The Register reports that PHP developers are still stuck on Windows Desktop</a>. The Register quoted a survey conducted by <a title="zend" href="http://www.zend.com/" target="_blank">Zend Technologies</a>, that found on the desktop, the numbers breakdown thus:</p>
<ul>
<li>Windows: 42%</li>
<li>Linux: 38.5%</li>
<li>Mac OS X: 19.1%</li>
<li>Everybody else: 0.4%</li>
</ul>
<p>The Register is only telling half the story. 38.5% on Linux is a fantastic percentage. I for one am a happy Ubuntu &amp; Gnome desktop user and I haven&#8217;t depended on Windows desktop for at least 6 years. Its a shame though that so many employers and technical people still use Windows desktop when Linux Desktop has everything you need, its free, and its not crap either. Funny that the circling vultures at The Register would focus so much on how PHP coders are still on Windows, and fail to point out that as a group they are agressive adopters of Linux Desktop. Visitor stats for websites indicate that Linux desktop is a lot less than 38.5%.  PHP developers are helping lead the way for Linux as a choice for the desktop that is fast encroaching on Windows turf. That turf will soon be taken away from Windows by Linux. Somebody should have pointed that out. Guess that is what I am doing.</p>
<p>Linux dominates the web server world, and it makes darn good sense to see run the same system on the desktop as for the server for reasons of uniformity and behaviour. Its an obvious right choice to make. Learn to work well in the Linux shell on the desktop and you can use all those skills on the server.</p>
<p>Oddly, The Register reported all this but did not supply a reference to the source report on Zend.com</p>
<p><a title="the register" href="http://www.theregister.co.uk/2010/02/17/php_windows_linux/" target="_blank">Source: http://www.theregister.co.uk/2010/02/17/php_windows_linux/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2010/02/16/php-coders-still-stuck-in-windows-register-forgets-the-growth-of-linux-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Incredible Rate of Diminishing Returns of Fixing Software Bugs</title>
		<link>http://www.superwebdeveloper.com/2009/11/25/the-incredible-rate-of-diminishing-returns-of-fixing-software-bugs/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/11/25/the-incredible-rate-of-diminishing-returns-of-fixing-software-bugs/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 20:41:25 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[thephpcc]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=287</guid>
		<description><![CDATA[While I was at Codeworks DC in September 2009, there was a particular slide during the talk by Stefan Priebsh, in his talk on OOP and Design Patterns that stood out more than all the others. It&#8217;s a slide that describes the relative cost of of a bug fix at different times in the life [...]]]></description>
			<content:encoded><![CDATA[<p>While I was at Codeworks DC in September 2009, there was a particular slide during the talk by Stefan Priebsh, in his talk on OOP and Design Patterns that stood out more than all the others. It&#8217;s a slide that describes the relative cost of of a bug fix at different times in the life cycle of a software project. At first, the cost of fixing a bug at the requirements stage is nominal, when everything is on the drawing board. But as the software moves along in its life cycle the cost of fixing a bug increases radically. We start at 1 times when we are at the initial development stage when a bug is no more than a change in notion. But at the design stage, the relative cost is 5 times what it was compared to the requirements stage, and then ten times what it was when it becomes code and on this goes until it the relative cost of a bug fix is 150 times what it was originally.  Conversely, the graphic indicates that the cost of rewriting is far less than attempting to maintain broken software. Starting right, or starting over right, is by far preferable to the alternative.</p>
<div id="attachment_286" class="wp-caption aligncenter" style="width: 546px"><img class="size-full wp-image-286" title="Relative Cost Of A Software Bug Fix" src="http://www.superwebdeveloper.com/wp-content/uploads/relativecostbugfix.png" alt="Relative Cost Of A Software Bug Fix" width="536" height="480" /><p class="wp-caption-text">Relative Cost Of A Software Bug Fix </p></div>
<p>Slide credit: Barry Boehm, “Equity Keynote Address” March 19, 2007.</p>
<p>This chart is intended for developers, to decide how best to spend ones time.  Ever wonder why, as a developer, fixing bugs is such a pain and a kludge? There is something not simply tough about fixing bugs, there is something fundamentally wrong about putting any effort at all into repairing them. But the chart is also a message to the paying client, the person whose dime it is on. A client may be only thinking in the short term to make the software work, but it is the most expensive and unproductive path to the realization of goals.</p>
<p>The effort to fix bugs is great and the rewards are minimal. Frustrations are high, satisfactions are low. The website suffers from some sort of performance penalty, users are inconvenienced. Bugs must be dealt with with some amount of procedural overhead no matter what, and when the bug is fixed and submitted, very little was ever really accomplished. It is really far better to think of a better solution to all your problems together rather than to continue fixing things one at at time. It will cost the customer less and they will get more. So when bugs become a staple of the work load, its time to persuade the client to accept a rewrite.</p>
<blockquote>
<h1>&#8230;with the software in production, fixing bugs is akin to repairing a car while it is driving down the road, long after it has left the drawing board, the assembly line, and the dealer lot. Its as expensive to do as it can possibly be.</h1>
</blockquote>
<p>Developers still have a great deal in common with the clients they perform work for. They charge money for their work so they think in terms of the cost in terms of labor time (actually, developers also think this way when they work on their own software). The question every developer asks is, “What is the simplest, easiest, and fastest way to get something done?” The answer could be open to interpretation, but that is because the long view must be taken into consideration, and that is why software makes use of functions, templates, classes, objects, and design patterns. The work is needed now, but  how will it be possible to understand the software in a few months time when noone is mentally fresh? How do I share my ideas with other people? How do I take the long view into account?</p>
<p>Despite the love a client may have for their own project, nobody is interested in working on the same software forever. After all, software developers are creative people who really want to expand their skills and take all that they have learned and apply it to the next project, instead of keeping something half dead on life support.</p>
<p>I enjoy attending talks from the best people in the world in my business, because they are very good at exposing the importance of planning and organizing the overall picture, and are very knowledgeable in all the concepts that make projects produce a top quality result in an efficient manner. They also point out the simple mistakes people make that cost them so much. When we are at the far right of the graph, with the software in production, fixing bugs is akin to repairing a car while it is driving down the road, long after it has left the drawing board, the assembly line, and the dealer lot. Its as expensive to do as it can possibly be.</p>
<p>Developers should try to understand the message of this graphic before going further fixing bugs. If you are put in a position fixing bugs, it is time to change the way you work, because you are the one  bearing the cost in terms of your own time performing the least valuable, most expensive, and least meaningful work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/11/25/the-incredible-rate-of-diminishing-returns-of-fixing-software-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installation Script Using WordPress Subversion Repositories</title>
		<link>http://www.superwebdeveloper.com/2009/11/07/installation-script-using-wordpress-subversion-repositories/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/11/07/installation-script-using-wordpress-subversion-repositories/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 06:07:19 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=268</guid>
		<description><![CDATA[I&#8217;d like to take the example of svn externals from my previous post a bit further. I created a bash script that captures a group of commands that one would need to deploy a vanilla WordPress website with a cherry picking of plugins and themes. This script is a big-ass time saver. It&#8217;s especially useful [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d like to take the example of svn externals from my previous post a bit further. I created a bash script that captures a group of commands that one would need to deploy a vanilla WordPress website with a cherry picking of plugins and themes. <strong>This script is a big-ass time saver. </strong>It&#8217;s especially useful for deployment of websites based on a package like WordPress or Drupal, that host publicly available subversion repositories. I tested it recently and made two websites spending two hours on each site, four hours total.</p>
<p>Web developers as they learn start by downloading packages in zip and tar.gz archives which is fine. A pro technique is to pull in the resource via SubVersion (svn). Svn provides additional features such as svn externals and svn hooks. Svn externals allows for the pulling in of external resources into a defined project in a svn repository. Svn hooks is for additional labor saving scripting that allows for the automation of repeated tasks such as a script that can pass along data from commit messages into other resources in the project such as the bug tracker. Learning these tricks allows for labor savings at every step in the production cycle. We can take these practices to the next level with capturing the commands in a bash script and then organise all the features of a website in a deployment script, something that is done all the time at software majors.</p>
<blockquote>
<h2>This script is a big-ass time saver.</h2>
</blockquote>
<p>I took the time to sort this out recently because I had some web development requests from people who have simple websites that could be converted to WordPress easily enough, but I wasn&#8217;t interested in going fishing for plugins and themes twice, and again when the next people come along needing the same thing. The job of a software developer should be to automate processes. I say often that the credo of developers is not to work for a living, but to eliminate work. But this idea is not always employed by developers in all the places it could, and its sometimes even a harder to get a client on board to make full use of methods and procedures that automate tasks and eliminate work.</p>
<blockquote>
<h2>&#8230;the credo of (software) developers is not to work for a living, but to eliminate work.</h2>
</blockquote>
<p>Lets at least cover the benefits in point form:</p>
<ul>
<li> The script takes a couple of minutes and you save hours.</li>
<li>You dont repeat the labor, but you can repeat the use of the script, deploying anywhere else.</li>
<li>All your stuff is there at the beginning. Useful for planning, development, and policy across teams.</li>
<li>You are organised, and you can develop variations. Svn export may be good enough for your needs.</li>
</ul>
<p>In pseudo code, here is what your script will do:</p>
<ul>
<li> Set up your repository.</li>
<li>Make your directory structure for your project.</li>
<li>Check out your repository.</li>
<li>Run procedures for svn externals for core WordPress.</li>
<li>Run procedures for svn externals for plugins, iterating through data in an external file resource.</li>
<li>Run procedures for svn externals for themes, iterating through data in an external file resource.</li>
<li>Grab additional resources in an array, iterate through them using wget command, extract them.</li>
<li>Cleanup.</li>
<li>Commit message.</li>
<li>&#8230; anything else you can think to do.</li>
</ul>
<p>The bash file, save as getallwpsvn.sh:</p>
<blockquote>
<pre>#!/bin/bash
# run this script with chmod 755 permissions.

workPath=$(pwd)

rm -rf filerepository repository www *.zip # this line cleans dir for testing, comment out when done

svnadmin create repository

mkdir -p filerepository/{branches,tags,trunk/{html,db,cron,scripts,themes,plugins,project,selenium}}
# got anything to import into those directories under trunk?
# import into the directories under trunk now
# before the next step
svn import filerepository file://$workPath/repository -m "initial import using getallwpsvn.sh script"
rm -rf filerepository
svn checkout file://$workPath/repository/trunk www
cd www
svn rm html
svn commit -m "rm html temporarily for clean propset"
svn propset svn:externals 'html http://core.svn.wordpress.org/trunk/' .
svn up
cd html/wp-content/
# get plugins from repository http://svn.wp-plugins.org/
# plugins listed in svn.plugins.externals
svn propset svn:externals -F ../../../svn.plugins.externals plugins/
#svn commit "plugins propset" # no commit if no local repository
svn up
# themes repository: http://svn.wp-themes.org/
# themes repository is a bit of a ghost town, none grabbed here
# browse the site and get the zip
# themes listed in svn.themes.externals file, if there are any
svn propset svn:externals -F svn.themes.externals plugins/
svn up

cd themes
# load up on themes
#more human readable format for array

THEMESITES[0]=http://dev.digitalnature.ro/fusion/fusion-wordpress.zip
THEMESITES[1]=http://ericulous.com/?load=googlechrome.zip
THEMESITES[2]=http://ericulous.com/?load=internetcenter.zip
THEMESITES[3]=http://ericulous.com/?load=redbusiness.zip
THEMESITES[4]=http://wordpress.org/extend/themes/download/elegant-box.4.1.1.zip
THEMESITES[5]=http://wordpress.org/extend/themes/download/thirtyseventyeight.4.0.zip
THEMESITES[6]=http://wordpress.org/extend/themes/download/thirtyseventyeight.4.0.zip
THEMESITES[7]=http://wordpress.org/extend/themes/download/constructor.0.6.4.zip
THEMESITES[8]=http://wordpress.org/extend/themes/download/jq.2.4.zip
THEMESITES[9]=http://wordpress.org/extend/themes/download/ahimsa.3.0.zip
THEMESITES[10]=http://wordpress.org/extend/themes/download/retromania.1.3.zip
THEMESITES[11]=http://wordpress.org/extend/themes/download/skinbu.1.0.3.zip
THEMESITES[12]=http://wordpress.org/extend/themes/download/mystique.1.16.zip
THEMESITES[13]=http://wordpress.org/extend/themes/download/lightword.1.9.3.zip
THEMESITES[14]=http://wordpress.org/extend/themes/download/monochrome.2.3.zip
THEMESITES[15]=http://wordpress.org/extend/themes/download/thematic.0.9.5.1.zip
THEMESITES[16]=http://wordpress.org/extend/themes/download/hybrid.0.6.1.zip
THEMESITES[17]=http://wordpress.org/extend/themes/download/new-york.1.0.1.zip
THEMESITES[18]=http://wordpress.org/extend/themes/download/f8-lite.1.3.zip
THEMESITES[19]=http://wordpress.org/extend/themes/download/simplex.1.3.1.zip
THEMESITES[20]=http://wordpress.org/extend/themes/download/cleanr.0.1.2.zip

for s in ${THEMESITES[@]}
do wget "$s"
done

FILES="*.zip"
for f in "$FILES"
do unzip "$f"
done

rm *.zip
rm *.zip.*
cd ../../../
svn commit -m "load in of plugins and themes complete"

cd $workPath
cp $workPath/www/html/wp-config-sample.php  $workPath/www/html/wp-config.php
chmod 777 $workPath/www/html/wp-config.php
chmod 777 $workPath/www/html/wp-content #temporarily, for cache
mkdir $workPath/www/html/wp-content/uploads &amp;&amp; chmod 777 $_
touch $workPath/www/html/.htaccess &amp;&amp; chmod 777 $_

# do any post processing, other importing now, and commit it if you did.</pre>
</blockquote>
<p>Set the file permission to chmod 755, and run it from the shell command line as in ./getallwpsvn.sh.</p>
<p>The file you save as svn.plugins.externals:</p>
<blockquote>
<pre>all-in-one-seo-pack http://svn.wp-plugins.org/all-in-one-seo-pack/trunk
advertising-manager http://svn.wp-plugins.org/advertising-manager/trunk
cforms http://svn.wp-plugins.org/cforms/trunk
google-sitemap-generator http://svn.wp-plugins.org/google-sitemap-generator/trunk
sociable http://svn.wp-plugins.org/sociable/trunk
stats  http://svn.wp-plugins.org/stats/trunk
ultimate-google-analytics http://svn.wp-plugins.org/ultimate-google-analytics/trunk
vipers-video-quicktags http://svn.wp-plugins.org/vipers-video-quicktags/trunk
wordbook http://svn.wp-plugins.org/wordbook/trunk
wp-flickr http://svn.wp-plugins.org/wp-flickr/trunk
wp-super-cache http://svn.wp-plugins.org/wp-super-cache/trunk</pre>
</blockquote>
<p>The svn.plugins.externals file is a name &#8211; resource listing, one per line, when you have more than one resource to define with svn externals.</p>
<p>Please note that you may not need all of this; comment whatever out you want. You dont need to create a local repository, that is only if you are doing team development, or perhaps custom development on themes and plugins. I found though that it was necessary with svn propset directives to create a top-level directory structure wherein is stored all the different directories. The point of this exercise is a pull-in of public resources in a step that you can repeat automatically over and over. It also need not be a very sophisticated script to get the benefits from it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/11/07/installation-script-using-wordpress-subversion-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Power of svn externals</title>
		<link>http://www.superwebdeveloper.com/2009/10/17/the-power-of-svn-externals/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/10/17/the-power-of-svn-externals/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 06:11:02 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=258</guid>
		<description><![CDATA[I have a list of svn tricks over on a previous post, (my) Essential Cheat Sheet of Shell Commands. But I was listening to a very lengthy, and I mean really lengthy Zend podcast, over two hours in length: The ZendCon Sessions Episode 26: Best Practices of PHP Development, with Matthew Weier O&#8217;Phinney and Mike [...]]]></description>
			<content:encoded><![CDATA[<p>I have a list of svn tricks over on a previous post, (my) <a href="http://www.superwebdeveloper.com/2008/10/08/essential-cheat-sheet-of-shell-commands/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_self">Essential Cheat Sheet of Shell Commands</a>. But I was listening to a very lengthy, and I mean really lengthy Zend podcast, over two hours in length: <a href="http://devzone.zend.com/article/9930-The-ZendCon-Sessions-Episode-26-Best-Practices-of-PHP-Development" target="_blank">The ZendCon Sessions Episode 26: Best Practices of PHP Development</a>, with Matthew Weier O&#8217;Phinney and Mike Naberezny. I learned a new trick about subversion I would like to share and note here for the future, <strong>svn externals</strong> .</p>
<p>I had of course heard of svn externals before but a little explanation really enlightened me. You can multiply your power as a developer with svn externals. Alongside your own project under svn control, you can add in other remote projects from remote svn repositories with the <strong>svn propset command</strong> and they will naturally remain current as you run updates on your own repository.</p>
<blockquote>
<h2>You can multiply your power as a developer with svn externals.</h2>
</blockquote>
<p>In the struggle for project housekeeping it can be a chore to keep libraries, plugins, middleware, and other goodies up to date. In general we as developers have a mindset about keeping a project managed by version control, but its an idea that I have seen stopping at the project in question. The project is under svn, the rest of the libraries are from static resources like tarballs. By just extending the power of version control just a little bit further, we have a big labor saver, and we are opened up to the great universe of software. Svn externals gives us mighty lever, because we then have the power to keep in step with all of the other bits and pieces that go along with a project.</p>
<p>Your main project is under version control, but your rich html editor, TinyMCE, is not. Well it can be. Lets use it as an example.</p>
<blockquote>
<pre>test$ mkdir tmc
test$ cd $_
test/tmc$ mkdir html
test/tmc$ mkdir project
test/tmc$ cd $_
test/tmc/project$ mkdir branches tags trunk
test/tmc/project$ cd -
/home/pbg/websites/test/tmc
test/tmc$ cd html/
test/tmc/html$ ls
test/tmc/html$ emacs index.php
test/tmc/html$ cd ../
test/tmc$ cp -rf html project/trunk/
test/tmc$ ls
html  project
test/tmc$ ls project/trunk/
html
test/tmc$ ls project/trunk/html/
index.php  tiny
test/tmc$ ls
html  project
test/tmc$ rm -rf html
test/tmc$ ls
project
test/tmc$ svnadmin create tmcrepository
test/tmc$ svn import project file:///home/pbg/websites/test/tmc/tmcrepository -m "initial import"
Adding         project/trunk
Adding         project/trunk/html
Adding         project/trunk/html/index.php
Adding         project/branches
Adding         project/tags
Committed revision 1.
test/tmc$ ls
project  tmcrepository
test/tmc$ svn checkout file:///home/pbg/websites/test/tmc/tmcrepository/trunk .
A    html
A    html/tiny
test/tmc$
/test/tmc/html$ svn propset svn:externals 'tinymce https://tinymce.svn.sourceforge.net/svnroot/tinymce/tinymce/trunk' .
/test/tmc/html$    svn commit -m "propset"
/test/tmc/html$    svn up
/test/tmc/html$</pre>
</blockquote>
<p>So that is how its done from bash with a vanilla website and one repository checked in for your pleasure. Tips to know include wrapping the directory and resource in quotes, don&#8217;t create the directory, specify it in propset and let svn create it for you. Go to a directory somewhere else on your system and test your checkout. In the example above the remote repository trunk is checked out. However, you are also able to <a href="http://blogs.gnome.org/johannes/2008/02/20/svnexternals-for-noobs/" target="_blank">check out specific branches or even specific revisions if </a>you want the bias more to stability over new features. You can also<a href="http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/" target="_blank"> specify multiple remote repositories by creating a text file with directory and remote resource pairs</a> and point svn propset at that file. Be prepared to handle things that you flub up using svn propedit. Your repository is not broken, but you may have to know how to fix a thing or two that you didn&#8217;t do the first time. That is why doing a vanilla procedure like what is described above helps show what the right way is.</p>
<p>So Imagine having a repository somewhere with all the tools you like to work with as part of your own best practices, sitting there, in one place ready to go with one checkout. That whole kit and kaboodle becomes your blank slate from where to start from, but you are already miles ahead of the competition because you already have tabs on all the resources you are going to use in your project. Having it all on hand saves labor and helps foster better practices as a developer.</p>
<ul>
<li>Zend Framework, CakePHP, Symphony, PEAR or whatever middleware turns your crank</li>
<li>PHP Unit, or SimpleUnit, or some other unit testing suite</li>
<li>WordPress, Drupal, Joomla, or of course any of the related themes and plugins</li>
<li>Tiny MCE</li>
<li>Jquery, Scriptaculous, Dojo, whatever floats your boat with javascript</li>
<li>XDebug,</li>
<li>phpmyadmin</li>
<li>Integration testing software like Selenium or Molybdenum</li>
<li>bloody well anything from sourceForge, or anything else for that matter public and under svn control.</li>
</ul>
<p>Links for this blog post:</p>
<p><a href="http://www.superwebdeveloper.com/2008/10/08/essential-cheat-sheet-of-shell-commands/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">http://www.superwebdeveloper.com/2008/10/08/essential-cheat-sheet-of-shell-commands/</a></p>
<p><a href="http://devzone.zend.com/article/9930-The-ZendCon-Sessions-Episode-26-Best-Practices-of-PHP-Development" target="_blank">http://devzone.zend.com/article/9930-The-ZendCon-Sessions-Episode-26-Best-Practices-of-PHP-Development</a></p>
<p><a href="http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/" target="_blank">http://beerpla.net/2009/06/20/how-to-properly-set-svn-svnexternals-property-in-svn-command-line/</a></p>
<p><a href="http://blogs.gnome.org/johannes/2008/02/20/svnexternals-for-noobs/" target="_blank">http://blogs.gnome.org/johannes/2008/02/20/svnexternals-for-noobs/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/10/17/the-power-of-svn-externals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Brickskellar Night Out At Codeworks DC 2009</title>
		<link>http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 05:29:48 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[User Groups]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[beer]]></category>
		<category><![CDATA[brickskellar]]></category>
		<category><![CDATA[codeworks]]></category>
		<category><![CDATA[developer]]></category>
		<category><![CDATA[party]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=219</guid>
		<description><![CDATA[We took a break after day one of the Codeworks DC conference and went to the Brickskellar. The Brickskellar is a famous institution of beer in Washington DC, noted in the Guinness Book of World Records as been the place selling the greatest number of different beers of any drinking establishment on the planet earth. [...]]]></description>
			<content:encoded><![CDATA[<p>We took a break after day one of the <a href="http://cw.mtacon.com/schedule/city/washington" target="_blank">Codeworks DC conference</a> and went to the Brickskellar. <a href="http://www.lovethebeer.com/brickskeller.html" target="_blank">The Brickskellar</a> is a famous institution of beer in Washington DC, noted in the Guinness Book of World Records as been the place selling the greatest number of different beers of any drinking establishment on the planet earth. We met up with the group going there in the hotel lobby. We had originally scouted out the<a href="http://maps.google.ca/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=restaurants+alexandria+va&amp;sll=38.787944,-77.090034&amp;sspn=0.072522,0.181103&amp;gl=ca&amp;ie=UTF8&amp;hq=restaurants&amp;hnear=Alexandria,+VA,+USA&amp;z=14" target="_blank"> fine dining in Alexandria, of which there is plenty</a>. We were thinking of Overwood, 219, The Flying Fish, or others, but on a whim we decided rather to join the conference folks down at The Brickskellar. We got the address from the hotel, entered it in the TomTom, and made it there before the main group did.</p>

<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0553/' title='DSC_0553'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0553-150x150.jpg" class="attachment-thumbnail" alt="DSC_0553" title="DSC_0553" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0554/' title='DSC_0554'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0554-150x150.jpg" class="attachment-thumbnail" alt="DSC_0554" title="DSC_0554" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0555/' title='DSC_0555'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0555-150x150.jpg" class="attachment-thumbnail" alt="DSC_0555" title="DSC_0555" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0556/' title='DSC_0556'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0556-150x150.jpg" class="attachment-thumbnail" alt="DSC_0556" title="DSC_0556" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0557/' title='DSC_0557'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0557-150x150.jpg" class="attachment-thumbnail" alt="DSC_0557" title="DSC_0557" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0558/' title='DSC_0558'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0558-150x150.jpg" class="attachment-thumbnail" alt="DSC_0558" title="DSC_0558" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0559/' title='DSC_0559'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0559-150x150.jpg" class="attachment-thumbnail" alt="DSC_0559" title="DSC_0559" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0560/' title='DSC_0560'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0560-150x150.jpg" class="attachment-thumbnail" alt="DSC_0560" title="DSC_0560" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0563/' title='DSC_0563'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0563-150x150.jpg" class="attachment-thumbnail" alt="DSC_0563" title="DSC_0563" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0569/' title='DSC_0569'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0569-150x150.jpg" class="attachment-thumbnail" alt="DSC_0569" title="DSC_0569" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0570/' title='DSC_0570'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0570-150x150.jpg" class="attachment-thumbnail" alt="DSC_0570" title="DSC_0570" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0571/' title='DSC_0571'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0571-150x150.jpg" class="attachment-thumbnail" alt="DSC_0571" title="DSC_0571" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0574/' title='DSC_0574'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0574-150x150.jpg" class="attachment-thumbnail" alt="DSC_0574" title="DSC_0574" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0576/' title='DSC_0576'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0576-150x150.jpg" class="attachment-thumbnail" alt="DSC_0576" title="DSC_0576" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0583/' title='DSC_0583'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0583-150x150.jpg" class="attachment-thumbnail" alt="DSC_0583" title="DSC_0583" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0585/' title='DSC_0585'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0585-150x150.jpg" class="attachment-thumbnail" alt="DSC_0585" title="DSC_0585" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0589/' title='DSC_0589'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0589-150x150.jpg" class="attachment-thumbnail" alt="DSC_0589" title="DSC_0589" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0590/' title='DSC_0590'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0590-150x150.jpg" class="attachment-thumbnail" alt="DSC_0590" title="DSC_0590" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0591/' title='DSC_0591'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0591-150x150.jpg" class="attachment-thumbnail" alt="DSC_0591" title="DSC_0591" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0593/' title='DSC_0593'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0593-150x150.jpg" class="attachment-thumbnail" alt="DSC_0593" title="DSC_0593" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0597/' title='DSC_0597'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0597-150x150.jpg" class="attachment-thumbnail" alt="DSC_0597" title="DSC_0597" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0598/' title='DSC_0598'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0598-150x150.jpg" class="attachment-thumbnail" alt="DSC_0598" title="DSC_0598" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0601/' title='DSC_0601'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0601-150x150.jpg" class="attachment-thumbnail" alt="DSC_0601" title="DSC_0601" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0602/' title='DSC_0602'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0602-150x150.jpg" class="attachment-thumbnail" alt="DSC_0602" title="DSC_0602" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0604/' title='DSC_0604'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0604-150x150.jpg" class="attachment-thumbnail" alt="DSC_0604" title="DSC_0604" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0606/' title='DSC_0606'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0606-150x150.jpg" class="attachment-thumbnail" alt="DSC_0606" title="DSC_0606" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0607/' title='DSC_0607'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0607-150x150.jpg" class="attachment-thumbnail" alt="DSC_0607" title="DSC_0607" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0608/' title='DSC_0608'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0608-150x150.jpg" class="attachment-thumbnail" alt="DSC_0608" title="DSC_0608" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0611/' title='DSC_0611'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0611-150x150.jpg" class="attachment-thumbnail" alt="DSC_0611" title="DSC_0611" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0612/' title='DSC_0612'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0612-150x150.jpg" class="attachment-thumbnail" alt="DSC_0612" title="DSC_0612" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0613/' title='DSC_0613'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0613-150x150.jpg" class="attachment-thumbnail" alt="DSC_0613" title="DSC_0613" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/dsc_0615/' title='DSC_0615'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0615-150x150.jpg" class="attachment-thumbnail" alt="DSC_0615" title="DSC_0615" /></a>

<p>We had thousands of possible beers to choose from, but we were most attracted to the pumpkin beers from local microbreweries from the taps. We enjoyed a down home meal of mussels, beef, and a crab cake sandwich and fries. A few things to point out in the pics above: Not the skull foam in the beer glass, the chocolate cake, the double chocolate stout, the elephant tap, the cans in the wall, some familiar faces from the php community, and the trappist ale. So never mind the fine dining in DC, go for the soul food and beer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/10/10/brickskellar-night-out-at-codeworks-dc-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeWorks in DC October 2009</title>
		<link>http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 04:05:43 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[User Groups]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[thephpcc]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=197</guid>
		<description><![CDATA[I am back recently from Codeworks 2009 in Washington, DC. It was in Alexandria, Virginia actually, but close enough, its a big place and its the same thing. This is the first time I have been able to go to a conference  without being involved at all in its planning and organization. I know from [...]]]></description>
			<content:encoded><![CDATA[<p>I am back recently from<a href="http://cw.mtacon.com/schedule/city/washington" target="_blank"> Codeworks 2009 in Washington, DC</a>. It was in Alexandria, Virginia actually, but close enough, its a big place and its the same thing. This is the first time I have been able to go to a conference  without being involved at all in its planning and organization. I know from experience that a lot of work is put into organizing and hosting a two day event with top-level speakers from all over. The DC Codeworks event was just one event in a series of dates in major cities across the us. Yep, php has gone rockstar. I am proud of the work I have done in the past but I found that by the time the conference came around I was too tired to absorb the lessons as I would like to. So while I am busy recompiling notes from the talks I attended, here are some photos from the conference I would like to share.</p>

<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0658/' title='Derick Rethans'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0658-150x150.jpg" class="attachment-thumbnail" alt="Derick Rethans" title="Derick Rethans" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0657/' title='Chris Shifflet'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0657-150x150.jpg" class="attachment-thumbnail" alt="Chris Shifflet" title="Chris Shifflet" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0650/' title='Ben Ramsey'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0650-150x150.jpg" class="attachment-thumbnail" alt="Ben Ramsey" title="Ben Ramsey" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0644/' title='Andrei Zmievski'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0644-150x150.jpg" class="attachment-thumbnail" alt="Andrei Zmievski" title="Andrei Zmievski" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0637/' title='Kuassi Mensah'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0637-150x150.jpg" class="attachment-thumbnail" alt="Kuassi Mensah" title="Kuassi Mensah" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0622/' title='After Party'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0622-150x150.jpg" class="attachment-thumbnail" alt="After Party" title="After Party" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0621/' title='Cal Evans'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0621-150x150.jpg" class="attachment-thumbnail" alt="Cal Evans" title="Cal Evans" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0515/' title='Sebastian Bergman and Stefan Priebsch'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0515-150x150.jpg" class="attachment-thumbnail" alt="Sebastian Bergman and Stefan Priebsch" title="Sebastian Bergman and Stefan Priebsch" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0514/' title='Patterns'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0514-150x150.jpg" class="attachment-thumbnail" alt="Patterns" title="Patterns" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0508/' title='Slide: the relative cost of a bug fix'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0508-150x150.jpg" class="attachment-thumbnail" alt="Slide: the relative cost of a bug fix" title="Slide: the relative cost of a bug fix" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0505/' title='Stefan Priebsch'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0505-150x150.jpg" class="attachment-thumbnail" alt="Stefan Priebsch" title="Stefan Priebsch" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0503/' title='Hotel Atrium'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0503-150x150.jpg" class="attachment-thumbnail" alt="Hotel Atrium" title="Hotel Atrium" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0496/' title='Lukas Smith'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0496-150x150.jpg" class="attachment-thumbnail" alt="Lukas Smith" title="Lukas Smith" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0479/' title='Hotel Atrium'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0479-150x150.jpg" class="attachment-thumbnail" alt="Hotel Atrium" title="Hotel Atrium" /></a>
<a href='http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/dsc_0477/' title='Matthew O&#039;Phinney'><img width="150" height="150" src="http://www.superwebdeveloper.com/wp-content/uploads/DSC_0477-150x150.jpg" class="attachment-thumbnail" alt="Matthew O&#039;Phinney" title="Matthew O&#039;Phinney" /></a>

<p>The conference was great, I learned stuff, I learned what I know, what I dont know, what I need to know, and more. I met a great group of people and traded lots of business cards.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/10/10/codeworks-in-dc-october-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal Copyright Move Pissing Off The Community</title>
		<link>http://www.superwebdeveloper.com/2009/09/09/drupal-copyright-move-pissing-off-the-community/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/09/09/drupal-copyright-move-pissing-off-the-community/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 19:43:09 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[drupal]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=151</guid>
		<description><![CDATA[Drupal creator Dries Buytaert has made some copryright changes that are now pissing off the web community. The new trademark policy, indroduced at the end of August 2009, now forbids the registration of domains like drupalSucks.com, and any site using Drupal in the name now must fork over $$$$$. WTF? Its a baffling move from [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_152" class="wp-caption alignleft" style="width: 266px"><img class="size-full wp-image-152" title="upsidedowndrupallogo" src="http://www.superwebdeveloper.com/wp-content/uploads/upsidedowndrupallogo.png" alt="upsidedowndrupallogo" width="256" height="292" /><p class="wp-caption-text">Drupal Community Support Is Now Upside Down</p></div>
<p>Drupal creator Dries Buytaert has made <a href="http://drupal.com/trademark" target="_blank">some copryright changes</a> that are now <a href="http://www.reddit.com/r/programming/comments/9irly/drupal_trainwreck_new_official_trademark_policy/" target="_blank">pissing off the web community</a>. The new trademark policy, indroduced at the end of August 2009, now forbids the registration of domains like <a href="http://www.drupalsucks.com/" target="_blank">drupalSucks.com</a>, and any site using Drupal in the name now must fork over $$$$$. WTF? Its a baffling move from such a well known member of the community, who has prospered from the concept of free software, sharing and free expression.</p>
<blockquote><p><strong>&#8230;it is a pretty impressive piece of software. But people should be free to criticize it in any way they see fit, including the registration of domain names that are less than flattering. (<a href="http://www.drupalsucks.com/" target="_blank">source</a>).<br />
</strong></p></blockquote>
<p>Unfortunately, these greedy assertions in a community that functions because of the freedom of expression, sharing and openness usually only serve to anger people so much as to go out and register domains like <a href="http://www.drupalsucks.com/" target="_blank">drupalSucks.com</a> which they use to spread the word about what a stupid idea this is.</p>
<p>Fallout is starting already. <a href="http://freedrupal5hosting.com/" target="_blank">Free Drupal Hosting </a>which, like the name sounds, provides free hosting for drupal sites, may not be willing to do so in the future.</p>
<blockquote><p><strong>There are draconian restrictions on the use of the word &#8216;drupal&#8217;, which would require us to give up a good part of our income, the truth is that the income from the ads is so low that we barely make enough to pay for hosting and bandwidth. We would not mind that but we refuse to make a loss on this service because of a silly trademark, with restrictions that &#8211; if they weren&#8217;t so sad &#8211; border on the hilarious. (<a href="http://freedrupal5hosting.com/content/welcome" target="_blank">source</a>).</strong></p></blockquote>
<p>Creating a domain name that uses a preexisting name in the case of <a href="http://www.drupalsucks.com/" target="_blank">drupalSucks.org</a> is covered under &#8216;<a href="http://en.wikipedia.org/wiki/Nominative_use" target="_blank">Nominative Use</a>&#8216;, as an affirmative defense to trademark infringement. The Drupal community will be set to scream long and loud over this. And companies who market their services using Drupal, making sites with Drupal, and companies that write code in the Drupal framework are bound to think twice about whether they want to use it due to these new restrictions.</p>
<blockquote><p><strong><br />
</strong></p></blockquote>
<blockquote></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/09/09/drupal-copyright-move-pissing-off-the-community/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Better to Avoid Variable Variables</title>
		<link>http://www.superwebdeveloper.com/2009/01/22/better-to-avoid-variable-variables/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2009/01/22/better-to-avoid-variable-variables/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 23:07:14 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=95</guid>
		<description><![CDATA[A variable can be a variable, did you know? Its something you may have learned in introductory PHP, like on p.32 of my copy of the Zend PHP Certification Study Guide. But while knowing data types is part of the job, its not always how you should code! Here is an example of something I [...]]]></description>
			<content:encoded><![CDATA[<p>A variable can be a variable, did you know? Its something you may have learned in introductory PHP, like on p.32 of my copy of the <a title="books on php" href="http://www.phparch.com/c/phpa/books">Zend PHP Certification Study Guide.</a> But while knowing data types is part of the job, its not always how you should code!</p>
<p>Here is an example of something I saw recently. Names have been changed to protect the innocent.</p>
<p>&lt;?php<br />
foreach ($fieldName as $field=&gt;$type) {<br />
$UserObject-&gt;setValueInDB($field, $$field);<br />
}<br />
?&gt;</p>
<p>This is from a form submission script. There are a couple of transgressions I can think of, not least of all the reliance on <a title="register_globals" href="http://ca.php.net/register_globals">the register_globals directive</a> which is now off by default, and soon to be eliminated from a future release of PHP.</p>
<p>The variable variable part here is $$field, basically, what has been posted. The $fieldName value is a list of fields grabbed from the table, so you don&#8217;t trust $_POST. But what is the point in trusting the scalar equivalent of your posted value? You are getting farther away from certainty, not closer. A $_POST submission from an attacker could wipe out data because their $_POST array doesn&#8217;t have any keys that your table has. As well, if your $_POST array on your own page doesn&#8217;t have a $key=&gt;$value that is also in $field=&gt;type, well that value is going to get wiped out. In the case of a user profile edit page, a form page probably wont have all the fields that are posted. Especially if a developer doesn&#8217;t consider using table joins elsewhere.</p>
<p>One of the cardinal rules of programming is never trust user input. And I consider losing user data to be a deadly sin. But setting up a situation where you risk losing data in a field because of one additional field in the table for the user is downright dangerous.</p>
<p>One of the early-ish contributors to PHP, by virtue of being a C programmer, was no doubt familiar with the variable variable language construct, and appreciated its eloquence in CRUD scripts and elsewhere. You got your field names, so cycle through them in a looping construct and execute your value setting method.  He or she is forgiven for not realizing that eventually, with the blossoming of a thousand new web hosts and thousands more developers on the web, not only users had to be protected from themselves, but developers from themselves also. And so, as of release 4.2.0, register_globals was finally set to OFF by default. Many hosting companies have been slow to react, and even today set it to ON to support legacy software.</p>
<p>So while you have this spartan and eloquent structure, it relies on an obtuse language construct which in turn relies on data that is potentially not trustable. The solution to the above problem required a static array of field names that must not be overwritten. Of course, testing this once might reveal that data is being overwritten with empty values. Unintentionally. By design. Due to a deprecated directive and an obscure language construct.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2009/01/22/better-to-avoid-variable-variables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Formatted print_r is Darn useful</title>
		<link>http://www.superwebdeveloper.com/2008/11/11/formatted-print_r-is-darn-useful/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/11/11/formatted-print_r-is-darn-useful/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 20:39:21 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[arrays]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[print_r]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=80</guid>
		<description><![CDATA[Here is one of the little improvements upon a php script that makes it even more useful &#8211; at least appropriate for browser output. I make no claim to having invented this, its just a useful little script to pass on for debugging arrays in PHP. function printR($arr, $label= null) { if($label){ echo &#8220;&#60;h2&#62;$label&#60;/h2&#62; \n [...]]]></description>
			<content:encoded><![CDATA[<p>Here is one of the little improvements upon a php script that makes it even more useful &#8211; at least appropriate for browser output. I make no claim to having invented this, its just a useful little script to pass on for debugging arrays in PHP.</p>
<p>function printR($arr, $label= null) {<br />
if($label){<br />
echo &#8220;&lt;h2&gt;$label&lt;/h2&gt; \n &#8220;;<br />
}<br />
echo &#8220;\n\n&lt;pre&gt;\n&#8221;;<br />
print_r($arr);<br />
echo &#8220;\n&lt;/pre&gt;\n\n&#8221;;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/11/11/formatted-print_r-is-darn-useful/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit a line in all php files in a directory with find and sed</title>
		<link>http://www.superwebdeveloper.com/2008/11/01/edit-a-line-in-all-php-files-in-a-directory-with-find-and-sed/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/11/01/edit-a-line-in-all-php-files-in-a-directory-with-find-and-sed/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 03:41:42 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[GNU Linux]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/?p=76</guid>
		<description><![CDATA[Here is about the simplest example I could come up with, to change a reference to a new include directory location in a codebase. You can of course do fancier things should you wish to dump your results to a directory before overwriting your files. #!/bin/sh for files in `find *.php` do sed &#8216;s/..\/..\/adminincl/includes/g&#8217; $files [...]]]></description>
			<content:encoded><![CDATA[<p>Here is about the simplest example I could come up with, to change a reference to a new include directory location in a codebase.</p>
<p>You can of course do fancier things should you wish to dump your results to a directory before overwriting your files.</p>
<p>#!/bin/sh<br />
for files in `find *.php`<br />
do<br />
sed &#8216;s/..\/..\/adminincl/includes/g&#8217; $files &gt; &#8216;temp&#8217;.$files &amp;&amp; mv &#8216;temp&#8217;.$files $files<br />
done</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/11/01/edit-a-line-in-all-php-files-in-a-directory-with-find-and-sed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Protect weak passwords with login trap</title>
		<link>http://www.superwebdeveloper.com/2008/06/17/protect-weak-passwords-with-login-trap/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/06/17/protect-weak-passwords-with-login-trap/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 05:37:15 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/?p=44</guid>
		<description><![CDATA[If one thing is for sure, the weaker the user, the weaker the password they use. Its a disaster waiting to happen. I decided to shore things up on a site I take care of just so I can sleep at night. It has lots of users, but weak ones. Many sites out there already [...]]]></description>
			<content:encoded><![CDATA[<p>If one thing is for sure,<strong> the weaker the user, the weaker the password they use</strong>. Its a disaster waiting to happen. I decided to shore things up on a site I take care of just so I can sleep at night. It has lots of users, but weak ones. Many sites out there already have safeguards in place to forbid further login attempts if you keep failing. If you let users own their passwords, and you probably do, there are no doubt some weak ones that could fall to some kind of rainbow attack if you allow an attacker to keep trying. There should be more than one example of this process on the web to compare this to.</p>
<p>It would work like this:</p>
<ul>
<li>set a number of allowed login attempts.</li>
<li>set the time limit in seconds for duration of access denial.</li>
<li>keep track of the number of failed login attempts.</li>
<li>keep track of when login attempts started with timestamp function.</li>
<li>test for meeting or exceeding the number of allowed login attempts.</li>
<li>let them keep trying if they have waited past the time limit.</li>
<li>set a time limit for when they can come back, and forbid them.</li>
<li>give them some messages and links to help.</li>
<li>if the login has been successful, wipe out all the tracking for login attempts.</li>
<li>You are done.</li>
</ul>
<p>Here we go, into your login processor after initial validation and constructing a sql query.</p>
<pre><code>$loginAttemptsAllowed = 5;</code></pre>
<pre>if( $_SESSION['loginAttempt']['Count'] &lt;= $loginAttemptsAllowed ) {
  $result = $db-&gt;queryRow($sql); // only query db if allowed to do so
}</pre>
<pre>if( !$result ){
  $seconds = 300; // 5 minutes
  // if trying again after lockout time limit ....
  if( $_SESSION['loginAttempt']['Count'] &gt;= $loginAttemptsAllowed ) {
    $difference  = abs($_SESSION['loginAttempt']['LockoutTime'] - $_SESSION['loginAttempt']['Time']);
    $diffSeconds = round($difference);
    if( $diffSeconds &gt; $seconds ) {
      unset($_SESSION['loginAttempt']); // they failed but have a new set of chances
      } else {
      $minutes = $seconds / 60;
      $message = "Sorry, you have had $loginAttemptsAllowed failed login attempts. &lt;br /&gt;
      We temporarily forbid access in order to protect your private information. &lt;br /&gt;
      Please wait $minutes minutes before logging on again.";
      }
    } else {
    if( !isset($_SESSION['loginAttempt']['Time']) ) {
      $_SESSION['loginAttempt']['Time']  = get_microtime();
      $_SESSION['loginAttempt']['Count'] = 1;
    } else {
      $_SESSION['loginAttempt']['Count']++;
    }
    if( $_SESSION['loginAttempt']['Count'] &gt;= $loginAttemptsAllowed ) {
      $_SESSION['loginAttempt']['LockoutTime'] = get_microtime();
    }
    $message = "login error";
  }
  addMessage($message, "MsgErr");
  redirect($_SESSION["backPage"]);
  exit();
}</pre>
<p>&#8230;.. go on and log them. Dont forget to unset( $_SESSION['loginAttempt'] );<br />
// a couple of the functions in there are custom ones, they are basically just wrappers.<br />
// I forget where I got the following function, but it is used for benchmarking. Maybe php.net?</p>
<pre><code>
function get_microtime() {</code></pre>
<pre><code>  $mtime = microtime();</code></pre>
<pre><code>  $mtime = explode(" ",$mtime);</code></pre>
<pre><code>  $mtime = doubleval($mtime[1]) + doubleval($mtime[0]);</code></pre>
<pre><code>  return ($mtime);
}</code></pre>
<p><code> </code>So there you have it. Forcing users to have highly secure passwords, while a good idea, is not always possible.</p>
<p>Keep your users safe. And curses to wordpress for screwing up my code formatting&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/06/17/protect-weak-passwords-with-login-trap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Form Security: Moving target vs. Honeypot</title>
		<link>http://www.superwebdeveloper.com/2008/05/13/web-form-security-moving-target-vs-honeypot/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/05/13/web-form-security-moving-target-vs-honeypot/#comments</comments>
		<pubDate>Wed, 14 May 2008 04:32:18 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/?p=20</guid>
		<description><![CDATA[In my last blog posting I alluded to using randomizing form field names as a solution to form attacks. Here is an example of how it can be created for a simple form page. There is no doubt more than one way to accomplish this kind of idea, so please this example only as a [...]]]></description>
			<content:encoded><![CDATA[<p>In my last blog posting I alluded to using randomizing form field names as a solution to form attacks. Here is an example of how it can be created for a simple form page. There is no doubt more than one way to accomplish this kind of idea, so please this example only as a basic demo that suited my needs.</p>
<p>Create a moving target that attackers cannot seize upon repeatedly.  build arrays in a looping construct for all the form fields you want to assign in your page. Store them in a PHP Session array. You use built-in php functions such as md5(), uniqid(), microtime(), mt_rand(), and a salt value if you like as well. You output your form fields dynamically, using php to assign the randomized hash to the name value of the form field. Enter some data, submit the form. The script takes your $_POST array and compares the array keys to $_SESSION. You can then do further validation and then assign your values to  common sense variable names that are always private.</p>
<p>When you have validated this submission, you know the data has come from your form page. While you can spoof referrers, You cant spoof the form field names because they are only created at runtime.</p>
<p>The honeypot is the inverse approach, And also has lots of fans in its camp. A honeypot is a web form with addtional form elements, usually of a hidden type, that get discovered by a spammers crawler. They then seize upon the field name and use it in an attack. But since the form field isnt visible to users through the browser, it must be some kind of forged submission, and is worthy of filtering out.</p>
<p>The advantage of the moving target over honeypot is that forged submissions can be filtered out earlier in the script. Also, an attacker could easily analyze the form page once and determine what form fields to omit, and just add that information into the submitting script. They visited the page once, made a correction, and are back in business. Even so it is known as a successful defense. It is a successful defense because of the reason spam is spam: people messing with your site without ever even visiting it, not once. And if you are using an off-the-shelf website-in-a-box like WordPress or Drupal or whatever, the attacker can even more easily attack your site, with its cookie cutter template form elements, one same as the other million out there already.</p>
<p>It is very economical to attack as many sites as possible in the same way as possible. It will always be so.</p>
<p>I have had my share of naysayers over the moving target method. Please allow me reply to a few of the comments others have already made.</p>
<p><em>Why not just use the form name, why all form fields?</em> I guess you could, but really there are a couple answers. First is the concept of defense in depth. Secure the whole thing, not just one element that an attacker could lock on to. Next answer is that it is simple enough to do the work in php to generate all the form field names you wish.</p>
<p><em>The site could still be attacked</em>. Yes. Assume that it will be. Funky forms is of course not the only line of defense you must apply to stop your site from being trashed. What I was able to accomplish here is to break the link between the site and the garden variety automated attack, which must assume to know your form name and names of input fields in order to forge the rest of the information. The client must be on your web page in real time to submit data into your form. And in fact that is all the moving target approach does. The attacker still harvests your page, prepares a http remote attack in the guise of a simulated form posting, then goes to work, submitting to all the websites. But nothing gets through to a site with the moving target approach because field names wont match up.</p>
<p><em>A position based attacker could still hit it</em>. Yes but of course you are not done validating your input because you have this in place. Spam, like anything else, is a matter of economics, in terms of both time and money.  Yes someone could get you, but not likely, because like 2 boxers in a ring, both have to be stationary for a moment for a punch to connect. Otherwise its much harder to be effective, and much less powerful. The analogy is a fair one: The time required to hit a site with moving target is greater than the time to perform the usual kind of automated crawling and submitting designed for static form field names. The mere fact that you require your user to be on your page, absolutely, is enough in itself for attackers not to bother changing its tactics for millions of websites, or to lose so much time to making an exception to you that it becomes uneconomical to do so. As it stands, they may never even know that their submission was unsuccessful. You can of course push suspicious submissions to Akismet.</p>
<p><em>Yeah but sessions are evil and should never be used</em>. Some have said so. Not to long ago, they didn&#8217;t work very well. But this isnt the case anymore. Drupal doesn&#8217;t use sessions, for example, and other middlewares avoid them as well. Projects with requirements for handling legacy code, particular kinds of services or policies may insist that sessions not be used. But even more evil is to never use sessions because of not understanding how to use them properly and parsimoniously.</p>
<p>First comes your form page, use some php before the form to generate the fields that you need.</p>
<pre style="padding-left: 30px;">&lt;?php
session_start();
if(!$_SESSION["subscriber"]["values"]) {
  $fieldNamesCount = 11;
  $fieldNamesArray = array();
  for ($i = 0; $i &lt; $fieldNamesCount; $i++) {
    // $fieldNamesArray2[] =  md5("killSpam" . uniqid(microtime(), 1)); // random coctail with salt, if you wish
    $fieldNamesArray[] =  uniqid(md5(mt_rand())); // random coctail
  }
  $_SESSION["subscriber"]["fieldNames"] = $fieldNamesArray;
} else {
// do something when its a return pag
}</pre>
<pre>echo "&lt;pre&gt;";
print_r($fieldNamesArray)
echo "&lt;/pre&gt;";</pre>
<p>&#8230;&#8230;. and then your form fields look something like this:</p>
<pre>Name: &lt;input type="text" name="{$_SESSION["subscriber"]["fieldNames"][0]}" value="&lt;?php  echo  $_SESSION["subscriber"]["values"][0]; ?&gt;" size="20" maxlength="50" /&gt;</pre>
<pre>Phone: &lt;input name="{$_SESSION["subscriber"]["fieldNames"][1]}" type="text" value="&lt;?php echo  $_SESSION["subscriber"]["values"][1]; ?&gt;" size="20" maxlength="20" /&gt;</pre>
<p>You submit this to your form target script. If you look at your page Info in Firefox, under the forms tab, you will see you have form field names created from random hashes generated at runtime. The values for the names will be unique at every page load. The user must be on the page to submit.</p>
<p>So lets take a look at the script you are posting this data to.</p>
<p>Lets just assume that you are pointing this form submission to a different file, so here is what is required at a minimum:</p>
<pre>&lt;?php
session_start();
if (!$_POST) {
  echo "no post reference";
  exit();
}
// compare $_SESSION["subscriber"]["fieldNames"]
// to array_keys($_POST);
if(!$_SESSION["subscriber"]["fieldNames"]) {
  echo "no ref to my session";
  exit();
}</pre>
<pre>$postedKeys = array_keys($_POST); // I need to access this as an  array.</pre>
<pre>$_SESSION["subscriber"]["values"] = $_POST;
$realNames = array('Name','Telephone',.... etc);</pre>
<pre>for($i = 0; $i &lt; count($postedKeys); $i++) {
  if($postedKeys[$i] == $_SESSION["subscriber"]["fieldNames"][$i]) {
    // no cheating! you must you my randomly generated field names to use this page!!!!
    $realValues[$realNames[$i]] = $_SESSION["subscriber"]["values"][$_SESSION["subscriber"]["fieldNames"][$i]];
  } else {
    // its the work of satan
    echo "please dont do that ";
    exit();
  }
}</pre>
<p>so if it passes all the tests, its good to go. Otherwise, its like two people talking to each other who dont speak each others language. They will never get what each other is saying, will never understand, and will just move on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/05/13/web-form-security-moving-target-vs-honeypot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the problem with cms packages is&#8230;.</title>
		<link>http://www.superwebdeveloper.com/2008/04/25/the-problem-with-cms-packages-is/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/04/25/the-problem-with-cms-packages-is/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 06:16:02 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/?p=14</guid>
		<description><![CDATA[I noticed yet again on vancouver.php.net that surprise surprise, while our backs were turned organizing the OpenWeb Vancouver 2008 conference, our Drupal based site got hammered with spam, again. We have a group of working professionals experienced in Drupal, up, down, and sideways, but we dont always have the time to monitor the website as [...]]]></description>
			<content:encoded><![CDATA[<p>I noticed yet again on vancouver.php.net that surprise surprise, while our backs were turned organizing the OpenWeb Vancouver 2008 conference, our Drupal based site got hammered with spam, again. We have a group of working professionals experienced in Drupal, up, down, and sideways, but we dont always have the time to monitor the website as closely as we would like. We make upgrades, we review configurations, security issues, we deal with issues as best as we can, but as volunteers, we have other things to do. We cannot keep ahead of exploits as fast as the exploiters, and I wonder who ever really does.</p>
<p>But really, this is a problem that is endemic to cms packages. A hacker can write one script and attack all drupal sites on the world wide web. Same problem for wordpress and every other website in a box. They all have a url that someone can post to with name &amp; value pairs. There are always lots of things to do to protect your site, but with every new upgrade and patch, there are always new exploits that might just work when applied to your site.</p>
<p>Without a human being to look and see, you wont know that your site has been tossed until you see it for yourself, and remains that way until it is fixed.</p>
<p>Randomizing not only the form name but also the field names was a very successful experiment in my case when someone had my number. The attacker cant presume the name of your fields then so easily, and then they cant attack you. Its like you become a moving target, not a static one. At the very least, they actually need to be on the page in real time in order to post something. Now other developers have told me that in fact it could be attacked with a position based form filler, say based on a xul widget or hacked firefox, but this solution, while possible by some attackers, is generally extra effort to include in the whole looping construct for the attack.</p>
<p>Spam networks hire out at at least $5000 an hour, I learned at a VanLug talk last year. So if an exploit takes too long to seize on to, it is not worth the time. CMS packages are uniform instances of software in terms of action urls and form and field names, so they are static things to sieze upon in the eyes of an attacker who has to provide the biggest bang for the buck. They are sitting ducks, just waiting to get attacked. If even an array key was constructed of a md5 hash at page load time, stored in a sessionÂ  (oops, no sessions in Drupal, not Kosher, if you are a Drupalist), that at a minimum would be enough to be a moving target an attacker would be unable to sieze upon without actually being on the page in real time. And that is the whole problem with spammers, they never even visit your site. Never have and never will.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/04/25/the-problem-with-cms-packages-is/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why are we doing an event like The Open Web?</title>
		<link>http://www.superwebdeveloper.com/2008/04/25/why-are-we-doing-an-event-like-the-open-web/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/04/25/why-are-we-doing-an-event-like-the-open-web/#comments</comments>
		<pubDate>Fri, 25 Apr 2008 23:19:31 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/?p=12</guid>
		<description><![CDATA[Here is something I posted originally on Vancouver.php.net Some of you may have been wondering, why is a PHP group doing an event like OpenWebVancouver 2008. The reason is that we have held very successful conferences in the past and we would like to do more. As a volunteer run, community based group, we are [...]]]></description>
			<content:encoded><![CDATA[<p>Here is something I posted originally on Vancouver.php.net</p>
<p>Some of you may have been wondering, why is a PHP group doing an event like OpenWebVancouver 2008. The reason is that we have held very successful conferences in the past and we would like to do more. As a volunteer run, community based group, we are a group of dedicated people who would like to bring in new people into our community who share our common interest in Free Open Source Software.</p>
<p>PHP Developers always have to be aware of so much more than just PHP. We have to be well acquainted with the whole LAMP stack and much more. This is also the case with our colleagues who code in Python or Ruby on Rails or who are designers &#8211; they have to know much more than what their discipline represents. And hosting an event that would focus only on PHP while interesting to us, would not serve the purposed of exposing ourselves to new information.</p>
<p>It is time we felt, for people in the different areas of Open Source to come together and be more aware of each other. Vancouver has over 20 user groups for different technologies. The number of groups is necessary for the specialization of interests, but we all share the common interest of ideas that embrace the Open Web. Our event is a call for less fragmentation and to have strength in numbers. We all distribute software using the GPL, we deploy on systems that use it, and for the most part access a common family of tools to produce our work. The products of our work are distributed on the Internet and World Wide Web, and therefore we all depend on open and unfettered access to it.</p>
<p>Bring your open minds. See you there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/04/25/why-are-we-doing-an-event-like-the-open-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Open Web &#8211; a conference on Open Web technologies</title>
		<link>http://www.superwebdeveloper.com/2008/03/23/the-open-web-a-conference-on-open-web-technologies/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2008/03/23/the-open-web-a-conference-on-open-web-technologies/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 22:41:03 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/archives/8</guid>
		<description><![CDATA[http://www.openwebvancouver.ca/ Talk schedule grid: http://www.openwebvancouver.ca/schedule Vancouver PHP Users Association presents The Open Web &#8211; a conference on Open Web technologies When: Monday April 14 &#8211; Tuesday April 15th 2008 Where: Vancouver Convention &#038; Exhibition Centre (VCEC), 999 Canada Place. What: A conference showcasing open source technologies, communities and culture. We are featuring talks from all [...]]]></description>
			<content:encoded><![CDATA[<p><meta content="text/html; charset=utf-8" http-equiv="CONTENT-TYPE" /><title /><meta content="OpenOffice.org 2.3  (Linux)" name="GENERATOR" /><br />
<style type="text/css"> 	<!-- 		@page { size: 21.59cm 27.94cm; margin: 2cm } 		P { margin-bottom: 0.21cm } 		H3 { margin-bottom: 0.21cm } 	--> 	</style>
<p align="justify" style="margin-bottom: 0cm"><font size="2" style="font-size: 11pt"><a href="http://www.openwebvancouver.ca/">http://www.openwebvancouver.ca/</a></font></p>
<p align="justify"><font size="2" style="font-size: 11pt">Talk schedule grid: <a href="http://www.openwebvancouver.ca/schedule">http://www.openwebvancouver.ca/schedule</a></font></p>
<p align="justify" style="margin-bottom: 0cm">
<p align="justify"><font size="2" style="font-size: 11pt"><a href="http://vancouver.php.net/">Vancouver PHP Users Association</a> presents </font></p>
<h3>The Open Web &#8211; a conference on Open Web technologies</h3>
<p><em>When:</em> Monday April 14 &#8211; Tuesday April 15th 2008</p>
<p><em>Where:</em> <a target="_blank" href="http://www.vcec.ca/">Vancouver Convention &#038; Exhibition Centre (VCEC)</a>, 999 Canada Place.</p>
<p><em>What:</em> A conference showcasing open source technologies, communities and culture. We are <a href="http://www.openwebvancouver.ca/talks">featuring talks</a> from all areas of open source technologies such as PHP, Python, Ruby on Rails, XUL, GPL, Linux, Django, Drupal, HTML, CSS, Javascript and AJAX, XML, Apache, MySQL, Web 2.0, etc.</p>
<p>Our format delivers an extremely affordable alternative in comparison to other major conferences. Our community based, volunteer run events in the past have sold-out, attracting audiences from all over the world, and have featured the biggest names in PHP and related topics and technologies.</p>
<p><a target="_blank" href="http://www.vcec.ca/">VCEC</a> is the largest conference facility in downtown Vancouver, located in the spectacular inner harbour.</p>
<p>The conference will open with a &#8216;keynote&#8217; session featuring Tim Bray, Sun Microsystems, Co-Inventor of XML, and Zak Greant of Mozilla Foundation and Foo Associates.</p>
<p>A full list of talks is available at: <a href="http://www.openwebvancouver.ca/talks">http://www.openwebvancouver.ca/talks</a></p>
<p>See the talk schedule grid at: <a href="http://www.openwebvancouver.ca/schedule">http://www.openwebvancouver.ca/schedule</a></p>
<p>In addition to our three tracks of presentations on both days of the conference, there will be time allocated for attendees to give short talks on topics of interest in a &#8216;Lightning Talk&#8217; format.</p>
<p>The Open Web is a presentation of the <a href="http://vancouver.php.net/">Vancouver PHP Users Association</a>, a registered non-profit association for the advancement of PHP and the Open Web.</p>
<p>Registration, Information: <font size="2" style="font-size: 11pt">http://www.openwebvancouver.ca/</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2008/03/23/the-open-web-a-conference-on-open-web-technologies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal Book Review</title>
		<link>http://www.superwebdeveloper.com/2006/09/27/drupal-book-review/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2006/09/27/drupal-book-review/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 18:40:55 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/?p=6</guid>
		<description><![CDATA[There are lots of Content Management Systems out there, right? Drupal is just another, right? Why this CMS? Is there something to all this excitement for Drupal? What, exactly, is in that kool-aid that everyone else is drinking? Maybe, there's something to this Drupal thing after all...]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.packtpub.com/drupal/book/mid/21070659l3za" target="_blank"><img style="padding: 5px" src="http://www.packtpub.com/images/100x123/1904811809.png" border="0" alt="" align="left" /></a> <a href="http://www.packtpub.com/drupal/book/mid/21070659l3za" target="_blank"> Drupal: Creating Blogs, Forums, Portals, and Community Websites, by David Mercer</a>.</p>
<p>Mercer, David.  Drupal: Creating Blogs, Forums, Portals, and Community Websites, How to set up, configure, and customize this powerful PHP/MySQL-based Open Source CMS. Birmingham, U.K.: Packt Publishing, 2006.</p>
<p>Its a pleasure to write a review on David Mercer&#8217;s Drupal, Creating Blogs, Forums, Portals, and Community Websites, from Packt Publishing. This title will allow you to know much more about Drupal&#8217;s features, and it will become a much more valuable to you as a result.</p>
<p>I have wanted to know more about Drupal  ever since seeing  Drupal emerge as the Content Management System (CMS) of choice in my local user group community over the past couple of years. You might say that that some of the local developers have really drank the kool-aid by the measure of their enthusiasm for Drupal. There is a Drupal User Group in town now; I also sat in on a PHP User group presentation on Drupal by inventor Dries van Buytaert; I&#8217;ve eavesdropped on the conversations of developers waxing away on all the great stuff they can do with it, and how great it is; then of course there was the massively successful Northern Voice / OpenSourceCMS conference, said hi to Dries again, and a couple hundred coders and bloggers, were all very thirsty, hungry, and excited about all they could do or wanted do with Drupal. It was all they could talk about. Drupal Drupal Drupal, its all I ever heard! Its just another Content Management System, right? But I cant remember when I saw so much enthusiasm for a single piece of software. There are lots of Content Management Systems out there, right? Drupal is just another, right? Why this CMS? Is there something to all this excitement for Drupal? What, exactly, is in that kool-aid that everyone else is drinking? Maybe, there&#8217;s something to this Drupal thing after all&#8230;</p>
<p>Drupal is a content management system written in PHP with MySQL database. Its for blogs, communities, news sites and more. It is one of those select breed of packages that you can always rely upon to run the first time, &#8216;right out of the box&#8217;, with a minimum of effort, ready to run. Then there is a large array of extensions and skins, written by that enthusiastic Open Source community I just mentioned that you can add into your package, and when you do, they just work, with a minimum of instruction and effort. Drupal is what most people would call an excellent example of what Open Source software is all about, with thousands of sites using this package and development communities around the world.</p>
<p>So its a package that works right out of the box, easy to set up and run, lots of resources, and tons of community support. In fact, with some basic knowledge of computers, a shared hosting account, and a bit of your time with David Mercer&#8217;s book, you could become a self-reliant owner/operator of a Drupal website, with features and functionality that dynamic websites are supposed to have, supporting categories of text and media, and users organized by roles an access levels you can define.</p>
<p>Say you might be someone I would describe as a website client I build sites for. You could use Drupal and avoid having to pay a developer ( like me ) money to build a dynamic website that has the features that Drupal has. On top of that you would have the benefit of the free extensions, modules, skins, and community that you wouldn&#8217;t have if you got someone to code up a site for you. There are arguments against using an off-the-shelf CMS, like if you have a very particular need, type of thing you are doing, but I am not going to entertain that here. You even have the contentment of knowing what it is you have for a website, if you weren&#8217;t technically inclined, and you would know six months from now. You are sold, you save a bundle on your website budget, but why would a developer give that all away? The answer is this: the higher the abilities of my clients, the more interesting the work is for me. Work is performed on tasks that need to be done, not on tasks that have been done already. We don&#8217;t need to reinvent the wheel here, most of the time, and the work a developer does within a Drupal site can be applied to other Drupal sites, and even shared with the development community. Find out everything to know about Drupal, its history and future, at <a title="Drupal" href="http://drupal.org" target="_blank">http://drupal.org</a>.</p>
<p>If you are that kind of person, David Mercer&#8217;s book on Drupal is for you. Its a well written book to help reduce your trial and error, and allow you to get on with the business of operating your website in a knowledgeable manner. And isn&#8217;t that the point? Its a book that is designed to help you learn about what Drupal can really do for you. Use this book and you can become an expert in Drupal without necessarily needing to be an expert in PHP.</p>
<p>The first chapter provides an introduction to Drupal, and explains again a lot of those whys I covered above, but in detail to give it credit. The second chapter covers setting up your development environment and gives you an overview of the technologies Drupal is built upon, namely the LAMP stack. Follow the instructions in this book and you will be fine. You need a development environment? No, but really you do, trust me, you do. Apache2Triad is recommended as an offline development environment. While I would have recommended XAMPP instead, both do the job.  If you don&#8217;t have one of these, get one.  Hey, everybody needs a sandbox.</p>
<p>You then get  lessons in site configuration, and adding functionality. After the groundwork has been laid for you, an aspect that you will appreciate down the road, you get on with the business of adding features and functionality to your site.  You get introduced to modules, so you can add the chunks of code you need so you can do what you want with the site, and blocks, so you can place them where you want.</p>
<p>Users, Roles, and Permissions explains Drupal&#8217;s web admin system for managing users with access policy, roles, and rules. Access rules are something site owners need to know about because the task of keeping the people you want as members to your site is simpler than keeping the people you don&#8217;t like off your site, like members who make nuisance postings in your forum.</p>
<p>You then move on adding and management and content, where you learn how to add and manage content in your site, and then cover in more detail filtering input for code, and what that means, and the Taxonomy module, arguable the most important module within Drupal. The Taxonomy module allows you to determine the method of your your content is organized. Good advice is here: it means the difference between running your site and running it eloquently and well.</p>
<p>The book continues on at in a look at Drupal&#8217;s theme system, and techniques for styling and customizing your site look with CSS. The following chapter is on more advanced features and Modifications to the site, with examples such as Adsense, Flexinode, and News Ticker. While depth of this  material is in many ways introductory, it also does a good job of indicating for more experienced developers an overview of what depth one has to wade into in order to start in earnest with the customization of the site.</p>
<p>Your site development efforts are all applied together when you are ready to deploy your site. Again, the chapter covers tips, hints, tricks, and other valuable lessons for running your site, such as choosing  a  host, your database, backups, crons, poormanscron, site throttling, search engine optimization, web site statistics, and more. Again, this material is laid out to cover the major points in live website maintenance so you know how to be independent, but also as an overview to more experienced developers for what in a Drupal site needs to be done the &#8216;Drupal way&#8217;.</p>
<p>You don&#8217;t need this book to start with Drupal, but you will learn a lot more about it if you do. And that is the whole point, isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2006/09/27/drupal-book-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List of PHP related websites</title>
		<link>http://www.superwebdeveloper.com/2006/04/28/php-sites/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.superwebdeveloper.com/2006/04/28/php-sites/#comments</comments>
		<pubDate>Sat, 29 Apr 2006 02:16:00 +0000</pubDate>
		<dc:creator>pbg</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.superwebdeveloper.com/wp/?p=4</guid>
		<description><![CDATA[By all means this is a partial list of php related websites out there. Vancouver PHP Users http://vancouver.php.net/ sites for tutorials, reviews http://developer.yahoo.com/php/ http://www.php.net/manual/en/ http://www.phpit.net/ http://www.elroubio.net/ http://www.sitepoint.com/ http://www.thesitewizard.com/ http://www.phpdeveloper.org/ http://www.phparch.com/ http://www.phpbuilder.com/ http://www.zend.com/zend/tut/ http://www.devshed.com/c/b/PHP/ http://webmonkey.wired.com/webmonkey/programming/php/ Content Management systems http://moodle.org/ http://www.phpbb.com/ http://drupal.org/ http://wordpress.org/ http://phpadsnew.com/two/ Software tools http://www.mysql.com/ http://www.sqlite.org/ http://www.apache.org/ http://www.phpmyadmin.net/ http://lamppix.tinowagner.com/ Internet News http://slashdot.org/ http://news.netcraft.com/ http://www.digg.com Scripts, [...]]]></description>
			<content:encoded><![CDATA[<p>By all means this is a partial list of php related websites out there.</p>
<p>Vancouver PHP Users  <a href="http://vancouver.php.net/" target="_blank">http://vancouver.php.net/</a></p>
<p>sites for tutorials, reviews</p>
<p><a href="http://developer.yahoo.com/php/">http://developer.yahoo.com/php/</a><br />
<a href="http://www.php.net/manual/en/" target="_blank">http://www.php.net/manual/en/</a><br />
<a href="http://www.phpit.net/" target="_blank">http://www.phpit.net/</a><br />
<a href="http://www.elroubio.net/" target="_blank">http://www.elroubio.net/</a><br />
<a href="http://www.sitepoint.com/" target="_blank">http://www.sitepoint.com/</a><br />
<a href="http://www.thesitewizard.com/" target="_blank">http://www.thesitewizard.com/</a><br />
<a href="http://www.phpdeveloper.org/" target="_blank">http://www.phpdeveloper.org/</a><br />
<a href="http://www.phparch.com/" target="_blank">http://www.phparch.com/</a><br />
<a href="http://www.freewebmasterhelp.com/tutorials/php/" target="_blank"><br />
</a><a href="http://www.phpbuilder.com/" target="_blank">http://www.phpbuilder.com/</a></p>
<p><a href="http://www.zend.com/zend/tut/" target="_blank">http://www.zend.com/zend/tut/</a><br />
<a href="http://www.devshed.com/c/b/PHP/" target="_blank">http://www.devshed.com/c/b/PHP/</a></p>
<p><a href="http://webmonkey.wired.com/webmonkey/programming/php/" target="_blank">http://webmonkey.wired.com/webmonkey/programming/php/</a></p>
<p>Content Management systems<br />
<a href="http://moodle.org/" target="_blank">http://moodle.org/</a><br />
<a href="http://www.phpbb.com/" target="_blank">http://www.phpbb.com/</a><br />
<a href="http://drupal.org/" target="_blank">http://drupal.org/</a><br />
<a href="http://wordpress.org/" target="_blank">http://wordpress.org/</a><br />
<a href="http://phpadsnew.com/two/" target="_blank">http://phpadsnew.com/two/</a></p>
<p>Software tools<br />
<a href="http://www.mysql.com/" target="_blank">http://www.mysql.com/</a><br />
<a href="http://www.sqlite.org/index.html" target="_blank">http://www.sqlite.org/</a><br />
<a href="http://www.apache.org/" target="_blank">http://www.apache.org/</a><br />
<a href="http://www.apachefriends.org/en/" target="_blank"><br />
</a><a href="http://www.phpmyadmin.net/" target="_blank">http://www.phpmyadmin.net/</a><br />
<a href="http://lamppix.tinowagner.com/" target="_blank">http://lamppix.tinowagner.com/</a></p>
<p>Internet News<br />
<a href="http://slashdot.org/" target="_blank">http://slashdot.org/</a><br />
<a href="http://news.netcraft.com/" target="_blank">http://news.netcraft.com/</a><br />
<a href="http://www.digg.com" target="_blank">http://www.digg.com</a></p>
<p>Scripts, etc  <a href="http://freshmeat.net/" target="_blank">http://freshmeat.net/</a><br />
<a href="http://sourceforge.net/" target="_blank">http://sourceforge.net/</a><br />
<a href="http://pear.php.net/" target="_blank">http://pear.php.net</a><br />
<a href="http://www.phpclasses.org/" target="_blank">http://www.phpclasses.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.superwebdeveloper.com/2006/04/28/php-sites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

