<?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>SitePoint &#187; PHP</title> <atom:link href="http://www.sitepoint.com/category/tech/php/feed/" rel="self" type="application/rss+xml" /><link>http://www.sitepoint.com</link> <description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description> <lastBuildDate>Thu, 09 Feb 2012 15:44:53 +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 Create Your Own Random Number Generator in PHP</title><link>http://www.sitepoint.com/php-random-number-generator/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-random-number-generator</link> <comments>http://www.sitepoint.com/php-random-number-generator/#comments</comments> <pubDate>Wed, 08 Feb 2012 15:50:17 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[random]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=50865</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/631-psuedo-random-php-50x50.png" class="attachment-thumbnail wp-post-image" alt="631-psuedo-random-php" title="631-psuedo-random-php" />Craig explains how you can write your own random number generator in PHP - and why you'd want to do that given that PHP has its own random generation functions.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/631-psuedo-random-php-50x50.png" class="attachment-thumbnail wp-post-image" alt="631-psuedo-random-php" title="631-psuedo-random-php" /><p></p><p>Computers cannot generate random numbers. A machine which works in ones and zeros is unable to magically invent its own stream of random data. However, computers can implement mathematical algorithms which produce pseudo-random numbers. They look like random numbers. They feel like random distributions. But they&#8217;re fake; the same sequence of digits is generated if you run the algorithm twice.</p><h2>Planting Random Seeds</h2><p>To increase the apparent randomness, most algorithms can be passed a seed &#8212; an initialization number for the random sequence. Passing the same seed twice will still generate the same set of random numbers but you can set the seed based on external input factors. The easiest option is the current time but it can be anything; the last keypress, a mouse movement, the temperature, the number of hours wasted on YouTube, or any other factor.</p><h2>Random PHP Functions</h2><p>PHP offers a number of random number functions. The main ones are:</p><ol><li><p><a
href="http://php.net/manual/en/function.rand.php">rand()</a> and the more efficient <a
href="http://www.php.net/manual/en/function.mt-rand.php">mt_rand()</a> function. Both return a random number between zero and <a
href="http://www.php.net/manual/en/function.getrandmax.php">getrandmax()</a>/<a
href="http://www.php.net/manual/en/function.mt-getrandmax.php">mt_getrandmax()</a>. Alternatively, you can pass minimum and maximum parameters:<div>  <script type='text/javascript'>GA_googleFillSlot("InArticle_728x90_1");</script> </div></p><pre><code>
// random number between 0 and 10 (inclusive)
echo mt_rand(0, 10);
</code></pre></li><li><p><a
href="http://www.php.net/manual/en/function.srand.php">srand($seed)</a> and <a
href="http://www.php.net/manual/en/function.mt-srand.php">mt_srand($seed)</a> to set a random number seed. This has been done automatically since PHP 4.2.0.</p></li></ol><h2>PHP is Too Random!</h2><p>There are instances when creating a repeatable list of pseudo-random numbers is useful. It&#8217;s often used for security or verification purposes, e.g. encrypting a password before it&#8217;s transmitted or generating a hash code for a set of data. Unfortunately, PHP can be a little <em>too</em> random. A generated sequence will depend on your hosting platform and version of PHP. In other words, you can&#8217;t guarantee the same &#8216;random&#8217; sequence will be generated twice on two different machines even if the same seed is used.</p><h2>Rolling Your Own Random Class</h2><p>Fortunately, we can write our own random number generator. You&#8217;ll find many algorithms on the web, but this is one of the shortest and fastest. First, we initialize our class and a random seed variable:</p><pre><code>
class Random {
	// random seed
	private static $RSeed = 0;
</code></pre><p>Next we have a seed() function for setting a new seed value. For the algorithm to work correctly, the seed should always be a positive number greater than zero but not large enough to cause mathematical overflows. The seed function takes any value but converts it to a number between 1 and 9,999,999:</p><pre><code>
	// set seed
	public static function seed($s = 0) {
		self::$RSeed = abs(intval($s)) % 9999999 + 1;
		self::num();
	}
</code></pre><p>Finally, we have our num() function for generating a random number between $min and $max. If no seed has been set it&#8217;s initialized with PHP&#8217;s own random number generator:</p><pre><code>
	// generate random number
	public static function num($min = 0, $max = 9999999) {
		if (self::$RSeed == 0) self::seed(mt_rand());
		self::$RSeed = (self::$RSeed * 125) % 2796203;
		return self::$RSeed % ($max - $min + 1) + $min;
	}
}
</code></pre><p>We can now set a seed and output a sequence of numbers:</p><pre><code>
// set seed
Random::seed(42);
// echo 10 numbers between 1 and 100
for ($i = 0; $i &lt; 10; $i++) {
	echo Random::num(1, 100) . '&lt;br /&gt;';
}
</code></pre><p>If you&#8217;ve copied this code exactly, you should see the following values no matter what OS or version of PHP you&#8217;re running:</p><pre>
76
86
14
79
73
2
87
43
62
7
</pre><p>Admittedly, repeatable <em>&#8220;random&#8221;</em> numbers isn&#8217;t something you&#8217;ll need every day &#8212; you&#8217;re more likely to require something closer to real randomness and PHP&#8217;s functions will serve you better. But there may be occasions when you find this useful.</p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/php-random-number-generator/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>PHPMaster: How I Chose My Programming Editor</title><link>http://feedproxy.google.com/~r/PHPMaster_feed/~3/y6hnYOzYB8U/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-how-i-chose-my-programming-editor</link> <comments>http://feedproxy.google.com/~r/PHPMaster_feed/~3/y6hnYOzYB8U/#comments</comments> <pubDate>Fri, 13 Jan 2012 23:32:42 +0000</pubDate> <dc:creator>J Armando Jeronymo</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Color]]></category> <category><![CDATA[Community]]></category> <category><![CDATA[debug]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[frameworks]]></category> <category><![CDATA[HTML5]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[plugins]]></category> <category><![CDATA[S3]]></category> <category><![CDATA[UX]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[netbeans]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=50239</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/aebc63699691-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> For many years I used a code editor that is now discontinued by its developers, and the introduction of HTML5 and CSS3 led me to look for an editor that supports the new tags and properties. In this article I’ll share the criteria and process I used to find an editor suitable for making quick fixes and a development environment for large-scale projects. My initial candidate list contained over 30 popular Linux, Java, Windows and XUL software packages which had at least one stable release after January 1, 2010: Arachnophilia, Bluefish, Bluegriffon, CoffeeCup HTML Editor, Dreamweaver, Eclipse PDT, Emacs, Expression Web, Geany, gedit, HTML-Kit, jEdit, Kate, KDevelop, Komodo Edit, KWrite, Netbeans, Notepad++, Notepad2, OpenBEXI, PHPEdit, PHPEd Pro, PHPStorm, Programmer’s Notepad, PSPad, RadPHP, Scite, SeaMonkey, Vim, WebDev, WebMatrix, and Zend Studio. You can google each program for their specific details]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/aebc63699691-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/aebc63699691-150x150-50x50.jpg" alt="" /> For many years I used a code editor that is now discontinued by its developers, and the introduction of HTML5 and CSS3 led me to look for an editor that supports the new tags and properties. In this article I’ll share the criteria and process I used to find an editor suitable for making quick fixes and a development environment for large-scale projects. My initial candidate list contained over 30 popular Linux, Java, Windows and XUL software packages which had at least one stable release after January 1, 2010: Arachnophilia, Bluefish, Bluegriffon, CoffeeCup HTML Editor, Dreamweaver, Eclipse PDT, Emacs, Expression Web, Geany, gedit, HTML-Kit, jEdit, Kate, KDevelop, Komodo Edit, KWrite, Netbeans, Notepad++, Notepad2, OpenBEXI, PHPEdit, PHPEd Pro, PHPStorm, Programmer’s Notepad, PSPad, RadPHP, Scite, SeaMonkey, Vim, WebDev, WebMatrix, and Zend Studio. You can google each program for their specific details</p><p>Read More:<br
/> <a
title="PHPMaster: How I Chose My Programming Editor" href="http://feedproxy.google.com/~r/PHPMaster_feed/~3/y6hnYOzYB8U/" target="_blank">PHPMaster: How I Chose My Programming Editor</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/PHPMaster_feed/~3/y6hnYOzYB8U/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Zend Job Queue</title><link>http://feedproxy.google.com/~r/PHPMaster_feed/~3/geE_wnRVORE/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-zend-job-queue</link> <comments>http://feedproxy.google.com/~r/PHPMaster_feed/~3/geE_wnRVORE/#comments</comments> <pubDate>Wed, 11 Jan 2012 23:48:32 +0000</pubDate> <dc:creator>Alex Stetsenko</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[Community]]></category> <category><![CDATA[cron]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[headers]]></category> <category><![CDATA[Java]]></category> <category><![CDATA[Mobile]]></category> <category><![CDATA[node]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[queues]]></category> <category><![CDATA[RoR]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[tutorial]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=50119</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/b938zendqueue_600007-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Web applications usually follow a synchronous communication model. However, non-interactive and long-running tasks (such as report generation) are better suited for asynchronous execution. One way to off-load tasks to run at a later time, or even on a different server, is use the Job Queue module available as a part of Zend Server 5 (though not as part of the Community Edition). Job Queue allows job scheduling based on time, priority, and even dependencies. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/b938zendqueue_600007-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/b938zendqueue_600007-150x150-50x50.jpg" /> Web applications usually follow a synchronous communication model. However, non-interactive and long-running tasks (such as report generation) are better suited for asynchronous execution. One way to off-load tasks to run at a later time, or even on a different server, is use the Job Queue module available as a part of Zend Server 5 (though not as part of the Community Edition). Job Queue allows job scheduling based on time, priority, and even dependencies.</p><p>See the article here:<br
/> <a
target="_blank" href="http://feedproxy.google.com/~r/PHPMaster_feed/~3/geE_wnRVORE/" title="PHPMaster: Zend Job Queue">PHPMaster: Zend Job Queue</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/PHPMaster_feed/~3/geE_wnRVORE/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How to Customize the WordPress 3.3 Toolbar</title><link>http://www.sitepoint.com/change-wordpress-33-toolbar/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=change-wordpress-33-toolbar</link> <comments>http://www.sitepoint.com/change-wordpress-33-toolbar/#comments</comments> <pubDate>Wed, 11 Jan 2012 16:26:02 +0000</pubDate> <dc:creator>Craig Buckler</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Reviews and Apps]]></category> <category><![CDATA[plugins]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[toolbar]]></category> <category><![CDATA[WordPress]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49516</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2010/04/286-easier-wordpress-1-thumb1-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="286-easier-wordpress-1-thumb" title="286-easier-wordpress-1-thumb" />Craig reveals how you can add and remove menu items from the new WordPress 3.3 toolbar.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2010/04/286-easier-wordpress-1-thumb1-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="286-easier-wordpress-1-thumb" title="286-easier-wordpress-1-thumb" /><p></p><p>You can make the WordPress interface easier for clients by removing <a
href="http://www.sitepoint.com/how-to-hide-menus-in-wordpress/">unnecessary menus</a>, <a
href="http://www.sitepoint.com/wordpress-easy-administration-plugin-2/">widgets and meta boxes</a>. However, in WordPress 3.3, the admin and header bars have been merged to create a single toolbar. It may also contain options you want to hide&hellip;</p><h2>The WordPress Toolbar API</h2><p>The new toolbar is defined using a single <code>WP_Admin_Bar</code> object (see wp-includes/class-wp-admin-bar.php). This provides a number of useful methods:</p><ul><li><code>add_node()</code> &#8212; add a new toolbar item</li><li><code>remove_node()</code> &#8212; remove a toolbar item</li><li><code>get_node()</code> &#8212; fetch a node&#8217;s properties</li><li><code>get_nodes()</code> &#8212; fetch a list of all nodes</li></ul><h2>Removing Toolbar Items</h2><p>We&#8217;re going to place our code into a reusable plugin named wp-content/plugins/change-toolbar.php but you could put it within your theme&#8217;s functions.php file.</p><p>WordPress plugins require a header at the top of the file, e.g.</p><pre><code>
&lt;?php
/*
Plugin Name: Change Toolbar
Plugin URI: http://www.sitepoint.com/change-wordpress-33-toolbar
Description: Modifies the WordPress 3.3+ toolbar.
Version: 1.0
Author: Craig Buckler
Author URI: http://optimalworks.net/
License: GPL2
*/
</code></pre><p>We now require a single function where our changes will be made:<div>  <script type='text/javascript'>GA_googleFillSlot("InArticle_728x90_1");</script> </div></p><pre><code>
function change_toolbar($wp_toolbar) {
	/* ... code to go here ... */
}
</code></pre><p>followed by an action hook which runs the function and passes the toolbar object:</p><pre><code>
add_action('admin_bar_menu', 'change_toolbar', 999);
</code></pre><p>We can now remove toolbar items within the <code>change_toolbar()</code> function. For example, the following line hides the WordPress logo and help sub-menu by referencing its ID, &#8220;wp-logo&#8221;:</p><pre><code>
$wp_toolbar-&gt;remove_node('wp-logo');
</code></pre><p>To remove other items you need to discover what ID they&#8217;re using. You could delve into the PHP code but there&#8217;s an easier way:</p><ul><li>Open Firebug or your favorite Firebug-like development console.</li><li>Locate the toolbar item you want to remove (in most browsers you can right-click the item and select &#8220;Inspect Element&#8221;).</li><li>Navigate up the parent nodes until you find an LI tag. It will have an ID starting &#8220;wp-admin-bar-&#8221; followed by the internal ID code:</li></ul><p><img
src="http://blogs.sitepointstatic.com/images/tech/619-wp33-admin-bar-id.png" width="523" height="206" alt="WordPress toolbar ID" class="center" /></p><p>In this example, the Comments item is highlighted. Therefore, to remove it from the toolbar, we use:</p><pre><code>
$wp_toolbar-&gt;remove_node('comments');
</code></pre><h2>Adding Toolbar Items</h2><p>We can add toolbar items within the same function. The syntax is:</p><pre><code>
$wp_toolbar-&gt;add_node($arg);
</code></pre><p>Where $arg is an associative array containing:</p><ul><li><code>id</code> &#8212; the item&#8217;s ID</li><li><code>title</code> &#8212; the title text</li><li><code>parent</code> &#8212; the parent menu ID (optional)</li><li><code>href</code> &#8212; the link URL (optional)</li><li><code>group</code> &#8212; true if the node is a group (optional)</li><li><code>meta</code> &#8212; another array providing other keys including: html, class, onclick, target, title, tabindex</li></ul><p>Let&#8217;s add a &#8220;Help&#8221; item which links to our support pages:</p><pre><code>
$wp_toolbar-&gt;add_node(array(
	'id' =&gt; 'myhelp',
	'title' =&gt; 'Help',
	'href' =&gt; 'http://mysite.com/support/',
	'meta' =&gt; array('target' =&gt; 'help')
));
</code></pre><p>We could now add an email support link within a sub-menu by referencing the &#8216;myhelp&#8217; ID in the <code>parent</code>:</p><pre><code>
$wp_toolbar-&gt;add_node(array(
	'id' =&gt; 'mysupport',
	'title' =&gt; 'Email Support',
	'parent' =&gt; 'myhelp',
	'href' =&gt; 'mailto:support@mysite.com?subject=support%20request'
));
</code></pre><p>I hope you find it useful &#8212; it&#8217;s easy to customize the whole WordPress 3.3 toolbar using a few API calls.</p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://www.sitepoint.com/change-wordpress-33-toolbar/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item><div><div
class="post_box two_ads" style="float:left;padding-left:2px;"> <script>GA_googleFillSlot("Edit_728x90_2");</script> </div></div><div
class="clear">&nbsp;</div> <item><title>PHPMaster: Introduction to PhpDoc</title><link>http://feedproxy.google.com/~r/PHPMaster_feed/~3/nPdwdHGxgHA/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-introduction-to-phpdoc</link> <comments>http://feedproxy.google.com/~r/PHPMaster_feed/~3/nPdwdHGxgHA/#comments</comments> <pubDate>Mon, 09 Jan 2012 22:00:30 +0000</pubDate> <dc:creator>Moshe Teutsch</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[CGI & Perl Tutorials]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Web Tech]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49951</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/cc1189011087-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> If you’ve ever tried to read code written by someone other than yourself (who hasn’t?), you know it can be a daunting task. A jumble of “spaghetti code” mixed with numerous oddly named variables makes your head spin. Does this function expect a string or an array? Does this variable store an integer or an object? ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/cc1189011087-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/cc1189011087-150x150-50x50.jpg" /> If you’ve ever tried to read code written by someone other than yourself (who hasn’t?), you know it can be a daunting task. A jumble of “spaghetti code” mixed with numerous oddly named variables makes your head spin. Does this function expect a string or an array? Does this variable store an integer or an object?</p><p>Taken from:<br
/> <a
target="_blank" href="http://feedproxy.google.com/~r/PHPMaster_feed/~3/nPdwdHGxgHA/" title="PHPMaster: Introduction to PhpDoc">PHPMaster: Introduction to PhpDoc</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/PHPMaster_feed/~3/nPdwdHGxgHA/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: ClamAV as a Validation Filter in Zend Framework</title><link>http://phpmaster.com/zf-clamav/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zf-clamav&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-clamav-as-a-validation-filter-in-zend-framework</link> <comments>http://phpmaster.com/zf-clamav/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zf-clamav#comments</comments> <pubDate>Sat, 07 Jan 2012 05:56:26 +0000</pubDate> <dc:creator>Matthew Setter</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Apache]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[modules]]></category> <category><![CDATA[namespaces]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[RoR]]></category> <category><![CDATA[UX]]></category> <category><![CDATA[Windows]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49885</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/86f188481113-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Ok, so you’re pretty comfortable with using the Zend Framework, specifically the use of Forms. Along with that, you have a good working knowledge of how to combine a host of standard validators such as CreditCard , EmailAddress , Db_RecordExists , and Hex , and standard filters such as Compress/Decompress , BaseName , Encrypt , and RealPath . But what do you do when a situation arises that’s outside the scope of the pre-packaged validators and filters? Let’s say you want to guard against users uploading files that contain viruses, for example. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/86f188481113-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/86f188481113-150x150-50x50.jpg" alt="" /> Ok, so you’re pretty comfortable with using the Zend Framework, specifically the use of Forms. Along with that, you have a good working knowledge of how to combine a host of standard validators such as CreditCard , EmailAddress , Db_RecordExists , and Hex , and standard filters such as Compress/Decompress , BaseName , Encrypt , and RealPath . But what do you do when a situation arises that’s outside the scope of the pre-packaged validators and filters? Let’s say you want to guard against users uploading files that contain viruses, for example.</p><p>More here:<br
/> <a
title="PHPMaster: ClamAV as a Validation Filter in Zend Framework" href="http://phpmaster.com/zf-clamav/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=zf-clamav" target="_blank">PHPMaster: ClamAV as a Validation Filter in Zend Framework</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://phpmaster.com/zf-clamav/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=zf-clamav/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Using Phing</title><link>http://phpmaster.com/using-phing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-phing&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-using-phing-2</link> <comments>http://phpmaster.com/using-phing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-phing#comments</comments> <pubDate>Thu, 05 Jan 2012 05:50:45 +0000</pubDate> <dc:creator>Shameer C</dc:creator> <category><![CDATA[Apache]]></category> <category><![CDATA[Backup]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[phing]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49888</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/d48a20480750-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. If you’re wondering why PHP needs a build tool, consider a work flow where you write code and unit tests on your local machine, and if the tests pass you upload the code to staging/production server and make any changes to the production database. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/d48a20480750-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/d48a20480750-150x150-50x50.jpg" alt="" /> Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. If you’re wondering why PHP needs a build tool, consider a work flow where you write code and unit tests on your local machine, and if the tests pass you upload the code to staging/production server and make any changes to the production database.</p><p>Read More:<br
/> <a
title="PHPMaster: Using Phing" href="http://phpmaster.com/using-phing/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=using-phing" target="_blank">PHPMaster: Using Phing</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://phpmaster.com/using-phing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-phing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Using Phing</title><link>http://feedproxy.google.com/~r/PHPMaster_feed/~3/9LCKFFT6NEg/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-using-phing</link> <comments>http://feedproxy.google.com/~r/PHPMaster_feed/~3/9LCKFFT6NEg/#comments</comments> <pubDate>Thu, 05 Jan 2012 01:54:19 +0000</pubDate> <dc:creator>Shameer C</dc:creator> <category><![CDATA[Backup]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[php tutorials]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49846</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/d48a20480750-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. If you’re wondering why PHP needs a build tool, consider a work flow where you write code and unit tests on your local machine, and if the tests pass you upload the code to staging/production server and make any changes to the production database. Without a build file, you’ll need to go through each step manually]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/d48a20480750-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/d48a20480750-150x150-50x50.jpg" /> Phing is a PHP project build tool based on Apache Ant. A build system helps you to perform a group of actions using a single command. If you’re wondering why PHP needs a build tool, consider a work flow where you write code and unit tests on your local machine, and if the tests pass you upload the code to staging/production server and make any changes to the production database. Without a build file, you’ll need to go through each step manually</p><p>Read the article:<br
/> <a
target="_blank" href="http://feedproxy.google.com/~r/PHPMaster_feed/~3/9LCKFFT6NEg/" title="PHPMaster: Using Phing">PHPMaster: Using Phing</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/PHPMaster_feed/~3/9LCKFFT6NEg/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item><div><div
class="post_box two_ads" style="float:left;padding-left:2px;"> <script>GA_googleFillSlot("Edit_728x90_3");</script> </div></div><div
class="clear">&nbsp;</div> <item><title>CloudSpring: Build Your App in the Cloud with Heroku and the Facebook SDK</title><link>http://feedproxy.google.com/~r/cloudspring/~3/vFNSyG3mhjw/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cloudspring-build-your-app-in-the-cloud-with-heroku-and-the-facebook-sdk</link> <comments>http://feedproxy.google.com/~r/cloudspring/~3/vFNSyG3mhjw/#comments</comments> <pubDate>Wed, 04 Jan 2012 04:39:20 +0000</pubDate> <dc:creator>Vito Tardia</dc:creator> <category><![CDATA[bootstrap]]></category> <category><![CDATA[Business]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[cloud api]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[Flash]]></category> <category><![CDATA[frameworks]]></category> <category><![CDATA[Gems]]></category> <category><![CDATA[Get Started]]></category> <category><![CDATA[Getting Started]]></category> <category><![CDATA[Heroku]]></category> <category><![CDATA[iOS]]></category> <category><![CDATA[links]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[RoR]]></category> <category><![CDATA[ruby]]></category> <category><![CDATA[sdk]]></category> <category><![CDATA[Tutorials]]></category> <category><![CDATA[twitter]]></category> <category><![CDATA[urls]]></category> <category><![CDATA[Web Tech]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49831</guid> <description><![CDATA[ When I first came across Heroku it was a Ruby-only cloud service. I wasn’t a Ruby developer so I quickly forgot about it. But then they partnered with Facebook and you could create a Facebook app hosted on Heroku with the Facebook PHP-SDK in just a couple of clicks. Now the question: is it possible to create a PHP application with Heroku that works both outside and inside of Facebook? ]]></description> <content:encoded><![CDATA[<p></p><p>When I first came across Heroku it was a Ruby-only cloud service. I wasn’t a Ruby developer so I quickly forgot about it. But then they partnered with Facebook and you could create a Facebook app hosted on Heroku with the Facebook PHP-SDK in just a couple of clicks. Now the question: is it possible to create a PHP application with Heroku that works both outside and inside of Facebook?</p><p>Original post:<br
/> <a
target="_blank" href="http://feedproxy.google.com/~r/cloudspring/~3/vFNSyG3mhjw/" title="Build Your App in the Cloud with Heroku and the Facebook SDK">Build Your App in the Cloud with Heroku and the Facebook SDK</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/cloudspring/~3/vFNSyG3mhjw/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Understanding the Command Design Pattern</title><link>http://feedproxy.google.com/~r/PHPMaster_feed/~3/yiBe33farao/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-understanding-the-command-design-pattern</link> <comments>http://feedproxy.google.com/~r/PHPMaster_feed/~3/yiBe33farao/#comments</comments> <pubDate>Tue, 03 Jan 2012 13:47:52 +0000</pubDate> <dc:creator>Ignatius Teo</dc:creator> <category><![CDATA[Community]]></category> <category><![CDATA[cron]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[Mobile]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[queues]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Web Tech]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49802</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/e90d88555954-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Did you know there are over 4 billion mobile phones in use today ? Here in Australia, we have a population of approximately 11 million people and over 22 million mobile phones – that’s an average of 2 phones per person! It’s obvious that mobile phone usage is becoming more prevalent. And given the ubiquity of smartphones and other mobile devices, more and more customers are now opting to receive notifications via SMS rather than email. Text messages certainly have advantages over email – they’re short, immediate, and best of all SPAM is negligible. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/e90d88555954-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/e90d88555954-150x150-50x50.jpg" /> Did you know there are over 4 billion mobile phones in use today ? Here in Australia, we have a population of approximately 11 million people and over 22 million mobile phones – that’s an average of 2 phones per person! It’s obvious that mobile phone usage is becoming more prevalent. And given the ubiquity of smartphones and other mobile devices, more and more customers are now opting to receive notifications via SMS rather than email. Text messages certainly have advantages over email – they’re short, immediate, and best of all SPAM is negligible.</p><p>View post:<br
/> <a
target="_blank" href="http://feedproxy.google.com/~r/PHPMaster_feed/~3/yiBe33farao/" title="PHPMaster: Understanding the Command Design Pattern">PHPMaster: Understanding the Command Design Pattern</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/PHPMaster_feed/~3/yiBe33farao/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Understanding the Command Design Pattern</title><link>http://phpmaster.com/understanding-the-command-design-pattern/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=understanding-the-command-design-pattern&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-understanding-the-command-design-pattern-2</link> <comments>http://phpmaster.com/understanding-the-command-design-pattern/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=understanding-the-command-design-pattern#comments</comments> <pubDate>Tue, 03 Jan 2012 05:49:05 +0000</pubDate> <dc:creator>Ignatius Teo</dc:creator> <category><![CDATA[Community]]></category> <category><![CDATA[cron]]></category> <category><![CDATA[Design]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[Mobile]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[queues]]></category> <category><![CDATA[Tutorial]]></category> <category><![CDATA[Web Tech]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49891</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/e90d88555954-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Did you know there are over 4 billion mobile phones in use today ? Here in Australia, we have a population of approximately 11 million people and over 22 million mobile phones – that’s an average of 2 phones per person! It’s obvious that mobile phone usage is becoming more prevalent. And given the ubiquity of smartphones and other mobile devices, more and more customers are now opting to receive notifications via SMS rather than email. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/e90d88555954-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/e90d88555954-150x150-50x50.jpg" alt="" /> Did you know there are over 4 billion mobile phones in use today ? Here in Australia, we have a population of approximately 11 million people and over 22 million mobile phones – that’s an average of 2 phones per person! It’s obvious that mobile phone usage is becoming more prevalent. And given the ubiquity of smartphones and other mobile devices, more and more customers are now opting to receive notifications via SMS rather than email.</p><p>See more here:<br
/> <a
title="PHPMaster: Understanding the Command Design Pattern" href="http://phpmaster.com/understanding-the-command-design-pattern/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=understanding-the-command-design-pattern" target="_blank">PHPMaster: Understanding the Command Design Pattern</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://phpmaster.com/understanding-the-command-design-pattern/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=understanding-the-command-design-pattern/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Watermarking Images</title><link>http://phpmaster.com/watermarking-images/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=watermarking-images&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-watermarking-images-2</link> <comments>http://phpmaster.com/watermarking-images/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=watermarking-images#comments</comments> <pubDate>Sat, 31 Dec 2011 05:48:09 +0000</pubDate> <dc:creator>Timothy Boronczyk</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[CGI & Perl Tutorials]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[Get Started]]></category> <category><![CDATA[headers]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Web Tech]]></category> <category><![CDATA[get started]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49893</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/82d037419154s-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Imagine a friend of yours approaches you one day and would like you to build her a website so she can showcase her photography. She wants to be able to easily upload her photographs and have them watermarked so that people can’t easily steal them. “Don’t worry!” you tell her, because you know there are functions provided by the Imagick extension that makes watermarking images a breeze in PHP. This article shares a few pointers on what makes an effective watermark, and then shows you how to use the Imagick functions to add a watermark to your image. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/82d037419154s-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/82d037419154s-150x150-50x50.jpg" alt="" /> Imagine a friend of yours approaches you one day and would like you to build her a website so she can showcase her photography. She wants to be able to easily upload her photographs and have them watermarked so that people can’t easily steal them. “Don’t worry!” you tell her, because you know there are functions provided by the Imagick extension that makes watermarking images a breeze in PHP. This article shares a few pointers on what makes an effective watermark, and then shows you how to use the Imagick functions to add a watermark to your image.</p><p>See the article here:<br
/> <a
title="PHPMaster: Watermarking Images" href="http://phpmaster.com/watermarking-images/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=watermarking-images" target="_blank">PHPMaster: Watermarking Images</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://phpmaster.com/watermarking-images/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=watermarking-images/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Writing Custom Session Handlers</title><link>http://phpmaster.com/writing-custom-session-handlers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=writing-custom-session-handlers&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-writing-custom-session-handlers-2</link> <comments>http://phpmaster.com/writing-custom-session-handlers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=writing-custom-session-handlers#comments</comments> <pubDate>Thu, 29 Dec 2011 05:47:34 +0000</pubDate> <dc:creator>Tim Smith</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Color]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Web Tech]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49899</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/42fe82817554-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /> Session are a tool which helps the web programmer overcome the stateless nature of the internet. You can use them to build shopping carts, monitor visits to a website, and even track how a user navigates through your application. PHP’s default session handling behavior can provide all you need in most cases, but there may be times when you want to expand the functionality and store session data differently. ]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/42fe82817554-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2012/01/42fe82817554-150x150-50x50.jpg" alt="" /> Session are a tool which helps the web programmer overcome the stateless nature of the internet. You can use them to build shopping carts, monitor visits to a website, and even track how a user navigates through your application. PHP’s default session handling behavior can provide all you need in most cases, but there may be times when you want to expand the functionality and store session data differently.</p><p>Visit link:<br
/> <a
title="PHPMaster: Writing Custom Session Handlers" href="http://phpmaster.com/writing-custom-session-handlers/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=writing-custom-session-handlers" target="_blank">PHPMaster: Writing Custom Session Handlers</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://phpmaster.com/writing-custom-session-handlers/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=writing-custom-session-handlers/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>PHPMaster: Writing Custom Session Handlers</title><link>http://feedproxy.google.com/~r/PHPMaster_feed/~3/fA_xO5PKQwQ/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=phpmaster-writing-custom-session-handlers</link> <comments>http://feedproxy.google.com/~r/PHPMaster_feed/~3/fA_xO5PKQwQ/#comments</comments> <pubDate>Wed, 28 Dec 2011 21:31:16 +0000</pubDate> <dc:creator>Tim Smith</dc:creator> <category><![CDATA[.NET]]></category> <category><![CDATA[Color]]></category> <category><![CDATA[Content]]></category> <category><![CDATA[DR]]></category> <category><![CDATA[PHP]]></category> <category><![CDATA[PHP & MySQL Tutorials]]></category> <category><![CDATA[Web Tech]]></category> <guid
isPermaLink="false">http://www.sitepoint.com/?p=49750</guid> <description><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2011/12/42fe82817554-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" />PHP’s default session handling behavior provides all you need in most cases, but there may be times when you want to expand the functionality and store session data differently.]]></description> <content:encoded><![CDATA[<img
width="50" height="50" src="http://cdn.sitepoint.com/wp-content/uploads/2011/12/42fe82817554-150x150-50x50.jpg" class="attachment-thumbnail wp-post-image" alt="Thumbnail" title="Thumbnail" /><p></p><p><img
src="http://cdn.sitepoint.com/wp-content/uploads/2011/12/42fe82817554-150x150-50x50.jpg" /> PHP’s default session handling behavior provides all you need in most cases, but there may be times when you want to expand the functionality and store session data differently.</p><p>Follow this link:<br
/> <a
target="_blank" href="http://feedproxy.google.com/~r/PHPMaster_feed/~3/fA_xO5PKQwQ/" title="PHPMaster: Writing Custom Session Handlers">PHPMaster: Writing Custom Session Handlers</a></p><div
style="text-align:center;padding-bottom:50px;"><div
style="float:left;padding-left:30px;"> <script>GA_googleFillSlot("Edit_300x100_C");</script> </div><div
style="float:right;padding-right:30px;"> <script>GA_googleFillSlot("Edit_300x100_D");</script> </div></div><div
style="clear:both"></div>]]></content:encoded> <wfw:commentRss>http://feedproxy.google.com/~r/PHPMaster_feed/~3/fA_xO5PKQwQ/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 39/100 queries in 0.829 seconds using memcached
Object Caching 2961/3100 objects using memcached
Content Delivery Network via cdn.sitepoint.com

Served from: www.sitepoint.com @ 2012-02-09 12:12:30 -->
