<?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>PHP Tutorials and code &#187; Useful PHP</title>
	<atom:link href="http://readytousesolutions.com/phpblog/category/usefull-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://readytousesolutions.com/phpblog</link>
	<description>PHP tutorials - Examples of the most useful scripts</description>
	<lastBuildDate>Thu, 22 Jul 2010 07:34:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP Tutorial : Validate email address &#8211; simple way with filter_var() function</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-validate-email-address-simple-way-with-filter_var-function/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-validate-email-address-simple-way-with-filter_var-function/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 07:39:53 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[php filter_var() function]]></category>
		<category><![CDATA[php validate email address]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=337</guid>
		<description><![CDATA[While browsing php.net without any scope I discovered a very cute &#38; nice way to replace the usual regular expression email checking thing.
That way is via filter_var() php function which does the things 10 times faster :

&#60;?php
$email = "someone@example.com";

if (!filter_var($email, FILTER_VALIDATE_EMAIL)) {
echo "Invalid email address";
}
?&#62;

]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-validate-email-address-simple-way-with-filter_var-function/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Dynamically create an image from any text in PHP</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-write-text-and-convert-into-image/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-write-text-and-convert-into-image/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 05:07:19 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[php convert text into image]]></category>
		<category><![CDATA[php email to image]]></category>
		<category><![CDATA[php merge text into image]]></category>
		<category><![CDATA[php write text to an image]]></category>
		<category><![CDATA[php write to image]]></category>
		<category><![CDATA[Write text and convert into image]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=328</guid>
		<description><![CDATA[My goal when I did this quick script was to use php to convert text into images, so that email addresses could be dynamically inserted into pages, making spam harvesters&#8217; life a little harder.  
Of course it has many more uses, one of them being to avoid web spiders from fetching a specific word................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-write-text-and-convert-into-image/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Find Browser Name and Capabilities in PHP</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-get-browser-name-its-capabilities/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-get-browser-name-its-capabilities/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 05:34:49 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[php browser name]]></category>
		<category><![CDATA[php detect visitor browser]]></category>
		<category><![CDATA[php get browser]]></category>
		<category><![CDATA[php get browser capabilities]]></category>
		<category><![CDATA[php get user browser]]></category>
		<category><![CDATA[php get user browser name]]></category>
		<category><![CDATA[php get_browser]]></category>
		<category><![CDATA[php get_browser() function]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=326</guid>
		<description><![CDATA[To get the browser name just use this line:

&#60;?php
print $_SERVER['HTTP_USER_AGENT'];
?&#62;

And to get all the browser&#8217;s features use:

&#60;?php
print_r(get_browser(null, true));//null for user agent and true to receive an array

?&#62;

]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-get-browser-name-its-capabilities/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Country list array</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-country-list-array/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-country-list-array/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 07:21:31 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[countries array]]></category>
		<category><![CDATA[country array]]></category>
		<category><![CDATA[php countries]]></category>
		<category><![CDATA[php countries array]]></category>
		<category><![CDATA[php country array]]></category>
		<category><![CDATA[php country drop down]]></category>
		<category><![CDATA[php country list]]></category>
		<category><![CDATA[php country list array]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=304</guid>
		<description><![CDATA[In my point of view, a very useful and common thing we need when we build for example a membership site it&#8217;s country list array. I will do it within next function then will show how to use it :
Click here to get the function
And here&#8217;s how to use it for example to generate a................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-country-list-array/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : List function</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-list-function/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-list-function/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 05:14:52 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[assign variables]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[php convert string into variable]]></category>
		<category><![CDATA[php list]]></category>
		<category><![CDATA[php list function]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=298</guid>
		<description><![CDATA[Beeing surprised that I didn&#8217;t write here about this &#8220;cute&#8221; php function called list(). I like it a lot, it&#8217;s like the extract() function in some way if you remember.
The list() php function will assign variables in one shot to strings from arrays.

&#60;?php
//here&#039;s the php array

$countingArray = array(1,2,3);
//here, the list function will convert 1 to................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-list-function/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Get Protocol</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-get-protocol/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-get-protocol/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 19:10:08 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[detect protocol]]></category>
		<category><![CDATA[get protocol]]></category>
		<category><![CDATA[php detect protocol]]></category>
		<category><![CDATA[php get protocol]]></category>
		<category><![CDATA[php protocol]]></category>
		<category><![CDATA[protocol]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=246</guid>
		<description><![CDATA[I saw this problem/question on a few forums and I finded it useful to post on my blog too due to low results on google that gives you what you need. So,  how to get the protocol of a URL using php?  Have a look :

&#60;?php
$protocol = strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,5))=='https'?'https':'http';

print "The protocol is $protocol";
?&#62;

Tadaaa!
]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-get-protocol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Ctype character type checking</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-ctype-character-type-checking/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-ctype-character-type-checking/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 07:38:36 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[character type checking]]></category>
		<category><![CDATA[check character type]]></category>
		<category><![CDATA[ctype]]></category>
		<category><![CDATA[ctype_alnum]]></category>
		<category><![CDATA[ctype_alpha]]></category>
		<category><![CDATA[ctype_cntrl]]></category>
		<category><![CDATA[ctype_digit]]></category>
		<category><![CDATA[ctype_graph]]></category>
		<category><![CDATA[ctype_lower]]></category>
		<category><![CDATA[ctype_print]]></category>
		<category><![CDATA[ctype_punct]]></category>
		<category><![CDATA[ctype_space]]></category>
		<category><![CDATA[ctype_upper]]></category>
		<category><![CDATA[ctype_xdigit]]></category>
		<category><![CDATA[php character type]]></category>
		<category><![CDATA[php ctype]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=240</guid>
		<description><![CDATA[Happy 1st June for those under 18
Yesterday I&#8217;ve found a nice function in php called ctype. And? What it does? Well, I see it as a replacement for regular expressions. PHP Ctype function checks for character type. Let&#8217;s hear the chars type we can check with that nice function  :

alphanumeric characters &#8211; ctype_alnum()
alphabetic characters     ................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-ctype-character-type-checking/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Get line number</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/#comments</comments>
		<pubDate>Sun, 31 May 2009 06:17:20 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[built-in constant]]></category>
		<category><![CDATA[php constants]]></category>
		<category><![CDATA[php get line number]]></category>
		<category><![CDATA[php line number]]></category>
		<category><![CDATA[_LINE_]]></category>
		<category><![CDATA[_LINE_ already defined constant]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=236</guid>
		<description><![CDATA[As you might know, PHP Server comes with built-in / already defined constants. Today I&#8217;ve been discovering a nice one which gets the line number in a file for you. This may be very usefull in a lot of cases, like a custom error system, debugging and not only. That CONSTANT is called simply _LINE_

&#60;?php

print................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-get-line-number/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Extract function</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-extract-function/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-extract-function/#comments</comments>
		<pubDate>Thu, 14 May 2009 06:54:21 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[array keys to variables]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[php extract]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=211</guid>
		<description><![CDATA[A shame for me but I must tell you this function called extract() simply rocks : it will extract &#8220;keys&#8221; from an array and convert them into variables, so no more needed to manually declare variables for validation purposes from forms.

&#60;form action=&#34;&#34; method=&#34;post&#34;&#62;
name &#60;input type=&#34;text&#34; name=&#34;name&#34;&#62;&#60;br/&#62;
email &#60;input type=&#34;text&#34; name=&#34;email&#34;&#62;&#60;br/&#62;
&#60;input type=&#34;submit&#34; name=&#34;sb&#34; id=&#34;sb&#34; value=&#34;go&#34;&#62;
&#60;/form&#62;
&#60;?php

if(isset($_POST['sb'])) {
extract($_POST);

if(empty($name) &#124;&#124;................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-extract-function/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>PHP Tutorial : Create a RSS / XMLS Feed</title>
		<link>http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/</link>
		<comments>http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 06:37:39 +0000</pubDate>
		<dc:creator>PHP Tutorials and Help</dc:creator>
				<category><![CDATA[Useful PHP]]></category>
		<category><![CDATA[dynamic feed]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[php dynamic feed]]></category>
		<category><![CDATA[php dynamic rss xml feed]]></category>
		<category><![CDATA[php feed]]></category>
		<category><![CDATA[php feed header]]></category>
		<category><![CDATA[php header]]></category>
		<category><![CDATA[php rss xml feed]]></category>
		<category><![CDATA[php xml feed]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[rss header]]></category>
		<category><![CDATA[rss xml feed]]></category>
		<category><![CDATA[xml feed]]></category>
		<category><![CDATA[xml header]]></category>

		<guid isPermaLink="false">http://readytousesolutions.com/phpblog/?p=172</guid>
		<description><![CDATA[Welcome,
In this tutorial I will show you how to create a basic rss / xml feed with php. Basically, if you know how to create a feed in notepad, wordpad or whatever text editor, this will be easy. The difference between creating a php xml / rss feed and a &#8220;normal&#8221; one it&#8217;s that you................]]></description>
		<wfw:commentRss>http://readytousesolutions.com/phpblog/php-tutorial-create-a-rss-xmls-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
