<?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>Design Code Execute &#187; PHP</title>
	<atom:link href="http://www.designcodeexecute.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.designcodeexecute.com</link>
	<description>Design Tips, Tricks, Hacks for Web Development, Windows and OS X</description>
	<lastBuildDate>Mon, 28 Nov 2011 20:42:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to cast string number into a float/int variable with PHP</title>
		<link>http://www.designcodeexecute.com/2011/11/28/cast-string-into-float-php/</link>
		<comments>http://www.designcodeexecute.com/2011/11/28/cast-string-into-float-php/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 20:39:29 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Cast Float]]></category>
		<category><![CDATA[string to float]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=290</guid>
		<description><![CDATA[Casting is a simple operation that can save many headaches. The code below show you how to cast a string into an float or integer with PHP. // int example $string_number = &#34;72&#34;; $float_number = &#40;int&#41; $string_number; // float example $string_number = &#34;324.75&#34;; $float_number = &#40;float&#41; $string_number;]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2011/11/28/cast-string-into-float-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Header Location bug with Internet Explorer IE6, IE7, IE8</title>
		<link>http://www.designcodeexecute.com/2011/09/27/php-header-location-bug-with-internet-explorer-ie6-ie7-ie8/</link>
		<comments>http://www.designcodeexecute.com/2011/09/27/php-header-location-bug-with-internet-explorer-ie6-ie7-ie8/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 02:59:26 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[internet explorer bug]]></category>
		<category><![CDATA[location]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=255</guid>
		<description><![CDATA[Thank you microsoft for yet another bug that ruined some store processing code. There two bugs to look out for: not using a capital L, and not killing the process. Example: header(&#8216;location http://www.mywebsite.com/relocate/&#8217;); Bad code for internet explorer. To assure you are relocated and the page you are calling the header doesn&#8217;t magically reload itself [...]]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2011/09/27/php-header-location-bug-with-internet-explorer-ie6-ie7-ie8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>United States State Name and Abbreviation PHP Array List</title>
		<link>http://www.designcodeexecute.com/2010/09/07/united-states-state-name-and-abbreviation-php-array-list/</link>
		<comments>http://www.designcodeexecute.com/2010/09/07/united-states-state-name-and-abbreviation-php-array-list/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 21:32:23 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php state array]]></category>
		<category><![CDATA[state array]]></category>
		<category><![CDATA[state name abbreviations array]]></category>
		<category><![CDATA[usa states array]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=224</guid>
		<description><![CDATA[A PHP Array of the States of North America, useful for database access when addresses are abbreviated $state_list = array(&#8216;AL&#8217;=>&#8221;Alabama&#8221;, &#8216;AK&#8217;=>&#8221;Alaska&#8221;, &#8216;AZ&#8217;=>&#8221;Arizona&#8221;, &#8216;AR&#8217;=>&#8221;Arkansas&#8221;, &#8216;CA&#8217;=>&#8221;California&#8221;, &#8216;CO&#8217;=>&#8221;Colorado&#8221;, &#8216;CT&#8217;=>&#8221;Connecticut&#8221;, &#8216;DE&#8217;=>&#8221;Delaware&#8221;, &#8216;DC&#8217;=>&#8221;District Of Columbia&#8221;, &#8216;FL&#8217;=>&#8221;Florida&#8221;, &#8216;GA&#8217;=>&#8221;Georgia&#8221;, &#8216;HI&#8217;=>&#8221;Hawaii&#8221;, &#8216;ID&#8217;=>&#8221;Idaho&#8221;, &#8216;IL&#8217;=>&#8221;Illinois&#8221;, &#8216;IN&#8217;=>&#8221;Indiana&#8221;, &#8216;IA&#8217;=>&#8221;Iowa&#8221;, &#8216;KS&#8217;=>&#8221;Kansas&#8221;, &#8216;KY&#8217;=>&#8221;Kentucky&#8221;, &#8216;LA&#8217;=>&#8221;Louisiana&#8221;, &#8216;ME&#8217;=>&#8221;Maine&#8221;, &#8216;MD&#8217;=>&#8221;Maryland&#8221;, &#8216;MA&#8217;=>&#8221;Massachusetts&#8221;, &#8216;MI&#8217;=>&#8221;Michigan&#8221;, &#8216;MN&#8217;=>&#8221;Minnesota&#8221;, &#8216;MS&#8217;=>&#8221;Mississippi&#8221;, &#8216;MO&#8217;=>&#8221;Missouri&#8221;, &#8216;MT&#8217;=>&#8221;Montana&#8221;, &#8216;NE&#8217;=>&#8221;Nebraska&#8221;, &#8216;NV&#8217;=>&#8221;Nevada&#8221;, &#8216;NH&#8217;=>&#8221;New Hampshire&#8221;, &#8216;NJ&#8217;=>&#8221;New Jersey&#8221;, &#8216;NM&#8217;=>&#8221;New [...]]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2010/09/07/united-states-state-name-and-abbreviation-php-array-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHPMYADMIN Blank White Page on Ubuntu</title>
		<link>http://www.designcodeexecute.com/2010/05/06/phpmyadmin-show-blank-white-page-on-ubuntu/</link>
		<comments>http://www.designcodeexecute.com/2010/05/06/phpmyadmin-show-blank-white-page-on-ubuntu/#comments</comments>
		<pubDate>Fri, 07 May 2010 00:49:20 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Unbuntu]]></category>
		<category><![CDATA[blank page]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[slicehost]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/?p=214</guid>
		<description><![CDATA[On one of my slices, my phpmyadmin shows a blank page every so often. This is caused by a remote code execution exploit. You&#8217;re getting hacked, but don&#8217;t be scared. The bug/hack is single line in the file /var/lib/phpmyadmin/config.inc.php, which was corrupted. Here is the whole file: /* * Generated configuration file * Version: $Id: [...]]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2010/05/06/phpmyadmin-show-blank-white-page-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strip HTTP:// www. and/or suffixes from URL with PHP</title>
		<link>http://www.designcodeexecute.com/2010/03/01/strip-http-www-andor-suffices-from-url-with-php/</link>
		<comments>http://www.designcodeexecute.com/2010/03/01/strip-http-www-andor-suffices-from-url-with-php/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 18:33:37 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[str replace array]]></category>
		<category><![CDATA[strip http]]></category>
		<category><![CDATA[strip www]]></category>
		<category><![CDATA[url strip http]]></category>
		<category><![CDATA[url strip suffixes]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/2010/03/01/strip-http-www-andor-suffices-from-url-with-php/</guid>
		<description><![CDATA[This code shows how to strip http, www, or any suffixes like .com or .co.uk etc.]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2010/03/01/strip-http-www-andor-suffices-from-url-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Case sensitive and Case insensitive search with Match and Like</title>
		<link>http://www.designcodeexecute.com/2008/04/03/mysql-case-sensitive-and-case-insensitive-search-with-match-and-like/</link>
		<comments>http://www.designcodeexecute.com/2008/04/03/mysql-case-sensitive-and-case-insensitive-search-with-match-and-like/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 23:14:10 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Case sensitive]]></category>
		<category><![CDATA[insensitive search]]></category>
		<category><![CDATA[mysql statement]]></category>
		<category><![CDATA[php mysql search query]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/2008/04/03/mysql-case-sensitive-and-case-insensitive-search-with-match-and-like/</guid>
		<description><![CDATA[This post teaches you how to set your MySQL search queries to be Case sensitive or case insensitive.]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2008/04/03/mysql-case-sensitive-and-case-insensitive-search-with-match-and-like/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove the file extension: Stripping the String, PHP substr() function</title>
		<link>http://www.designcodeexecute.com/2008/02/27/how-to-remove-the-file-extension-stripping-the-string-php-substr-function/</link>
		<comments>http://www.designcodeexecute.com/2008/02/27/how-to-remove-the-file-extension-stripping-the-string-php-substr-function/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 06:41:26 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[how to strip file extension]]></category>
		<category><![CDATA[php remove extension]]></category>
		<category><![CDATA[strip extension php]]></category>
		<category><![CDATA[strip file extension]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/2008/02/27/how-to-remove-the-file-extension-stripping-the-string-php-substr-function/</guid>
		<description><![CDATA[Striping the file extension is valuable on many levels. &#60;?php $filename = foobar.exe function returnFileName($fileName) { return key(explode(&#8220;.&#8221;, $fileName)); } // returns foobar function returnFileExtension($fileName) { return end(explode(&#8220;.&#8221;, $fileName)); } // returns exe ?&#62; Result: foobar Note: Spaces count, so count them!]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2008/02/27/how-to-remove-the-file-extension-stripping-the-string-php-substr-function/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>HTML POST PHP Array Debbugging code that tests passing variables</title>
		<link>http://www.designcodeexecute.com/2008/02/25/php-debbugging-code/</link>
		<comments>http://www.designcodeexecute.com/2008/02/25/php-debbugging-code/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 07:28:13 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[form debugging]]></category>
		<category><![CDATA[html form]]></category>
		<category><![CDATA[php debugging]]></category>
		<category><![CDATA[php post debbugging]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/2008/02/25/php-debbugging-code/</guid>
		<description><![CDATA[Great PHP code that displays how the arrays break down when passing from HTML forms to $_POST variables. echo &#8220;&#60;pre&#62;&#8221;; print_r ($_POST); print_r ($_FILES); echo &#8220;&#60;/pre&#62;&#8221;; This helps when juggling multiple files or big database entries.]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2008/02/25/php-debbugging-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Javascript Array with PHP from a MySQL Database Table</title>
		<link>http://www.designcodeexecute.com/2008/02/08/create-javascript-array-with-php-mysql/</link>
		<comments>http://www.designcodeexecute.com/2008/02/08/create-javascript-array-with-php-mysql/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 16:08:45 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[create array]]></category>
		<category><![CDATA[create javascript array]]></category>
		<category><![CDATA[javascript array database]]></category>
		<category><![CDATA[php javascrip array]]></category>
		<category><![CDATA[php mysql make a javascrip array]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/2008/02/08/create-javascript-array-with-php-mysql/</guid>
		<description><![CDATA[Wrote this function to check email addresses already in a database, so I dont have to change pages, and check with javascript. Problem: it exposes your whole email list to the public in the source code, and the source code can become a monster length. So it isnt practical, but it works. (I&#8217;m not using [...]]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2008/02/08/create-javascript-array-with-php-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP MySQL Count Query Using Where Clause</title>
		<link>http://www.designcodeexecute.com/2007/10/10/php-mysql-count-query-using-where-clause/</link>
		<comments>http://www.designcodeexecute.com/2007/10/10/php-mysql-count-query-using-where-clause/#comments</comments>
		<pubDate>Thu, 11 Oct 2007 01:33:11 +0000</pubDate>
		<dc:creator>ardeay</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.designcodeexecute.com/2007/10/10/php-mysql-count-query-using-where-clause/</guid>
		<description><![CDATA[Here is an example of a function that was created to count the number of book spreads attached to a certain book number. The problem was there were more than one book number attached to a whole table of bookspreads. By using SQL COUNT and WHERE it is possible to find the total count of [...]]]></description>
		<wfw:commentRss>http://www.designcodeexecute.com/2007/10/10/php-mysql-count-query-using-where-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

