<?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>Tech-Recipes &#187; PHP programming</title>
	<atom:link href="http://www.tech-recipes.com/category/computer-programming/web-application-programming/php-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:13:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP: Camel Case to Spaces or Underscore</title>
		<link>http://www.tech-recipes.com/rx/5626/php-camel-case-to-spaces-or-underscore/</link>
		<comments>http://www.tech-recipes.com/rx/5626/php-camel-case-to-spaces-or-underscore/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 14:40:47 +0000</pubDate>
		<dc:creator>David Kirk</dc:creator>
				<category><![CDATA[PHP programming]]></category>
		<category><![CDATA[camel]]></category>
		<category><![CDATA[case]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[preg_replace]]></category>

		<guid isPermaLink="false">http://www.tech-recipes.com/?p=5626</guid>
		<description><![CDATA[Recently while working on a project, I found I needed to convert camelcase strings to space-separated strings.  This same technique will work if you want to convert camelcase to underscore separation as well.

Camel case is frequently used in programming and data storage.  Here are a couple of ways to convert it.  As [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/5626/php-camel-case-to-spaces-or-underscore/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pear Fix for &#8220;Error: Unable to Unpack&#8221;</title>
		<link>http://www.tech-recipes.com/rx/3944/pear-fix-for-error-unable-to-unpack/</link>
		<comments>http://www.tech-recipes.com/rx/3944/pear-fix-for-error-unable-to-unpack/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 22:41:25 +0000</pubDate>
		<dc:creator>David Kirk</dc:creator>
				<category><![CDATA[PHP programming]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[unpack]]></category>

		<guid isPermaLink="false">http://www.tech-recipes.com/?p=3944</guid>
		<description><![CDATA[Recently while trying to install some Pear packages, I received an odd &#8220;Error: Unable to Unpack&#8221; message.  A search for this error message found a lot of complaining people and not a lot of answers.  I finally figured out the cause and the fix for this common Pear problem.

Here are combined transcripts of [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/3944/pear-fix-for-error-unable-to-unpack/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP: Upload Files to the Server</title>
		<link>http://www.tech-recipes.com/rx/3112/php-upload-files-to-the-server-2/</link>
		<comments>http://www.tech-recipes.com/rx/3112/php-upload-files-to-the-server-2/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 03:29:26 +0000</pubDate>
		<dc:creator>William_Wilson</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">http://www.tech-recipes.com/?p=3112</guid>
		<description><![CDATA[With PHP, it is simple to upload any file to your server.

uploader.php

&#60;?php
$target_path = "uploads/";
$target_path = $target_path . basename( $_FILES['uploadedfile']['name']);
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo "The file ". basename( $_FILES['uploadedfile']['name']). " has been uploaded";
} else{
    echo "There was an error uploading the file, please try again!";
}?&#62;

The form used to apply this uploading:

&#60;form [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/3112/php-upload-files-to-the-server-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>PHP: Print the current year for copyright notices</title>
		<link>http://www.tech-recipes.com/rx/2815/php_print_the_current_year_for_copyright_notices/</link>
		<comments>http://www.tech-recipes.com/rx/2815/php_print_the_current_year_for_copyright_notices/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 18:30:52 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[PHP programming]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[year]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Hardcoding the year in a copyright notice is an easy way to get a blog or other website started, just placing the starting and ending years next to the copyright symbol.  We have the very best of intentions to change this number right after the big ball drops in Times Square each year.  [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/2815/php_print_the_current_year_for_copyright_notices/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Make Wordpress Stop Replacing Double Dash with Em-dash</title>
		<link>http://www.tech-recipes.com/rx/1865/wordpress_stop_replacing_double_dash_em_dash/</link>
		<comments>http://www.tech-recipes.com/rx/1865/wordpress_stop_replacing_double_dash_em_dash/#comments</comments>
		<pubDate>Mon, 20 Nov 2006 13:18:13 +0000</pubDate>
		<dc:creator>johnnythawte</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Wordpress by default replaces the double dash (&#8211;) with an em-dash character. If you are showing code or programming examples this will cause your visitors unnecessary confusion. This recipe shows the simple way to turn that behavior off.

This problem is occurring because Wordpress automatically runs a bunch of filters on your content before displaying it [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1865/wordpress_stop_replacing_double_dash_em_dash/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP: Delete or expire a browser cookie</title>
		<link>http://www.tech-recipes.com/rx/1501/php_delete_or_expire_a_browser_cookie/</link>
		<comments>http://www.tech-recipes.com/rx/1501/php_delete_or_expire_a_browser_cookie/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 22:47:34 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Cookies may be created with an expiration time.  It may become necessary to expire a cookie before the expiration time such as when a user logs out of a cookie-based authentication web application.  This recipe describes expiring a cookie.

Expiring a cookie uses the same command as creating a cookie.  The cookie value [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1501/php_delete_or_expire_a_browser_cookie/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>PHP: Read a browser cookie value</title>
		<link>http://www.tech-recipes.com/rx/1500/php-read-a-browser-cookie-value/</link>
		<comments>http://www.tech-recipes.com/rx/1500/php-read-a-browser-cookie-value/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 15:09:12 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Once your web application has set a cookie in a user&#8217;s browser, it is a simple matter to retrieve that value in subsequent page requests.  This recipe describes reading a value from a cookie in PHP.

After a cookie with a name of &#8216;user&#8217; has been set in a previous page, the value can be [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1500/php-read-a-browser-cookie-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Set or create a simple browser cookie with setcookie</title>
		<link>http://www.tech-recipes.com/rx/1499/php-set-or-create-a-simple-browser-cookie-with-setcookie/</link>
		<comments>http://www.tech-recipes.com/rx/1499/php-set-or-create-a-simple-browser-cookie-with-setcookie/#comments</comments>
		<pubDate>Fri, 14 Jul 2006 14:18:56 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Web applications overcome the lack of session support in the HTTP protocol primarily through the use of cookies.  Transparent to the user and simple for the web developer, cookies provide the foundation of keeping up with who a web user is, where they&#8217;ve been, and what they had for lunch.  Well, who and [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1499/php-set-or-create-a-simple-browser-cookie-with-setcookie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Rename or move a file on the server</title>
		<link>http://www.tech-recipes.com/rx/1492/php-rename-or-move-a-file-on-the-server/</link>
		<comments>http://www.tech-recipes.com/rx/1492/php-rename-or-move-a-file-on-the-server/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 16:16:36 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[Working with server-side files with PHP adds a great deal of flexibility to some applications.  A common scenario when working with files involves creating a temporary file through uploading or other means and then renaming this file to a permanent location.  This recipe describes changing the name of an existing file using the [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1492/php-rename-or-move-a-file-on-the-server/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>PHP: Delete or unlink a file on the server</title>
		<link>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/</link>
		<comments>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 15:19:15 +0000</pubDate>
		<dc:creator>qmchenry</dc:creator>
				<category><![CDATA[PHP programming]]></category>

		<guid isPermaLink="false">guid-fix-me!</guid>
		<description><![CDATA[PHP has the capacity to work with server-side files in many ways creating, opening, reading, and writing.  When you are done with a file, it is a simple matter to delete it using a PHP script.

When a file is no longer needed on the server, as with temporary files, it can be deleted using [...]]]></description>
		<wfw:commentRss>http://www.tech-recipes.com/rx/1490/php_delete_or_unlink_a_file_on_the_server/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 5/11 queries in 0.623 seconds using memcached
Object Caching 570/609 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 09:33:45 -->
