<?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>ronald a. richardson &#187; php</title>
	<atom:link href="http://ronaldarichardson.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://ronaldarichardson.com</link>
	<description></description>
	<lastBuildDate>Thu, 17 May 2012 19:01:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Quick update, cloudrealms v3 etc&#8230;</title>
		<link>http://ronaldarichardson.com/2012/05/17/quick-update-cloudrealms-v3-etc/</link>
		<comments>http://ronaldarichardson.com/2012/05/17/quick-update-cloudrealms-v3-etc/#comments</comments>
		<pubDate>Thu, 17 May 2012 19:01:36 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php mmorpg]]></category>
		<category><![CDATA[rpg maker]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1571</guid>
		<description><![CDATA[Why does everyone love Wacka Flocka Flame? Really he&#8217;s just a likable guy I guess. One of the wonders of the world. Anyway, couldreams v3 has been underway you can follow the project on github, it&#8217;s been moved into the more than awesome codeigniter framework. I&#8217;ve decided to develop v3 from the rpg builder end [...]]]></description>
			<content:encoded><![CDATA[<p>Why does everyone love Wacka Flocka Flame? Really he&#8217;s just a likable guy I guess. One of the wonders of the world.</p>
<p>Anyway, couldreams v3 has been underway you can follow the project on github, it&#8217;s been moved into the more than awesome codeigniter framework. I&#8217;ve decided to develop v3 from the rpg builder end rather than the client end, so that the game is easy to manage and create, and features will be easier to make as well. My first real actual by myself codeigniter project, so give me some support.</p>
<p>Here is the link: <a href="https://github.com/theprestig3/cloudrealms">https://github.com/theprestig3/cloudrealms</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2012/05/17/quick-update-cloudrealms-v3-etc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursive PHP Spintax Class 3.0</title>
		<link>http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/</link>
		<comments>http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 00:44:53 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Hacking/ Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php spintax]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[spintax]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1547</guid>
		<description><![CDATA[The last and final version update of the famous PHP Spintax class, this is ultimately recursive and easy to use. I hope that users online may fidn this class useful. It is free and open source, use it freely as you need. It&#8217;s simple to use read more below on how to use the Spintax [...]]]></description>
			<content:encoded><![CDATA[<p>The last and final version update of the famous PHP Spintax class, this is ultimately recursive and easy to use. I hope that users online may fidn this class useful. It is free and open source, use it freely as you need. It&#8217;s simple to use read more below on how to use the Spintax Class.</p>
<p>How to use:</p>
<p>Just include the class and use the code below.</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;spintax.class.php&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$spintax</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Spintax<span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">// Add true to the spin functions to debug and see each line as it is spun in the process</span><br />
<span style="color: #000088;">$spintax</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">spin</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;{{Hello|Hi} my name is {Ron|Ronald}|Another random {sentence|{statement|phrase|saying}}}&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>That&#8217;s all!</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #000000; font-weight: bold;">class</span> Spintax <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> spin<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$test</span><span style="color: #339933;">=</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$test</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">regex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">complete</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">return</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;b&gt;PROCESS: &lt;/b&gt;&quot;</span><span style="color: #339933;">;</span><a href="http://www.php.net/var_dump"><span style="color: #990000;">var_dump</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">regex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;br&gt;&lt;br&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">complete</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> regex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <a href="http://www.php.net/preg_match"><span style="color: #990000;">preg_match</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/{[^{}]+?}/&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Now spin the first captured string</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$attack</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/explode"><span style="color: #990000;">explode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;|&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$new_str</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/[{}]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$attack</span><span style="color: #009900;">&#91;</span><a href="http://www.php.net/rand"><span style="color: #990000;">rand</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #009900;">&#40;</span><a href="http://www.php.net/count"><span style="color: #990000;">count</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$attack</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$match</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$new_str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> complete<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$complete</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_match"><span style="color: #990000;">preg_match</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/{[^{}]+?}/&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$complete</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>Bug fixes &#8211; ultimately recursive now</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Recursive PHP Spintax Class 2.5</title>
		<link>http://ronaldarichardson.com/2011/08/17/recursive-php-spintax-class-2-5/</link>
		<comments>http://ronaldarichardson.com/2011/08/17/recursive-php-spintax-class-2-5/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 21:09:43 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hacking/ Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php spintax]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[spintax]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1514</guid>
		<description><![CDATA[Here is the completely true recursive renovated class that makes use of regex. Get 3.0 NOW! PHP Recursive Spintax Class 3.0 12345678910111213141516171819202122232425262728293031323334&#60;?php class Spintax &#123; &#160; &#160; &#160; &#160;function spin&#40;$str, $test=false&#41; &#160; &#160;&#123; &#160; &#160; &#160; if&#40;!$test&#41;&#123; &#160; &#160; &#160; &#160; &#160;do &#123; &#160; &#160; &#160; &#160; &#160; &#160; $str = $this-&#62;regex&#40;$str&#41;; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>Here is the completely true recursive renovated class that makes use of regex.<br />
<strong>Get 3.0 NOW!</strong> <a href="http://ronaldarichardson.com/2011/09/23/recursive-php-spintax-class-3-0/" title="PHP Recursive Spintax Class 3.0">PHP Recursive Spintax Class 3.0</a></p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #000000; font-weight: bold;">class</span> Spintax <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> spin<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$test</span><span style="color: #339933;">=</span><span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #000088;">$test</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">regex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">complete</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">return</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">do</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;PROCESS: &quot;</span><span style="color: #339933;">;</span><a href="http://www.php.net/var_dump"><span style="color: #990000;">var_dump</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">regex</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;br&gt;&quot;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">complete</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">return</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> regex<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <a href="http://www.php.net/preg_match"><span style="color: #990000;">preg_match</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/{[^{}]+?}/&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #666666; font-style: italic;">// Now spin the first captured string</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$attack</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/explode"><span style="color: #990000;">explode</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;|&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$new_str</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_replace"><span style="color: #990000;">preg_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/[{}]/&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$attack</span><span style="color: #009900;">&#91;</span><a href="http://www.php.net/rand"><span style="color: #990000;">rand</span></a><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$str</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/str_replace"><span style="color: #990000;">str_replace</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$match</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$new_str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$str</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> complete<span style="color: #009900;">&#40;</span><span style="color: #000088;">$str</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$complete</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/preg_match"><span style="color: #990000;">preg_match</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;/{[^{}]+?}/&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$str</span><span style="color: #339933;">,</span> <span style="color: #000088;">$match</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">return</span> <span style="color: #000088;">$complete</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2011/08/17/recursive-php-spintax-class-2-5/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Going to release a php/jQuery mvc framework called LFPHPMVC</title>
		<link>http://ronaldarichardson.com/2011/07/12/going-to-release-a-phpjquery-mvc-framework-called-lfphpmvc/</link>
		<comments>http://ronaldarichardson.com/2011/07/12/going-to-release-a-phpjquery-mvc-framework-called-lfphpmvc/#comments</comments>
		<pubDate>Tue, 12 Jul 2011 20:53:09 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[mvc]]></category>
		<category><![CDATA[mvc framework]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php framework]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1483</guid>
		<description><![CDATA[LFPHPMVC is a lightweight &#8220;fake&#8221; php mvc framework, it allows for the easy deployment of php websites utilizing jquery, which offers the ability to design dynamic websites that rely on absolutely no page refresh. I have been using my own framework to achieve this in two of my projects. I will release it under AGPLv3 [...]]]></description>
			<content:encoded><![CDATA[<p>LFPHPMVC is a lightweight &#8220;fake&#8221; php mvc framework, it allows for the easy deployment of php websites utilizing jquery, which offers the ability to design dynamic websites that rely on absolutely no page refresh. I have been using my own framework to achieve this in two of my projects. I will release it under AGPLv3 sometime this month for everyone to use. It will be a great tool to jump start noobs into php and jquery development. Before I release name ideas and changes will be accepted considerations in the comments below. Thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2011/07/12/going-to-release-a-phpjquery-mvc-framework-called-lfphpmvc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Grid Script</title>
		<link>http://ronaldarichardson.com/2011/05/17/php-grid-script/</link>
		<comments>http://ronaldarichardson.com/2011/05/17/php-grid-script/#comments</comments>
		<pubDate>Wed, 18 May 2011 05:01:17 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hacking/ Dev]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php data grid]]></category>
		<category><![CDATA[php grid]]></category>
		<category><![CDATA[php snippet]]></category>
		<category><![CDATA[php table]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1477</guid>
		<description><![CDATA[Here is a quick grid script I wrote in PHP, it allows you to generate a tile based grid that has various options. I&#8217;m not really going to walk through it the code is self explanatory and easy to use. Here are the buildGrid parameters that it can take to modify the grid. Doc: buildGrid(width, [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a quick grid script I wrote in PHP, it allows you to generate a tile based grid that has various options. I&#8217;m not really going to walk through it the code is self explanatory and easy to use. Here are the buildGrid parameters that it can take to modify the grid.</p>
<p><strong>Doc:</strong><br />
buildGrid(width, height, padding, margin, color, border, dimension)<br />
So here&#8217;s the breakdown:</p>
<ul>
<li>Width: This determines the width of the grid, or how many columns the grid will have</li>
<li>Height: This determines the height of the grid, or how many rows the grid will have</li>
<li>Padding (optional): This will set the padding of the tile</li>
<li>Margin (optional): This will set the margin of the tile</li>
<li>Color (optional): This will set the color of the tile</li>
<li>Dimension (optional): This will set the dimension of the tile, ex. 50 will make a 50&#215;50 tile</li>
</ul>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br />30<br />31<br />32<br />33<br />34<br />35<br />36<br />37<br />38<br />39<br />40<br />41<br />42<br />43<br />44<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">class</span> Grid<span style="color: #009900;">&#123;</span><br />
<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> loadCSS<span style="color: #009900;">&#40;</span><span style="color: #000088;">$padding</span><span style="color: #339933;">,</span> <span style="color: #000088;">$margin</span><span style="color: #339933;">,</span> <span style="color: #000088;">$color</span><span style="color: #339933;">,</span> <span style="color: #000088;">$border</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dimension</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> &nbsp;<span style="color: #0000ff;">'&lt;style&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#canvas p <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; clear: both;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width: 100%;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margin: 0;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#canvas span <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; float: left;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#canvas span.tile <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; width: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$dimension</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; height: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$dimension</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; background: #'</span><span style="color: #339933;">.</span><span style="color: #000088;">$color</span><span style="color: #339933;">.</span><span style="color: #0000ff;">';'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$border</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'border: 1px #000 solid;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'padding:'</span><span style="color: #339933;">.</span><span style="color: #000088;">$padding</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; margin:'</span><span style="color: #339933;">.</span><span style="color: #000088;">$margin</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'px;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/style&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<span style="color: #000000; font-weight: bold;">function</span> buildGrid<span style="color: #009900;">&#40;</span><span style="color: #000088;">$width</span><span style="color: #339933;">,</span> <span style="color: #000088;">$height</span><span style="color: #339933;">,</span> <span style="color: #000088;">$padding</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">5</span><span style="color: #339933;">,</span> <span style="color: #000088;">$margin</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span> <span style="color: #000088;">$color</span><span style="color: #339933;">=</span><span style="color: #0000ff;">'06D606'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$border</span><span style="color: #339933;">=</span><span style="color: #009900; font-weight: bold;">true</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dimension</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">50</span><span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$this</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">loadCSS</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$padding</span><span style="color: #339933;">,</span> <span style="color: #000088;">$margin</span><span style="color: #339933;">,</span> <span style="color: #000088;">$color</span><span style="color: #339933;">,</span> <span style="color: #000088;">$border</span><span style="color: #339933;">,</span> <span style="color: #000088;">$dimension</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div id=&quot;canvas&quot;&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;span class=&quot;canvas&quot;&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$width</span><span style="color: #339933;">;</span><span style="color: #000088;">$row</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;p&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">for</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$column</span><span style="color: #339933;">=</span><span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> <span style="color: #000088;">$column</span> <span style="color: #339933;">&lt;</span> <span style="color: #000088;">$height</span><span style="color: #339933;">;</span><span style="color: #000088;">$column</span><span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;span class=&quot;tile&quot;&gt;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #339933;">.</span><span style="color: #0000ff;">', '</span><span style="color: #339933;">.</span><span style="color: #000088;">$column</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&lt;/span&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/p&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/span&gt;&lt;/div&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p><strong>Usage:</strong></p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$testGrid</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> Grid<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$testGrid</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">buildGrid</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">5</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">5</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<blockquote><p>This little script is licensed under WTFPL and is available on <a href="http://snipt.org/xkxo">snipt here</a>!
</p></blockquote>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">DO</span> WHAT THE FUCK YOU WANT TO <span style="color: #000000; font-weight: bold;">PUBLIC</span> LICENSE<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Version <span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span> December <span style="color: #cc66cc;">2004</span><br />
<br />
&nbsp;Copyright <span style="color: #009900;">&#40;</span>C<span style="color: #009900;">&#41;</span> <span style="color: #cc66cc;">2004</span> Sam Hocevar <span style="color: #339933;">&lt;</span>sam<span style="color: #339933;">@</span>hocevar<span style="color: #339933;">.</span>net<span style="color: #339933;">&gt;</span><br />
<br />
&nbsp;Everyone is permitted to <a href="http://www.php.net/copy"><span style="color: #990000;">copy</span></a> and distribute verbatim or modified<br />
&nbsp;copies of this license document<span style="color: #339933;">,</span> and changing it is allowed <span style="color: #b1b100;">as</span> long<br />
&nbsp;<span style="color: #b1b100;">as</span> the name is changed<span style="color: #339933;">.</span><br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">DO</span> WHAT THE FUCK YOU WANT TO <span style="color: #000000; font-weight: bold;">PUBLIC</span> LICENSE<br />
&nbsp; &nbsp;TERMS AND CONDITIONS <span style="color: #b1b100;">FOR</span> COPYING<span style="color: #339933;">,</span> DISTRIBUTION AND MODIFICATION<br />
<br />
&nbsp; <span style="color: #cc66cc;">0</span><span style="color: #339933;">.</span> You just <span style="color: #b1b100;">DO</span> WHAT THE FUCK YOU WANT TO<span style="color: #339933;">.</span></div></td></tr></tbody></table></div>
<p>Hopefully this helps someone out at anything they may need a grid for. </p>
<p>If anyone request or finds this snippet helpful I will follow up with another tutorial that shows how to dynamically load content into a specific tile.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2011/05/17/php-grid-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to submit/ POST PHP Data to Facebox</title>
		<link>http://ronaldarichardson.com/2011/03/17/how-to-submit-post-php-data-to-facebox/</link>
		<comments>http://ronaldarichardson.com/2011/03/17/how-to-submit-post-php-data-to-facebox/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 18:41:46 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Hacking/ Dev]]></category>
		<category><![CDATA[Journal]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[decrypt]]></category>
		<category><![CDATA[facebox]]></category>
		<category><![CDATA[form]]></category>
		<category><![CDATA[form submission]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[modal]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php action]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[post data]]></category>
		<category><![CDATA[post method]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=1445</guid>
		<description><![CDATA[After browsing the web, I have seen that a lot of people have been having problems with sending php post data to a facebox. Well I have the how-to on just that! If you don&#8217;t know what Facebox is, it&#8217;s a jQuery modal plugin, that is very sleek and resembles the modal from facebook.com, simple [...]]]></description>
			<content:encoded><![CDATA[<p>After browsing the web, I have seen that a lot of people have been having problems with sending php post data to a facebox. Well I have the how-to on just that!</p>
<p>If you don&#8217;t know what Facebox is, it&#8217;s a jQuery modal plugin, that is very sleek and resembles the modal from facebook.com, simple enough.</p>
<p>The purpose of these instructions is to be able to create a simple form in html, that uses php to post data to another remote page. In otherwords pass a variable to another website. Which is simple, but how can this be accomplished with Facebox?</p>
<p>Here is my example code:</p>
<p><strong>manageForms.php</strong> &#8211; this is an excerpt of form manager script I wrote for a client, this is the code for the actions panel. There is a decrypt form submission option since the data submitted is encoded in the mysql database.</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;form method=&quot;post&quot; name=&quot;decrypt&quot; id=&quot;decrypt&quot; action=&quot;decryptAndShow.php?form='</span><span style="color: #339933;">.</span><span style="color: #000088;">$form</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;div style=&quot;padding:10px;border:1px solid #000;margin:5px;&quot;&gt;Actions: &lt;a href=&quot;'</span><span style="color: #339933;">.</span>GRID_SOURCE<span style="color: #339933;">.</span><span style="color: #0000ff;">'excel.php?grid_id=grid&quot;&gt;Export to Excel&lt;/a&gt; | &lt;a href=&quot;&quot;&gt;Generate PDF&lt;/a&gt; | &lt;a href=&quot;&quot;&gt;View HTML&lt;/a&gt; | Decrypt form: &lt;select name=&quot;x&quot; onclick=&quot;document.decrypt.id.value=this.value&quot;&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_fetch_array"><span style="color: #990000;">mysql_fetch_array</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$q</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #000088;">$company_name</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/base64_decode"><span style="color: #990000;">base64_decode</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span>company_name<span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;option value=&quot;'</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span>id<span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&quot;&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'ID: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#91;</span>id<span style="color: #009900;">&#93;</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' Company Name: '</span><span style="color: #339933;">.</span><span style="color: #000088;">$company_name</span><span style="color: #339933;">.</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/option&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span> &nbsp;<br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;/select&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">'&lt;input type=&quot;hidden&quot; name=&quot;id&quot; id=&quot;id&quot; value=&quot;no submission selected for decryption&quot;&gt;&lt;input type=&quot;button&quot; value=&quot;Go!&quot; onclick=&quot;decrypt_form()&quot;&gt;&lt;/form&gt;'</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">' | &lt;a href=&quot;'</span><span style="color: #339933;">.</span>GRID_SOURCE<span style="color: #339933;">.</span><span style="color: #0000ff;">'/class/print.php?grid_id=grid&quot;&gt;Print&lt;/a&gt; | (Mode: &lt;a href=&quot;manageForms.php?type='</span><span style="color: #339933;">.</span><span style="color: #000088;">$type</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;sales_rep='</span><span style="color: #339933;">.</span><span style="color: #000088;">$sales_rep</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;form='</span><span style="color: #339933;">.</span><span style="color: #000088;">$form</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;mode=edit&quot;&gt;Edit&lt;/a&gt; | &lt;a href=&quot;manageForms.php?type='</span><span style="color: #339933;">.</span><span style="color: #000088;">$type</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;sales_rep='</span><span style="color: #339933;">.</span><span style="color: #000088;">$sales_rep</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;form='</span><span style="color: #339933;">.</span><span style="color: #000088;">$form</span><span style="color: #339933;">.</span><span style="color: #0000ff;">'&amp;mode=view&quot;&gt;View&lt;/a&gt;)&lt;/div&gt;'</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>Now here is the simple little ajax code to include, to make the decrypt form above post it&#8217;s &#8216;id&#8217; variable to facebox.</p>
<div class="codecolorer-container javascript blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br /></div></td><td><div class="javascript codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span><br />
&nbsp; &nbsp;<span style="color: #003366; font-weight: bold;">function</span> decrypt_form<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; $.<span style="color: #660066;">facebox</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$.<span style="color: #660066;">ajax</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; data<span style="color: #339933;">:</span> <span style="color: #009900;">&#123;</span> <span style="color: #3366CC;">&quot;id&quot;</span> <span style="color: #339933;">:</span> $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#id&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">val</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; error<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$.<span style="color: #660066;">facebox</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;There was an error decrypting the form submission&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; success<span style="color: #339933;">:</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$.<span style="color: #660066;">facebox</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;post&quot;</span><span style="color: #339933;">,</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; url<span style="color: #339933;">:</span> <span style="color: #3366CC;">&quot;decryptAndShow.php?form='.$form.'&quot;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> &nbsp;<br />
&nbsp; &nbsp;<span style="color: #009900;">&#125;</span><br />
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></div></td></tr></tbody></table></div>
<p>Here is how the code works, I created a function called <strong>decrypt_form()</strong> all this does is execute the code when it is called, which I called it through the button on the form. Next is to use the facebox function, and within that do a simple ajax post method. in <strong>data:</strong> this is where you will put the variable you want to post from the form, in my case is is &#8216;id&#8217;. Skip error, well change the error message to whatever you like. Keep success the same, and of course your type is &#8216;post&#8217;, and change the URL to whatever php file you had in the forms action.</p>
<p>Simple enough <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ok, now if you are having trouble just post a comment, but that should cover the how-to. If not here is the <strong>decryptAndShow.php</strong> a small excerpt of code:</p>
<div class="codecolorer-container php blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000088;">$form</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span>form<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$id</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_POST</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$pagetitle</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'Decryption of '</span><span style="color: #339933;">.</span><span style="color: #000088;">$form</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' identification # '</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">include</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'../includes/connect.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<br />
<span style="color: #000088;">$query</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'select * from '</span><span style="color: #339933;">.</span><span style="color: #000088;">$form</span><span style="color: #339933;">.</span><span style="color: #0000ff;">' where id = '</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">''</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$result</span> <span style="color: #339933;">=</span> <a href="http://www.php.net/mysql_query"><span style="color: #990000;">mysql_query</span></a><span style="color: #009900;">&#40;</span><span style="color: #000088;">$query</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;&lt;strong&gt;data submission id:&lt;/strong&gt; &quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$id</span><span style="color: #339933;">.</span><span style="color: #0000ff;">&quot;&lt;br&gt;&quot;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2011/03/17/how-to-submit-post-php-data-to-facebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IT&#8217;S BEEN A WHILE&#8230;</title>
		<link>http://ronaldarichardson.com/2008/11/30/its-been-a-while/</link>
		<comments>http://ronaldarichardson.com/2008/11/30/its-been-a-while/#comments</comments>
		<pubDate>Sun, 30 Nov 2008 18:57:23 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Hacking/ Dev]]></category>
		<category><![CDATA[Journal]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[admissions]]></category>
		<category><![CDATA[Anime]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[college]]></category>
		<category><![CDATA[cyberpunk]]></category>
		<category><![CDATA[Darfur]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[future]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[little brother]]></category>
		<category><![CDATA[marines]]></category>
		<category><![CDATA[mit]]></category>
		<category><![CDATA[nc state]]></category>
		<category><![CDATA[newspaper]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[save darfur]]></category>
		<category><![CDATA[school days]]></category>
		<category><![CDATA[serial experiments lain]]></category>
		<category><![CDATA[UN]]></category>
		<category><![CDATA[unca]]></category>
		<category><![CDATA[Verdis]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[ZocialNET]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/?p=687</guid>
		<description><![CDATA[It&#8217;s been a while since my last post. I guess I just didn&#8217;t have the time. My schedules been insane I guess, well&#8230; not entirely. I&#8217;ve been watching a lot of anime lol! Working out at the Y almost everyday, and spending time working on the ZocialNET, developing a website for this company, college admissions [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/n1059706675_206824_83601.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/n1059706675_206824_83601-300x225.jpg" alt="" title="n1059706675_206824_83601" width="300" height="225" class="alignleft size-medium wp-image-686" /></a>It&#8217;s been a while since my last post. I guess I just didn&#8217;t have the time. My schedules been insane I guess, well&#8230; not entirely. I&#8217;ve been watching a lot of anime lol! Working out at the Y almost everyday, and spending time working on the ZocialNET, developing a website for this company, college admissions stuff, and my senior exit graduation project. I mean I put a lot of time into my senior graduation project, I&#8217;ve made a website and a documentary, and I&#8217;m preparing for my final presentation on December 11th. </p>
<p>I&#8217;ve been low on money lately as well. I recently got the Paypal debit, so I&#8217;m hoping my little bits of money will transfer into it soon. I have to buy a lot of supplies for my senior graduation project product, I did the website, but I also want to include a model of a futuristic peaceful city on Mars, much like the city on Ergo Proxy. </p>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/logoa.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/logoa.jpg" alt="" title="logoa" width="177" height="98" class="alignright size-medium wp-image-680" /></a>So much has happened, but never really had the time to post it. I&#8217;ve been getting worried about college, I haven&#8217;t applied to many colleges at all because of my low money, college applications are so damn expensive! That&#8217;s why I&#8217;m hoping on getting an acceptance letter from UNCA on the 15th of this December, so I can stop applying to colleges, well that is if I don&#8217;t get accepted to NCState. I haven&#8217;t applied to a single college out of state, I simply won&#8217;t be able to afford it, not even with the money I get from the Marines, I really don&#8217;t care, UNCA offers a under-grad program in Mechatronics<a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/mechlogo.gif'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/mechlogo-150x150.gif" alt="" title="mechlogo" width="150" height="150" class="alignright size-thumbnail wp-image-677" /></a>, and that&#8217;s what I want. It will set me up for Biomechatronics grad program at MIT. </p>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/freegirl.gif'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/freegirl-188x300.gif" alt="FREEBSD GIRL" title="freegirl" width="188" height="300" class="alignleft size-medium wp-image-676" /></a>Speaking of MIT, I submitted my project to MIT THINK 15 days ago. I&#8217;m excited, I hope I win. I&#8217;ve been thinking of Verdis so much, and I need a new computer to setup a repository on it. Not only that, but I&#8217;ve been thinking about working off FreeBSD&#8230; </p>
<li>Windows &#8211;> &#8220;where do you want to go today&#8221;</li>
<li>Linux &#8211;> &#8220;where do you want to go tomorrow&#8221;</li>
<li>FreeBSD &#8211;> &#8220;hurry up! i&#8217;m already here!&#8221;</li>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/serialexperimentslain.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/serialexperimentslain-221x300.jpg" alt="" title="serialexperimentslain" width="221" height="300" class="alignright size-medium wp-image-682" /></a>Speaking of updates, I need to update my WordPress, I don&#8217;t even know what version this is, but I know there is a version 2.6.5 out, I&#8217;m probably on 2.5, can&#8217;t remember, this was setup more than a year ago. ANIME, ANIME, ANIME&#8230; I love it, great story&#8217;s great stuff. I really like cyberpunk stuff, and short series anime&#8217;s. Like so far I&#8217;ve seen &#8220;Serial Experiments Lain,&#8221; which is my absolute favorite, not only is it cyberpunk, but it&#8217;s so psychologically disturbing! It&#8217;s a great anime, and it&#8217;s 13 episodes long. I also enjoyed &#8220;School Days,&#8221; which is a great love triangle anime, but get&#8217;s crazy at the end, very disturbing, but I loved it! My little brother is the one who told me about it, the anime makes me think about him a lot. My little brother has always been able to get girls, lucky him, he was born &#8220;cute&#8221; I guess. Me, I&#8217;m not so lucky, not so cute looking, rather rough, and I&#8217;m very shy to the girls I really like, ahahaha, well at least I won&#8217;t have to worry about that &#8220;School Days&#8221; situation. I LOVE WWW.CRUNCHYROLL.COM!</p>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/giant.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/giant-150x150.jpg" alt="" title="giant" width="150" height="150" class="alignleft size-thumbnail wp-image-678" /></a>In Newspaper, I&#8217;ve been drawing more than usual. I think I can become &#8220;go to artist,&#8221; I&#8217;ve been increasing my skills, and self-style of drawing. I&#8217;ve also became a fan of a well-known artist.. <a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/making_of_the_giant_clip_image064.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/making_of_the_giant_clip_image064-150x150.jpg" alt="" title="making_of_the_giant_clip_image064" width="150" height="150" class="alignright size-thumbnail wp-image-681" /></a>Keith Thompson, of http://www.keiththompsonart.com/ &#8211; His art is insane! I love it, its great, his photoshop skills are excellent too, his artwork is superb! Someday I hope to be able to draw as good as him, and use photoshop as good as him. I mean, I can draw pretty well, and use Photoshop pretty well, just enough to impress my high school. OH, and at school I also decided to join the &#8220;Save Darfur NOW&#8221; club. I&#8217;m hoping on contributing what I can for the cause.</p>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/zocialnet-ui-prev.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/zocialnet-ui-prev.jpg" alt="www.zocialnet.com" title="zocialnet-ui-prev" class="alignleft size-medium wp-image-683"  width="400" height="228"/></a>Like I said early, the ZocialNET. Well the &#8220;.ZocialNET/&#8221; which is coming out of the box more, unique interface and design, and &#8220;the system&#8221; I must say I think is better than Facebook, and MySpace. I also set it up to where you HAVE to be invited to join the system, that way the ZocialNET won&#8217;t accumulate a bunch of losers, and bots, and un-wanted people on the network. Other projects in the ZocialNET I&#8217;m working towards are the a social visualization system, based off the JIT ( Javascript Information Visualization Toolkit) which is superb! A system where you can visualize the social interaction between each user is what I&#8217;m aiming for an JIT has the tools to make it happen, but of course this will take several months of development before I can integrate it into the ZocialNET. I also built the ZocialNET with a CLI, and IDE, which I think are pretty neat and handy. The CLI provides news, an the IDE are for people who want to get involved. I also ended up making a small, sweet looking home base interface for the ZocialNET. I thin it looks, and works great! Now I just have to fix the eyeOS&#8230;</p>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/200px-victim_of_the_brain.png'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/200px-victim_of_the_brain.png" alt="" title="200px-victim_of_the_brain" width="200" height="156" class="alignright size-medium wp-image-684" /></a>hmmm&#8230; soo much has happened, and so much is about to happen. I&#8217;ve watched &#8220;A Victim of the Brain&#8221; a docu-drama on Google videos, which was great, and very interesting, it&#8217;s about cognitive science and the brain. I learned more about the conscious of the brain, and how WE ARE victims of the brain, because some things are just pre-defined, which define our choices. I learned there is NO free-will, but there is desires. I think it&#8217;s really interesting and that everyone should take a look at it. More about a victim of the brain: a 1988 film by Dutch director Piet Hoenderdos, loosely based on The Mind&#8217;s I, a compilation of texts and stories on the philosophy of mind and self, co-edited by Douglas Hofstadter and Daniel C. Dennett. The film weaves interviews with Hofstadter with adaptations of several works in the book: Dennett&#8217;s Where am I?, The Soul of the Mark III Beast by Terrel Miedaner, and also the short story The Seventh Sally by Stanis?aw Lem. The film was shown several times on television in Holland in the late eighties&#8230;. <strong>WHERE TO WATCH:</strong> http://video.google.com/videoplay?docid=8576072297424860224</p>
<p>I&#8217;m also getting ready to setup a new layout on the website one last time today. Hopefully everyone will like it, and it&#8217;ll be a surprise. It&#8217;s more personalized, and efficient.</p>
<p><a href='http://www.ronaldarichardson.com/wp-content/uploads/2008/11/little-brother.jpg'><img src="http://www.ronaldarichardson.com/wp-content/uploads/2008/11/little-brother.jpg" alt="" title="little-brother" class="alignleft size-thumbnail wp-image-679"  width="400" height="601"/></a>In school I&#8217;ve been reading &#8220;Dracula&#8221; good but not my style. Out of school I&#8217;ve been listening to the Audiobook of &#8220;Little Brother&#8221; by Cory Doctorow! Which is excellent cyberpunk book, all about hacking and stuff. Reminds me of the good ol&#8217; telnet days etc&#8230; when it was cool to be a super geek, well it still is too me! w1ld3833zt!!! lol Anyways, I say check out the book. I might upload the audiobook so everyone can download it. <strong>It&#8217;s been reviewed at cyberpunkreview.com here:</strong> http://www.cyberpunkreview.com/books/cyberpunk-books/little-brother/ &#8211; CHECK IT OUT!</p>
<p>I think i&#8217;ll opne up a downloads section where you can download things I like, and I&#8217;ll include hacking/ bypass software with tutorials. Not super-serious killing, stealing, and destroying hacking software, but things like $sys$Firefox lol, and things like that&#8230;</p>
<p>I think I&#8217;m going to close this post now, so much has happened, too much to blog about, and so much is getting ready to happen, that I will try to blog about.</p>
<p>-!RONALD A. RICHARDSON!</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2008/11/30/its-been-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Hosting Services from ME!</title>
		<link>http://ronaldarichardson.com/2008/08/17/free-hosting-services-from-me/</link>
		<comments>http://ronaldarichardson.com/2008/08/17/free-hosting-services-from-me/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 23:32:05 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[blogs]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[free hosting]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/core/?p=602</guid>
		<description><![CDATA[Gravity let me down, that&#8217;s what I say. Sounds grim, but indeed it is not. I came to realize that by opening the doors of Internet opportunity&#8217;s to the public, more people/ children could learn the capabilities of their computers. Allowing them to learn more about themselves, I believe someone can learn a lot about [...]]]></description>
			<content:encoded><![CDATA[<p>Gravity let me down, that&#8217;s what I say. Sounds grim, but indeed it is not. I came to realize that by opening the doors of Internet opportunity&#8217;s to the public, more people/ children could learn the capabilities of their computers. Allowing them to learn more about themselves, I believe someone can learn a lot about themselves by what they create. Creativity is an outlet for the brain, it allows the person to interpret what&#8217;s really on their minds. Well at least in my cases. When I&#8217;m angry, the things I create are dark, and depressing. When I&#8217;m happy, the things I create are colorful, and bright. I believe moods have a lot to do with finding out who a person is. What mood do you like to be in? Some people like to be in a bad mood all the time, I don&#8217;t know why. It&#8217;s just life. Anyways back on topic, my small organization/ business is setting up a way for the public to outlet their creativity. Through FREE HOSTING! </p>
<p>The Verdis Organization/ Technologies will offer free hosting of;</p>
<p>Free Hosting Services</p>
<p>    * Blog Hosting (WordPress)<br />
    * Email Hosting (name@verdis.org)<br />
    * Forum Hosting (IPB, vBulletin, phpBB)<br />
    * Image Hosting<br />
    * Sub-Domain Hosting (name.verdis.org)<br />
    * Web Hosting (5MB, Unlimited Bandwidth, 1 MySQL Database, Plesk, PHP/ Apache ASP)</p>
<p>you can find more information here: http://verdis.org/services/hosting/</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2008/08/17/free-hosting-services-from-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going ASP</title>
		<link>http://ronaldarichardson.com/2008/07/28/going-asp/</link>
		<comments>http://ronaldarichardson.com/2008/07/28/going-asp/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 15:11:56 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[huntersville]]></category>
		<category><![CDATA[kentico]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[nc]]></category>
		<category><![CDATA[open]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/core/?p=576</guid>
		<description><![CDATA[<a href='http://www.ronaldarichardson.com/core/wp-content/uploads/2008/07/9780596514242_lrg.jpg'><img src="http://www.ronaldarichardson.com/core/wp-content/uploads/2008/07/9780596514242_lrg-228x300.jpg" alt="" title="9780596514242_lrg" width="228" height="300" class="alignleft size-medium wp-image-577" /></a>Working with ASP is very restricting. First off PHP is still better than ASP, it's free and flexible. ASP will never have anything over PHP. Though I am currently converting my Huntersville.org project over to ASP, using my favorite ASP software's. Since my Fedora Core server has ASP/CFM/Python AND MORE installed I'm giving them a go tonight. Using the Kentico]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.ronaldarichardson.com/core/wp-content/uploads/2008/07/9780596514242_lrg.jpg'><img src="http://www.ronaldarichardson.com/core/wp-content/uploads/2008/07/9780596514242_lrg-228x300.jpg" alt="" title="9780596514242_lrg" width="228" height="300" class="alignleft size-medium wp-image-577" /></a>Working with ASP is very restricting. First off PHP is still better than ASP, it&#8217;s free and flexible. ASP will never have anything over PHP. Though I am currently converting my Huntersville.org project over to ASP, using my favorite ASP software&#8217;s. Since my Fedora Core server has ASP/CFM/Python AND MORE installed I&#8217;m giving them a go tonight. Using the Kentico ASP software. It&#8217;s some pretty nice software, it&#8217;s just that most of the time if you need a plug in, you have to work double hard to develop it, get it going, then contribute to the poor Kentico community. Luckily for me, my old hosting company gave it to me in some server competition. Otherwise I would have never heard of ASP/Kentico. I&#8217;m not sure of the price but I know it has a big tag on it. So I will be implementing this software with my work in Javascript/AJAX to the Huntersville.org project. Anyways, why is PHP beter than ASP? <span id="more-576"></span></p>
<p>Both ASP and PHP are languages used to build Dynamic Web sites that can interact with Databases and exchange information. ASP (Active Server Pages) is from Microsoft and is used with IIS (Internet Information Server) that runs on Microsoft Servers. PHP (PHP: Hypertext Preprocessor) is from Rasmus Lerdorf, who originally designed this parsing language which was later modified by different people. It runs on Unix and Linux servers and it also has an NT server version.</p>
<p>There are a lot of differences between ASP and PHP.</p>
<p>Cost</p>
<p>To run ASP programs one needs IIS installed on a Windows platform server, which is not free. PHP programs run on Linux, which is free. Even the connectivity of the database is expensive in the case of ASP as MS-SQL is a product of Microsoft that needs to be purchased. PHP generally uses MySQL, which is freely available.</p>
<p>Speed</p>
<p>If we compare the speed of ASP and PHP then PHP has an upper hand. PHP code runs faster than ASP. ASP is built on COM based architecture, which is an overhead for the server whereas PHP code runs in its own memory space.</p>
<p>Platform Compatibility</p>
<p>PHP programs can run on various platforms like Linux, Unix, Windows and Solaris whereas ASP is mainly associated with Windows platforms. However, ASP can run on a Linux platform with ASP-Apache installed on the server.</p>
<p>Additional Costs</p>
<p>Many of the tools used in PHP are free of cost and since PHP is open source a lot of code can be found in open source forums. PHP has inbuilt features like ftp, email from a web page or even encryption mechanisms but in ASP such features are not built in and some additional components are required. Therefore an additional cost is incurred for such components.</p>
<p>Base Language</p>
<p>PHP is based on C++ language and the syntax used in PHP is quite similar to C/C++. C/C++ is still considered the best programming language by many programmers and people who love this language would surely feel more comfortable with the syntax of PHP. ASP on the other hand has a more Visual Basic kind of syntax that again is closely related to only Microsoft products. So, it depends on a person-to-person which language he or she is comfortable</p>
<p>Database Connectivity</p>
<p>PHP, being extremely flexible, can connect to various databases, the most popular being MySQL. ASP mainly uses MS-SQL.</p>
<p>Conclusion</p>
<p>Both languages have their advantages specific to users. Some would argue that both the languages have their own importance and depending on the user&#8217;s requirements the language and the platform can be chosen. If we talk about developing a discussion board then ASP is equally capable but many feel the best discussion boards are developed in PHP. If a user is looking for some e-commerce application development then many would call ASP the ideal choice. This does not mean that PHP cannot provide e-commerce solutions, only that many people choose ASP.</p>
<p>From my perspective, PHP is an all around better choice than ASP.</p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2008/07/28/going-asp/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ffmpeg installation script version 2.0.1 released &amp; used on JabberBOARD.com, works like a charm!</title>
		<link>http://ronaldarichardson.com/2008/06/29/ffmpeg-installation-script-version-201-released-used-on-jabberboardcom-works-like-a-charm/</link>
		<comments>http://ronaldarichardson.com/2008/06/29/ffmpeg-installation-script-version-201-released-used-on-jabberboardcom-works-like-a-charm/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 02:44:58 +0000</pubDate>
		<dc:creator>Ronald</dc:creator>
				<category><![CDATA[Blogroll]]></category>
		<category><![CDATA[BASH]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffmpeg-php]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://ronaldarichardson.com/core/?p=554</guid>
		<description><![CDATA[The ffmpeg installation script version 2.0.1 released with the following improvements. Mencoder bug fixed flvtool2 bug fixed generic servers script bugs fixed download link > http://ffmpeginstall.sourceforge.net/ &#8211;It&#8217;s simple and easy to install. Here&#8217;s a basic summary on how to use the script. You need root access to the server to do the following: 1) Download [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.ronaldarichardson.com/core/wp-content/uploads/2008/06/screen22.jpg'><img src="http://www.ronaldarichardson.com/core/wp-content/uploads/2008/06/screen22.jpg" alt="" title="screen22" class="alignleft size-medium wp-image-555"  width="400" height="320"/></a>
<ul>
The ffmpeg installation script version 2.0.1 released with the following improvements.</p>
<li>Mencoder bug fixed</li>
<li>flvtool2 bug fixed</li>
<li>generic servers script bugs fixed</li>
</ul>
<blockquote><p><strong>download link > http://ffmpeginstall.sourceforge.net/</strong></p></blockquote>
<p>&#8211;It&#8217;s simple and easy to install. Here&#8217;s a basic summary on how to use the script.</p>
<blockquote><p>You need root access to the server to do the following:<br />
1) Download the script source<br />
2) Untar the script source<br />
3) Chen the file INSTALL ,it will give full instructions.<br />
4) But you need basic unix working knowledge <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /><br />
Thank you</p></blockquote>
<p><em>ENJOY THE SCRIPT! <img src='http://ronaldarichardson.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://ronaldarichardson.com/2008/06/29/ffmpeg-installation-script-version-201-released-used-on-jabberboardcom-works-like-a-charm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

