
<?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>Vidal Quevedo &#187; PHP</title>
	<atom:link href="http://www.vidalquevedo.com/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vidalquevedo.com</link>
	<description></description>
	<lastBuildDate>Tue, 20 Dec 2011 18:02:09 +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>WordPress: how to automatically convert custom fields to post tags</title>
		<link>http://www.vidalquevedo.com/wordpress-how-to-automatically-convert-custom-fields-to-post-tags</link>
		<comments>http://www.vidalquevedo.com/wordpress-how-to-automatically-convert-custom-fields-to-post-tags#comments</comments>
		<pubDate>Mon, 26 Sep 2011 14:19:43 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[stackoverflow]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1416</guid>
		<description><![CDATA[Convert your post's custom fields into tags automatically in WordPress with this nifty script!!!]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/wordpress-how-to-automatically-convert-custom-fields-to-post-tags/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to add the excerpt box for pages in WordPress</title>
		<link>http://www.vidalquevedo.com/how-to-add-an-excerpt-meta-box-for-pages-in-wordpress</link>
		<comments>http://www.vidalquevedo.com/how-to-add-an-excerpt-meta-box-for-pages-in-wordpress#comments</comments>
		<pubDate>Wed, 27 Jul 2011 22:01:26 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1344</guid>
		<description><![CDATA[Here's how to enable the "excerpt" box for your WordPress pages.]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/how-to-add-an-excerpt-meta-box-for-pages-in-wordpress/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WordPress: How to run PHP scripts only when logged in as admin</title>
		<link>http://www.vidalquevedo.com/how-to-run-php-scripts-only-when-logged-in-as-admin</link>
		<comments>http://www.vidalquevedo.com/how-to-run-php-scripts-only-when-logged-in-as-admin#comments</comments>
		<pubDate>Fri, 15 Jul 2011 02:27:13 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[useful]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1230</guid>
		<description><![CDATA[Here's a new tiny function that will help you run PHP code in WordPress only when you (or other admin-level users) are logged in.]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/how-to-run-php-scripts-only-when-logged-in-as-admin/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lesson learned: You can&#8217;t access DOM elements within an external iFrame</title>
		<link>http://www.vidalquevedo.com/lesson-learned-you-cant-access-dom-elements-within-an-external-iframe</link>
		<comments>http://www.vidalquevedo.com/lesson-learned-you-cant-access-dom-elements-within-an-external-iframe#comments</comments>
		<pubDate>Wed, 13 Apr 2011 16:14:20 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[helpful]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[lesson learned]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1197</guid>
		<description><![CDATA[That's right, you CAN'T!]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/lesson-learned-you-cant-access-dom-elements-within-an-external-iframe/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP &#8211; Safely serialize and unserialze arrays</title>
		<link>http://www.vidalquevedo.com/php-safely-serialize-and-unserialze-arrays</link>
		<comments>http://www.vidalquevedo.com/php-safely-serialize-and-unserialze-arrays#comments</comments>
		<pubDate>Thu, 14 Oct 2010 15:05:31 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[helpful]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1114</guid>
		<description><![CDATA[Serializing arrays in PHP is a great way to format their content before storing it in a database. However, if the serialized content has certain characters (such as &#8220;;&#8221; or &#8220;:&#8221;)  the resulting string won&#8217;t be read correctly by the unserialize() function,  which is a huge bummer. So, here&#8217;s a workaround. http://davidwalsh.name/php-serialize-unserialize-issues]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/php-safely-serialize-and-unserialze-arrays/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect IE6 with PHP</title>
		<link>http://www.vidalquevedo.com/detect-ie6-with-php</link>
		<comments>http://www.vidalquevedo.com/detect-ie6-with-php#comments</comments>
		<pubDate>Sat, 24 Jul 2010 03:32:29 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1071</guid>
		<description><![CDATA[Let's say you want to server-side detect whether a user's browser is the dreaded IE6 using PHP (instead of on the client side, which is usually done with conditional comments). Here's how.]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/detect-ie6-with-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to automatically add tags to WordPress posts</title>
		<link>http://www.vidalquevedo.com/how-to-add-tags</link>
		<comments>http://www.vidalquevedo.com/how-to-add-tags#comments</comments>
		<pubDate>Wed, 16 Jun 2010 03:40:26 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/?p=1033</guid>
		<description><![CDATA[In WordPress, if you need to automatically add tags to a post via a PHP script, the best way to do it is via the wp_set_object_terms() function. There is no handy "wp_insert_tag()" function, or something like that, so look no further.]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/how-to-add-tags/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>How to automatically login a user into WordPress</title>
		<link>http://www.vidalquevedo.com/how-to-login-automatically</link>
		<comments>http://www.vidalquevedo.com/how-to-login-automatically#comments</comments>
		<pubDate>Mon, 14 Jun 2010 20:54:51 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/how-to-login-automatically</guid>
		<description><![CDATA[When developing for WordPress, sometimes you may need to create a PHP script that will automatically login a user so you can enable user functions. The WorpPress function wp_singon() is the perfect solution.]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/how-to-login-automatically/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get the ID of the last insert post in WordPress</title>
		<link>http://www.vidalquevedo.com/how-to-get-last-insert-id</link>
		<comments>http://www.vidalquevedo.com/how-to-get-last-insert-id#comments</comments>
		<pubDate>Mon, 14 Jun 2010 20:53:40 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/how-to-get-last-insert-id</guid>
		<description><![CDATA[When programming for WordPress, sometimes you may need to get the ID of the last post that was inserted to the database (à la MySQL's 'LAST_INSERT_ID').  Here's the thing: the wp_insert_post()  function returns the newly inserted post's ID, so you can use it to perform more stuff on the post right away, without having to mess around with any SQL commands to retrieve it. Clever, huh?]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/how-to-get-last-insert-id/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

