<?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>Joys of Programming &#187; PHP</title>
	<atom:link href="http://joysofprogramming.com/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://joysofprogramming.com</link>
	<description>Programming made simpler, easier and Joyful experience</description>
	<lastBuildDate>Mon, 30 Jan 2012 14:11:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP: Download Web Page using file_get_contents</title>
		<link>http://joysofprogramming.com/php-download-web-page-using-file_get_contents/</link>
		<comments>http://joysofprogramming.com/php-download-web-page-using-file_get_contents/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 11:15:16 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[php file_get_contents]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60721</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60721&c=512182762' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60721&c=512182762' border='0' alt='' /></a></p><br />You can use curl to download a webpage in PHP. It is also possible to download a web page using file_get_contents(). In the above example, we try to download the web page of Mozilla. Let&#8217;s try to download a non existing web page We find the following error<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60721&c=757442097' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60721&c=757442097' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/php-download-web-page-using-file_get_contents/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP: Associative Arrays</title>
		<link>http://joysofprogramming.com/php-associative-arrays/</link>
		<comments>http://joysofprogramming.com/php-associative-arrays/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 14:44:44 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP arrays]]></category>
		<category><![CDATA[php associate arrays]]></category>
		<category><![CDATA[php key value pair]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60662</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60662&c=1663765435' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60662&c=1663765435' border='0' alt='' /></a></p><br />Arrays in PHP are different from other programming languages like C/C++? Java that they allow heterogenous elements and support negative index. Associative arrays are like the hashmaps or the key value pairs. In case of associate arrays, the indices can be strings. They are called associative arrays because you associate a string to another value [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60662&c=1031733082' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60662&c=1031733082' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/php-associative-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Arrays: Initialization with Set of Elements</title>
		<link>http://joysofprogramming.com/php-arrays-initialization-set/</link>
		<comments>http://joysofprogramming.com/php-arrays-initialization-set/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 12:47:47 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php array initialization]]></category>
		<category><![CDATA[PHP arrays]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60647</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60647&c=1544199749' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60647&c=1544199749' border='0' alt='' /></a></p><br />It is possible to insert elements into the array one by one. But in some cases, we know the elements of an array before hand. In such cases, we can make use of the function array(). The elements to be inserted can be specified as parameters to the array. You will notice that the elements [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60647&c=314723447' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60647&c=314723447' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/php-arrays-initialization-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Arrays: Negative Index</title>
		<link>http://joysofprogramming.com/php-arrays-negative-index/</link>
		<comments>http://joysofprogramming.com/php-arrays-negative-index/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 12:07:11 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP arrays]]></category>
		<category><![CDATA[php arrays negative index]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60642</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60642&c=1025334442' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60642&c=1025334442' border='0' alt='' /></a></p><br />We see that arrays in PHP can have heterogenous elements and the elements can be inserted at any position of choice. But what we have seen is the possibility of using positive numbers as index (position). But it is also possible to use negative numbers as index. Let&#8217;s take a look at the example We [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60642&c=61377583' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60642&c=61377583' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/php-arrays-negative-index/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boolean Variables in PHP</title>
		<link>http://joysofprogramming.com/boolean-variables-in-php/</link>
		<comments>http://joysofprogramming.com/boolean-variables-in-php/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 09:17:16 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP boolean variables]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60632</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60632&c=1764271960' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60632&c=1764271960' border='0' alt='' /></a></p><br />As discussed in Variables in PHP, there is no need to specify the type of a variable in PHP. So, if you want to use the boolean variable in PHP, just specify the value A boolean variable can take the following values true, false, TRUE, FALSE. And the name suggests their meanings, Let&#8217;s use them [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60632&c=1895736180' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60632&c=1895736180' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/boolean-variables-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Variables in PHP: Declaration and Printing</title>
		<link>http://joysofprogramming.com/php-variables-declaration-printing/</link>
		<comments>http://joysofprogramming.com/php-variables-declaration-printing/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 13:11:49 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php double quotes]]></category>
		<category><![CDATA[php single quotes]]></category>
		<category><![CDATA[php variables]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60623</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60623&c=2077269073' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60623&c=2077269073' border='0' alt='' /></a></p><br />The variables in PHP are simply declared as Take for example Now you notice that we did not explicitly specify the type of the variable like many programming languages (C, C++, Java). In PHP, you don&#8217;t have to declare types. Let&#8217;s see a floating point number. Now let&#8217;s see how we can print the variables [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60623&c=1534685561' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60623&c=1534685561' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/php-variables-declaration-printing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP in Eclipse Error: The session could not be started.</title>
		<link>http://joysofprogramming.com/php-in-eclipse-error-the-session-could-not-be-started/</link>
		<comments>http://joysofprogramming.com/php-in-eclipse-error-the-session-could-not-be-started/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 21:19:21 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php xdebug]]></category>
		<category><![CDATA[php zend]]></category>
		<category><![CDATA[xdebug]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/?p=60588</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60588&c=1373616399' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60588&c=1373616399' border='0' alt='' /></a></p><br />If you are trying to run PHP in Eclipse, you may encounter the following error The session could not be started.&#160;In&#160;order to generate debug information, please make sure that the debugger is&#160;properly configured as a php.ini directive. This is because you need to install a debugger in your system. There are two options available. Xdebug [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60588&c=1390129841' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=60588&c=1390129841' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/php-in-eclipse-error-the-session-could-not-be-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install libapache2-mod-php5filter in Ubuntu/Linux?</title>
		<link>http://joysofprogramming.com/install-libapache2-mod-php5filter-ubuntu/</link>
		<comments>http://joysofprogramming.com/install-libapache2-mod-php5filter-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 17:29:23 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[install libapache2-mod-php5filter ubuntu]]></category>
		<category><![CDATA[libapache2-mod-php5filter]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/install-libapache2-mod-php5filter-ubuntu/</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12798&c=1687663228' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12798&c=1687663228' border='0' alt='' /></a></p><br />This package provides the PHP5 Filter module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache&#8217;s prefork MPM, as it is not compiled thread-safe. Unless you specifically need filter-module support, you most likely should instead install libapache2-mod-php5. The following extensions are built in: bcmath [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12798&c=17283530' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12798&c=17283530' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/install-libapache2-mod-php5filter-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install libapache2-mod-php5 in Ubuntu/Linux?</title>
		<link>http://joysofprogramming.com/install-libapache2-mod-php5-ubuntu/</link>
		<comments>http://joysofprogramming.com/install-libapache2-mod-php5-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 17:29:19 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[install libapache2-mod-php5 ubuntu]]></category>
		<category><![CDATA[libapache2-mod-php5]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/install-libapache2-mod-php5-ubuntu/</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12797&c=1757131370' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12797&c=1757131370' border='0' alt='' /></a></p><br />This package provides the PHP5 module for the Apache 2 webserver (as found in the apache2-mpm-prefork package). Please note that this package ONLY works with Apache&#8217;s prefork MPM, as it is not compiled thread-safe. The following extensions are built in: bcmath bz2 calendar Core ctype date dba dom ereg exif fileinfo filter ftp gettext hash [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12797&c=1861568781' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12797&c=1861568781' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/install-libapache2-mod-php5-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install zabbix-frontend-php in Ubuntu/Linux?</title>
		<link>http://joysofprogramming.com/install-zabbix-frontend-php-ubuntu/</link>
		<comments>http://joysofprogramming.com/install-zabbix-frontend-php-ubuntu/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 17:29:16 +0000</pubDate>
		<dc:creator>Joys of Programming</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[install zabbix-frontend-php ubuntu]]></category>
		<category><![CDATA[zabbix-frontend-php]]></category>

		<guid isPermaLink="false">http://joysofprogramming.com/install-zabbix-frontend-php-ubuntu/</guid>
		<description><![CDATA[<p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12796&c=828535788' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12796&c=828535788' border='0' alt='' /></a></p><br />Zabbix is a server/client network monitoring system with many features. It can be used for: &#8211; high level monitoring of IT services; &#8211; centralized monitoring of your servers and applications; &#8211; monitoring of SNMP-enabled devices; &#8211; performance monitoring (process load, network activity, disk activity, memory usage, OS parameters etc.); &#8211; data visualization. This package provides [...]<br /><p><a href='http://rss.buysellads.com/click.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12796&c=1253550811' target='_blank' rel='nofollow'>
				<img src='http://rss.buysellads.com/img.php?z=1269089&k=23c392ff10b5df99bd4d1ca43340de34&a=12796&c=1253550811' border='0' alt='' /></a></p>]]></description>
		<wfw:commentRss>http://joysofprogramming.com/install-zabbix-frontend-php-ubuntu/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  joysofprogramming.com/tag/php/feed/ ) in 1.09015 seconds, on Feb 4th, 2012 at 3:27 pm UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 4th, 2012 at 4:27 pm UTC -->
