<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>WHAT A LAMP</title> <link>http://www.whatalamp.com</link> <description>Full tips on a wide range of web technology.</description> <lastBuildDate>Thu, 17 Jun 2010 18:36:30 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/WhatALamp" /><feedburner:info uri="whatalamp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Upgrade to WordPress 3.0</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/yP0v_ANsTvM/</link> <comments>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-3-0/#comments</comments> <pubDate>Thu, 17 Jun 2010 18:36:10 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[release]]></category> <category><![CDATA[upgrade]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=364</guid> <description><![CDATA[Upgrade this blog when I know WP3.0 is released. http://wordpress.org/development/2010/06/thelonious/ Arm your vuvuzelas: WordPress 3.0, the thirteenth major release of WordPress and the culmination of half a year of work by 218 contributors, is now available for download (or upgrade within your dashboard). Major new features in this release include a sexy new default theme [...]]]></description> <content:encoded><![CDATA[<p>Upgrade this blog when I know WP3.0 is released.</p><p><a
href="http://wordpress.org/development/2010/06/thelonious/" target="_blank">http://wordpress.org/development/2010/06/thelonious/</a></p><blockquote><p>Arm your vuvuzelas: WordPress 3.0, the thirteenth major release of  WordPress and the culmination of half a year of work by 218  contributors, is <a
href="http://wordpress.org/download/">now available  for download</a> (or <a
href="http://codex.wordpress.org/Dashboard_Updates_SubPanel">upgrade  within your dashboard</a>). Major new features in this release include a  sexy <strong>new default theme called Twenty Ten</strong>. Theme  developers have new APIs that allow them to easily implement custom  backgrounds, headers, shortlinks, <a
href="http://codex.wordpress.org/Appearance_Menus_SubPanel">menus</a> (no more file editing), <a
href="http://codex.wordpress.org/Custom_Post_Types">post types</a>, and <a
href="http://codex.wordpress.org/Custom_Taxonomies">taxonomies</a>.  (Twenty Ten theme shows all of that off.) Developers and network admins  will appreciate the long-awaited <strong>merge of MU and WordPress</strong>,  creating the new multi-site functionality which makes it possible to  run one blog or ten million from the same installation. As a user, you  will love the new <strong>lighter interface</strong>, the contextual  help on every screen, the <strong>1,217 bug fixes and feature  enhancements</strong>, bulk updates so you can upgrade 15 plugins at  once with a single click, and blah blah blah just watch the video. <img
src="http://wordpress.org/development/wp-includes/images/smilies/icon_smile.gif" alt=":)" /> <em>(In HD, if you can, so you can catch  the Easter eggs.)</em></p></blockquote><p><em><span
id="more-364"></span></em></p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/wordpress/wordpress-upgrade-to-263/" title="WordPress Upgrade to 2.6.3 (October 28, 2008)">WordPress Upgrade to 2.6.3</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/wordpress-plugins-update/" title="WordPress plugins update (May 11, 2009)">WordPress plugins update</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-2/" title="Upgrade to WordPress 2.8.2 (July 20, 2009)">Upgrade to WordPress 2.8.2</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-1/" title="Upgrade to WordPress 2.8.1 (July 9, 2009)">Upgrade to WordPress 2.8.1</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8/" title="Upgrade to WordPress 2.8 (June 11, 2009)">Upgrade to WordPress 2.8</a> (1)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-271-is-so-easy/" title="Upgrade to WordPress 2.7.1 is so easy (February 11, 2009)">Upgrade to WordPress 2.7.1 is so easy</a> (0)</li><li><a
href="http://www.whatalamp.com/announcement/upgrade-to-wordpress-27/" title="Upgrade to WordPress 2.7 (December 16, 2008)">Upgrade to WordPress 2.7</a> (1)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-262/" title="Upgrade to WordPress 2.6.2 (September 8, 2008)">Upgrade to WordPress 2.6.2</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-261/" title="Upgrade to WordPress 2.6.1 (September 1, 2008)">Upgrade to WordPress 2.6.1</a> (0)</li><li><a
href="http://www.whatalamp.com/misc/upgrade-to-wordpress-25/" title="Upgrade to WordPress 2.5 (March 31, 2008)">Upgrade to WordPress 2.5</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/8zWj9mso1Yz26zmykOcbKs4iSNE/0/da"><img src="http://feedads.g.doubleclick.net/~a/8zWj9mso1Yz26zmykOcbKs4iSNE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8zWj9mso1Yz26zmykOcbKs4iSNE/1/da"><img src="http://feedads.g.doubleclick.net/~a/8zWj9mso1Yz26zmykOcbKs4iSNE/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/yP0v_ANsTvM" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-3-0/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-3-0/</feedburner:origLink></item> <item><title>Webmin version 1.510 and Usermin 1.440 released</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/frrPJReP27k/</link> <comments>http://www.whatalamp.com/linux/webmin-version-1-510-and-usermin-1-440-released/#comments</comments> <pubDate>Thu, 11 Mar 2010 22:29:19 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[download]]></category> <category><![CDATA[release]]></category> <category><![CDATA[server]]></category> <category><![CDATA[Webmin]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=360</guid> <description><![CDATA[Webmin version 1.510 and Usermin 1.440 released This update improves the speed of finding package updates, adds Czech and Brazillian Portuguese updates, EXT4 support, better InnoDB support, DNSSEC NSEC3 algorithms, and much more. You can get it from the Webmin downloads page, or from our YUM or APT repositories. Also available is a new Usermin [...]]]></description> <content:encoded><![CDATA[<h3>Webmin version 1.510 and Usermin 1.440 released</h3><p>This update improves the speed of finding package updates, adds Czech  and Brazillian Portuguese updates, EXT4 support, better InnoDB support,  DNSSEC NSEC3 algorithms, and <a
href="http://webmin.com/changes.html">much  more</a>. You can get it from the <a
href="http://webmin.com/download.html">Webmin downloads page</a>, or  from our YUM or APT repositories.</p><p>Also available is a new Usermin release which fixes a few bugs in the  Read Mail module. It can be found on the <a
href="http://webmin.com/udownload.html">Usermin downloads page</a>.</p><p><span
id="more-360"></span></p><dl><dt><strong>Version 1.510 (5th March 2010)</strong></dt><dd><ul><li>Package updates are now fetched more efficiently from YUM and  APT.</li><li>Czech and Brazillian Portuguese updates, thanks to Karel  Hudan and Djavan Fagundes respectively.</li><li>The Webmin RPM now preserves the /etc/webmin directory when  un-installed and then re-installed.</li><li>Added support for creating EXT4 filesystems in the RAID,  LVM and disk partitions modules.</li><li>SATA drives using SCSI emulation on Linux now show up with  SATA as the description.</li><li>Collation order and InnoDB support in the MySQL module.</li><li>Buttons to rename a chain and move rules in the Linux  Firewall module.</li><li>Disk space monitoring by percentage of free space in the  System and Server Status module.</li><li>Friendler inputs for changing the size of an existing LV in  the Logical Volume Management module.</li><li>Support for new NSEC3 algorithms for DNSSEC in the BIND  module.</li><li>Many more fixes and <a
href="http://webmin.com/changes-1.510.html">new features</a>.</li><li></li></ul></dd></dl><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/hosting-tutorials/what-is-blog-hosting/" title="What Is Blog Hosting? (November 7, 2008)">What Is Blog Hosting?</a> (0)</li><li><a
href="http://www.whatalamp.com/linux/ubuntu-904-netbook-mix-realease/" title="Ubuntu 9.04 Netbook Mix realease (April 24, 2009)">Ubuntu 9.04 Netbook Mix realease</a> (0)</li><li><a
href="http://www.whatalamp.com/linux/ubuntu-810-release/" title="Ubuntu 8.10 Release (October 9, 2008)">Ubuntu 8.10 Release</a> (0)</li><li><a
href="http://www.whatalamp.com/linux/ubuntu-810-beta-released/" title="Ubuntu 8.10 Beta Released (October 9, 2008)">Ubuntu 8.10 Beta Released</a> (0)</li><li><a
href="http://www.whatalamp.com/mysql/why-mysql/" title="Why MySQL (September 18, 2008)">Why MySQL</a> (0)</li><li><a
href="http://www.whatalamp.com/announcement/what-a-lamp/" title="What a Lamp (September 1, 2008)">What a Lamp</a> (1)</li><li><a
href="http://www.whatalamp.com/hosting-features/website-uptime-alarm-system-free/" title="Website uptime alarm system &#8211; Free (April 20, 2006)">Website uptime alarm system &#8211; Free</a> (0)</li><li><a
href="http://www.whatalamp.com/linux/webmin-1-50-release/" title="Webmin 1.50 release (December 18, 2009)">Webmin 1.50 release</a> (0)</li><li><a
href="http://www.whatalamp.com/hosting-tutorials/uptime-guarantees/" title="Uptime Guarantees (April 17, 2006)">Uptime Guarantees</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-2/" title="Upgrade to WordPress 2.8.2 (July 20, 2009)">Upgrade to WordPress 2.8.2</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/3B822og4Au2le-YnnCvruE01f3k/0/da"><img src="http://feedads.g.doubleclick.net/~a/3B822og4Au2le-YnnCvruE01f3k/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3B822og4Au2le-YnnCvruE01f3k/1/da"><img src="http://feedads.g.doubleclick.net/~a/3B822og4Au2le-YnnCvruE01f3k/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/frrPJReP27k" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/linux/webmin-version-1-510-and-usermin-1-440-released/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/linux/webmin-version-1-510-and-usermin-1-440-released/</feedburner:origLink></item> <item><title>Webmin 1.50 release</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/FlaXq-AcAQQ/</link> <comments>http://www.whatalamp.com/linux/webmin-1-50-release/#comments</comments> <pubDate>Fri, 18 Dec 2009 22:20:27 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Updated]]></category> <category><![CDATA[Webmin]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=358</guid> <description><![CDATA[Webmin 1.50 released on Dec. 7, 2009. It did following changes or updates. Fixed an XSS security hole that could be used to capture session cookies, found by Ryan Giobbi. Added the Software Package Updates module, for installing new packages from YUM or APT. Updated the default system information page to show available packages, and [...]]]></description> <content:encoded><![CDATA[<p>Webmin 1.50 released on Dec. 7, 2009.</p><p>It did following changes or updates.</p><ul><li>Fixed an XSS security hole that could be used to capture session cookies, found by Ryan Giobbi.</li><li>Added the Software Package Updates module, for installing new packages from YUM or APT.</li><li>Updated the default system information page to show available packages, and added a page to the Webmin Configuration module to collect this information in the background.</li><li>Added logging to the Scheduled Commands module.</li><li>Fixed editing of the fileset exclude list and adding volume labelling support to the Bacula module.</li><li>Improved Postfix TLS support, fixed the config file parser, and added protection against incorrect map entry deletion.</li><li>Added a status monitoring for detecting large directories, and a button for refreshing just selected monitors.</li><li>Added support for the rsyslog IncludeConfig directive in the System Logs module, used by default on Ubuntu 9.</li><li>Many more fixes and <a
href="http://www.webmin.com/changes-1.500.html">new features</a>.</li></ul><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/linux/webmin-version-1-510-and-usermin-1-440-released/" title="Webmin version 1.510 and Usermin 1.440 released (March 11, 2010)">Webmin version 1.510 and Usermin 1.440 released</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/nNdpKtmHR4vu1cmudg_FcX6pqOQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/nNdpKtmHR4vu1cmudg_FcX6pqOQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/nNdpKtmHR4vu1cmudg_FcX6pqOQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/nNdpKtmHR4vu1cmudg_FcX6pqOQ/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/FlaXq-AcAQQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/linux/webmin-1-50-release/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/linux/webmin-1-50-release/</feedburner:origLink></item> <item><title>File and Directory functions</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/0crRqkn9LR0/</link> <comments>http://www.whatalamp.com/php/file-and-directory-functions/#comments</comments> <pubDate>Sun, 08 Nov 2009 21:10:37 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[Directory]]></category> <category><![CDATA[file]]></category> <category><![CDATA[filectime]]></category> <category><![CDATA[fopen]]></category> <category><![CDATA[function]]></category> <category><![CDATA[unlink]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=356</guid> <description><![CDATA[Validating file_exists(&#8220;test.txt&#8221;); is_file(&#8220;test.txt&#8221;); is_dir(&#8220;/temp&#8221;); Checking States is_readable(&#8220;test.txt&#8221;); is_writable(&#8220;test.txt&#8221;); is_executable(&#8220;test.txt&#8221;); Determining File Size filesize(&#8220;test.txt&#8221;); Getting Date information fileatime(&#8220;test.txt&#8221;) //last accessed time filemtime(&#8220;test.txt&#8221;) // last modified time filectime(&#8220;test.txt&#8221;) // last changed time Creating file and Delete touch(&#8220;myfile.txt&#8221;) unlink(&#8220;myfile.txt&#8221;) Open file for writing, reading, appending $fp = fopen(&#8220;test.txt&#8221;, &#8220;r&#8221;); $fp = fopen(&#8220;test.txt&#8221;,&#8221;w&#8221;); $fp = fopen(&#8220;test.txt&#8221;, &#8220;a&#8221;); Related posts [...]]]></description> <content:encoded><![CDATA[<p><strong>Validating</strong></p><p>file_exists(&#8220;test.txt&#8221;);</p><p>is_file(&#8220;test.txt&#8221;);</p><p>is_dir(&#8220;/temp&#8221;);</p><p><strong>Checking States</strong></p><p>is_readable(&#8220;test.txt&#8221;);</p><p>is_writable(&#8220;test.txt&#8221;);</p><p>is_executable(&#8220;test.txt&#8221;);</p><p><span
id="more-356"></span><strong>Determining File Size</strong></p><p>filesize(&#8220;test.txt&#8221;);</p><p><strong>Getting Date information</strong></p><p>fileatime(&#8220;test.txt&#8221;) //last accessed time</p><p>filemtime(&#8220;test.txt&#8221;) // last modified time</p><p>filectime(&#8220;test.txt&#8221;) // last changed time</p><p><strong>Creating file and Delete</strong></p><p>touch(&#8220;myfile.txt&#8221;)</p><p>unlink(&#8220;myfile.txt&#8221;)</p><p><strong>Open file for writing, reading, appending</strong></p><p>$fp = fopen(&#8220;test.txt&#8221;, &#8220;r&#8221;);</p><p>$fp = fopen(&#8220;test.txt&#8221;,&#8221;w&#8221;);</p><p>$fp = fopen(&#8220;test.txt&#8221;, &#8220;a&#8221;);</p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/wordpress/why-you-want-your-own-wordpress-theme/" title="Why you want your own WordPress theme (September 10, 2008)">Why you want your own WordPress theme</a> (0)</li><li><a
href="http://www.whatalamp.com/php/strpos/" title="strpos() (May 26, 2007)">strpos()</a> (1)</li><li><a
href="http://www.whatalamp.com/php/strlen/" title="strlen() (May 25, 2007)">strlen()</a> (0)</li><li><a
href="http://www.whatalamp.com/js/make-a-function/" title="Make a Function (March 13, 2007)">Make a Function</a> (0)</li><li><a
href="http://www.whatalamp.com/js/javascript-classes-comparison/" title="JavaScript Classes Comparison (December 11, 2007)">JavaScript Classes Comparison</a> (0)</li><li><a
href="http://www.whatalamp.com/php/file-operation-in-php/" title="File operation in PHP (November 7, 2009)">File operation in PHP</a> (0)</li><li><a
href="http://www.whatalamp.com/js/date-function-in-javascript/" title="Date function in JavaScript (March 19, 2007)">Date function in JavaScript</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/Dgb_gzU2Mu-S5rlrmeV7QARZwKY/0/da"><img src="http://feedads.g.doubleclick.net/~a/Dgb_gzU2Mu-S5rlrmeV7QARZwKY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/Dgb_gzU2Mu-S5rlrmeV7QARZwKY/1/da"><img src="http://feedads.g.doubleclick.net/~a/Dgb_gzU2Mu-S5rlrmeV7QARZwKY/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/0crRqkn9LR0" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/php/file-and-directory-functions/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/php/file-and-directory-functions/</feedburner:origLink></item> <item><title>Directory operation in PHP</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/2K2QmhtRzyQ/</link> <comments>http://www.whatalamp.com/php/directory-operation-in-php/#comments</comments> <pubDate>Sat, 07 Nov 2009 19:18:45 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[closedir]]></category> <category><![CDATA[mkdir]]></category> <category><![CDATA[opendir]]></category> <category><![CDATA[readdir]]></category> <category><![CDATA[Remove]]></category> <category><![CDATA[rmdir]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=353</guid> <description><![CDATA[Create Directory mkdir(&#8220;testdir&#8221;); Remove Directory rmdir(&#8220;testdir&#8221;); Open a Directory for Reading $dh = opendir(&#8220;testdir&#8221;); Reading the contents of Directory $dirname=&#8221;.&#8221;; $dh = opendir($dirname) or die (&#8220;Couldn&#8217;t open dir&#8221;); while(!(($file = readdir($dh)) === false)){ if (is_dir(&#8220;$dirname/$file&#8221;)){ echo &#8220;(D)&#8221;; } echo $file.&#8221;&#60;br/&#62;&#8221;; } closedir($dh); Related posts Why you want your own WordPress theme (0) Why MySQL (0) [...]]]></description> <content:encoded><![CDATA[<p><strong>Create Directory</strong></p><p>mkdir(&#8220;testdir&#8221;);</p><p><strong>Remove Directory</strong></p><p>rmdir(&#8220;testdir&#8221;);</p><p><strong>Open a Directory for Reading</strong></p><p>$dh = opendir(&#8220;testdir&#8221;);</p><p><span
id="more-353"></span><strong>Reading the contents of Directory</strong></p><p>$dirname=&#8221;.&#8221;;</p><p>$dh = opendir($dirname) or die (&#8220;Couldn&#8217;t open dir&#8221;);</p><p>while(!(($file = readdir($dh)) === false)){</p><p>if (is_dir(&#8220;$dirname/$file&#8221;)){</p><p>echo &#8220;(D)&#8221;;</p><p>}</p><p>echo $file.&#8221;&lt;br/&gt;&#8221;;</p><p>}</p><p>closedir($dh);</p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/wordpress/why-you-want-your-own-wordpress-theme/" title="Why you want your own WordPress theme (September 10, 2008)">Why you want your own WordPress theme</a> (0)</li><li><a
href="http://www.whatalamp.com/mysql/why-mysql/" title="Why MySQL (September 18, 2008)">Why MySQL</a> (0)</li><li><a
href="http://www.whatalamp.com/php/what-is-php/" title="What is PHP (May 3, 2007)">What is PHP</a> (0)</li><li><a
href="http://www.whatalamp.com/announcement/what-a-lamp/" title="What a Lamp (September 1, 2008)">What a Lamp</a> (1)</li><li><a
href="http://www.whatalamp.com/php/upgrade-phplist-to-2109/" title="Upgrade phplist to 2.10.9 (February 9, 2009)">Upgrade phplist to 2.10.9</a> (0)</li><li><a
href="http://www.whatalamp.com/php/strpos/" title="strpos() (May 26, 2007)">strpos()</a> (1)</li><li><a
href="http://www.whatalamp.com/php/strlen/" title="strlen() (May 25, 2007)">strlen()</a> (0)</li><li><a
href="http://www.whatalamp.com/php/strings-in-php/" title="Strings in PHP (May 25, 2007)">Strings in PHP</a> (0)</li><li><a
href="http://www.whatalamp.com/php/php-variables/" title="PHP Variables (May 18, 2007)">PHP Variables</a> (0)</li><li><a
href="http://www.whatalamp.com/php/php-books/" title="php books (May 27, 2009)">php books</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/_lSIp8XLubOuBv-seLKiPcD_QkM/0/da"><img src="http://feedads.g.doubleclick.net/~a/_lSIp8XLubOuBv-seLKiPcD_QkM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/_lSIp8XLubOuBv-seLKiPcD_QkM/1/da"><img src="http://feedads.g.doubleclick.net/~a/_lSIp8XLubOuBv-seLKiPcD_QkM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/2K2QmhtRzyQ" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/php/directory-operation-in-php/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/php/directory-operation-in-php/</feedburner:origLink></item> <item><title>File operation in PHP</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/i3kVa-5QiMA/</link> <comments>http://www.whatalamp.com/php/file-operation-in-php/#comments</comments> <pubDate>Sat, 07 Nov 2009 09:17:29 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[PHP]]></category> <category><![CDATA[fclose]]></category> <category><![CDATA[feof]]></category> <category><![CDATA[fgetc]]></category> <category><![CDATA[flock]]></category> <category><![CDATA[fopen]]></category> <category><![CDATA[fread]]></category> <category><![CDATA[fseek]]></category> <category><![CDATA[fwrite]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=350</guid> <description><![CDATA[Open File fopen() returns false when the file can not be openned. if ($fp=fopen(&#8220;test.txt&#8221;, &#8220;w&#8221;)){ //do something } Close File fclose($fp); Reading from file fgets($fp, 1024);  // get 1024 bytes feof($fp);  // end of the file fread($fp, 16);  // get 16 bytes fseek($fp, 64);  // move point to particular byte fgetc($fp);  // get the first [...]]]></description> <content:encoded><![CDATA[<p><strong>Open File</strong></p><p>fopen() returns false when the file can not be openned.</p><p>if ($fp=fopen(&#8220;test.txt&#8221;, &#8220;w&#8221;)){</p><p>//do something</p><p>}</p><p><strong>Close File</strong></p><p>fclose($fp);</p><p><span
id="more-350"></span><strong>Reading from file</strong></p><p>fgets($fp, 1024);  // get 1024 bytes</p><p>feof($fp);  // end of the file</p><p>fread($fp, 16);  // get 16 bytes</p><p>fseek($fp, 64);  // move point to particular byte</p><p>fgetc($fp);  // get the first letter</p><p>fwrite($fp, &#8220;Hello World&#8221;);  //write into file</p><p>fputs($fp, &#8220;Hell world again&#8221;); // add into file</p><p><strong>Looking Files</strong></p><p>flock($fp, LOCK_SH); //share</p><p>flock($fp, LOCK_EX); //exclusive</p><p>flock($fp, LOCK_UN); //unlock</p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/wordpress/why-you-want-your-own-wordpress-theme/" title="Why you want your own WordPress theme (September 10, 2008)">Why you want your own WordPress theme</a> (0)</li><li><a
href="http://www.whatalamp.com/mysql/why-mysql/" title="Why MySQL (September 18, 2008)">Why MySQL</a> (0)</li><li><a
href="http://www.whatalamp.com/php/what-is-php/" title="What is PHP (May 3, 2007)">What is PHP</a> (0)</li><li><a
href="http://www.whatalamp.com/announcement/what-a-lamp/" title="What a Lamp (September 1, 2008)">What a Lamp</a> (1)</li><li><a
href="http://www.whatalamp.com/php/upgrade-phplist-to-2109/" title="Upgrade phplist to 2.10.9 (February 9, 2009)">Upgrade phplist to 2.10.9</a> (0)</li><li><a
href="http://www.whatalamp.com/php/strpos/" title="strpos() (May 26, 2007)">strpos()</a> (1)</li><li><a
href="http://www.whatalamp.com/php/strlen/" title="strlen() (May 25, 2007)">strlen()</a> (0)</li><li><a
href="http://www.whatalamp.com/php/strings-in-php/" title="Strings in PHP (May 25, 2007)">Strings in PHP</a> (0)</li><li><a
href="http://www.whatalamp.com/php/php-variables/" title="PHP Variables (May 18, 2007)">PHP Variables</a> (0)</li><li><a
href="http://www.whatalamp.com/php/php-books/" title="php books (May 27, 2009)">php books</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/weo3g32LVWOuEM_n4OTO7ofWBcc/0/da"><img src="http://feedads.g.doubleclick.net/~a/weo3g32LVWOuEM_n4OTO7ofWBcc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/weo3g32LVWOuEM_n4OTO7ofWBcc/1/da"><img src="http://feedads.g.doubleclick.net/~a/weo3g32LVWOuEM_n4OTO7ofWBcc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/i3kVa-5QiMA" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/php/file-operation-in-php/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/php/file-operation-in-php/</feedburner:origLink></item> <item><title>Find right ACT Classes for your ACT Training</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/kYKy6_PT-G0/</link> <comments>http://www.whatalamp.com/reviews/find-right-act-classes-for-your-act-training/#comments</comments> <pubDate>Wed, 23 Sep 2009 17:07:40 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[Reviews]]></category> <category><![CDATA[act software]]></category> <category><![CDATA[act training]]></category> <category><![CDATA[class overview]]></category> <category><![CDATA[consulting service]]></category> <category><![CDATA[crm software]]></category> <category><![CDATA[customer relationship management]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=346</guid> <description><![CDATA[Everyone knows ACT is an CRM software. CRM is customer relationship management. Almost every business needs one installed in his office. Now ACT has sage products, or ACT! by Sage 2010. Includes everything that the standard ACT! by Sage 2010 does but in addition offers you centralized administration, advanced deployment options, and workgroup functionality and [...]]]></description> <content:encoded><![CDATA[<p>Everyone knows ACT is an CRM software. CRM is customer relationship management. Almost every business needs one installed in his office.</p><p>Now ACT has <a
href="http://www.aspen-tech.com/" target="_blank">sage products</a>, or ACT! by Sage 2010.</p><blockquote><p>Includes everything that the standard ACT! by Sage 2010 does but in addition offers you centralized administration, advanced deployment options, and workgroup functionality and scalability.</p></blockquote><p>If you want to use ACT very well, you need to take some <a
href="http://www.aspen-tech.com/" target="_blank">ACT Classes</a> to have a fully training.</p><p><span
id="more-346"></span>Yes, it <span>helps you understand ACT!, use it more effectively, and provide you with the knowledge to leverage ACT! to grow your business. </span></p><p><span>There are three types training. One is public training, </span><a
href="http://www.aspen-tech.com/pdf/ACT_Power_User_Agenda.pdf" target="_blank"><strong>Class Overview and Agenda</strong></a>. It costs about $399/student. Limit 8 per class. Small class, student can get more chances to ask question and focus on it.<a
href="http://www.aspen-tech.com/pdf/ACT_Power_User_Agenda.pdf" target="_blank"><strong><br
/> </strong></a></p><p>One is custom training for <span>specific needs. It is more flexible. You can have this training in your office.<br
/> </span></p><p><span>One is online training, same as custom training but it is online. It is </span><span>conducted </span><span>via a conference call and GoToMeeting™.</span></p><p><span>Through </span><span>AspenTech Consulting service, you can get initial meeting, needs assessment,</span><em> </em>system survey, ACT software installation, design and review, conversion you current database and migrate, install third party addons if needed, training, and<em> </em><a
href="http://www.aspen-tech.com/" target="_blank">act premium support</a>.</p><p>Support is very important. Any time you may see problem or question about the ACT software. Especially when you want to change the setting or have a big growth of your business.</p><p><span> </span></p><p><span><br
/> </span></p><p><em><br
/> </em></p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li>No related posts.</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/JIAYzGMdTAou9Bp9nfMPvgWmqWM/0/da"><img src="http://feedads.g.doubleclick.net/~a/JIAYzGMdTAou9Bp9nfMPvgWmqWM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JIAYzGMdTAou9Bp9nfMPvgWmqWM/1/da"><img src="http://feedads.g.doubleclick.net/~a/JIAYzGMdTAou9Bp9nfMPvgWmqWM/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/kYKy6_PT-G0" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/reviews/find-right-act-classes-for-your-act-training/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/reviews/find-right-act-classes-for-your-act-training/</feedburner:origLink></item> <item><title>Upgrade to WP 2.8.4</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/JppwdkMmV3k/</link> <comments>http://www.whatalamp.com/wordpress/upgrade-to-wp-2-8-4/#comments</comments> <pubDate>Wed, 12 Aug 2009 16:45:28 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=344</guid> <description><![CDATA[Keep the software updated is very important. Especially for security issues. Related posts No related posts.]]></description> <content:encoded><![CDATA[<p>Keep the software updated is very important. Especially for security issues.</p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li>No related posts.</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/PqhOjWzDr6-w6iowBXpovEXZvKc/0/da"><img src="http://feedads.g.doubleclick.net/~a/PqhOjWzDr6-w6iowBXpovEXZvKc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/PqhOjWzDr6-w6iowBXpovEXZvKc/1/da"><img src="http://feedads.g.doubleclick.net/~a/PqhOjWzDr6-w6iowBXpovEXZvKc/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/JppwdkMmV3k" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/wordpress/upgrade-to-wp-2-8-4/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/wordpress/upgrade-to-wp-2-8-4/</feedburner:origLink></item> <item><title>Upgrade to WordPress 2.8.2</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/3MWKbInj88o/</link> <comments>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-2/#comments</comments> <pubDate>Mon, 20 Jul 2009 22:09:07 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[download]]></category> <category><![CDATA[upgrade]]></category> <category><![CDATA[vulnerability]]></category> <category><![CDATA[XSS]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=342</guid> <description><![CDATA[It is important to upgrade your wordpress to 2.8.2. WordPress 2.8.2 fixes an XSS vulnerability. Comment author URLs were not fully sanitized when displayed in the admin. This could be exploited to redirect you away from the admin to another site.  Download 2.8.2 or automatically upgrade from the Tools-&#62;Upgrade page of your blog’s admin. I [...]]]></description> <content:encoded><![CDATA[<p>It is important to upgrade your wordpress to 2.8.2.</p><blockquote><p>WordPress 2.8.2 fixes an XSS vulnerability. Comment author URLs were not fully sanitized when displayed in the admin. This could be exploited to redirect you away from the admin to another site.  <a
href="http://wordpress.org/download/">Download</a> 2.8.2 or automatically upgrade from the Tools-&gt;Upgrade page of your blog’s admin.</p></blockquote><p>I use the automatically upgrade tools of WordPress to finish upgrade.</p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/wordpress/wordpress-upgrade-to-263/" title="WordPress Upgrade to 2.6.3 (October 28, 2008)">WordPress Upgrade to 2.6.3</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/wordpress-plugins-update/" title="WordPress plugins update (May 11, 2009)">WordPress plugins update</a> (0)</li><li><a
href="http://www.whatalamp.com/hosting-tutorials/what-is-blog-hosting/" title="What Is Blog Hosting? (November 7, 2008)">What Is Blog Hosting?</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-1/" title="Upgrade to WordPress 2.8.1 (July 9, 2009)">Upgrade to WordPress 2.8.1</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8/" title="Upgrade to WordPress 2.8 (June 11, 2009)">Upgrade to WordPress 2.8</a> (1)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-271-is-so-easy/" title="Upgrade to WordPress 2.7.1 is so easy (February 11, 2009)">Upgrade to WordPress 2.7.1 is so easy</a> (0)</li><li><a
href="http://www.whatalamp.com/announcement/upgrade-to-wordpress-27/" title="Upgrade to WordPress 2.7 (December 16, 2008)">Upgrade to WordPress 2.7</a> (1)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-262/" title="Upgrade to WordPress 2.6.2 (September 8, 2008)">Upgrade to WordPress 2.6.2</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-261/" title="Upgrade to WordPress 2.6.1 (September 1, 2008)">Upgrade to WordPress 2.6.1</a> (0)</li><li><a
href="http://www.whatalamp.com/misc/upgrade-to-wordpress-25/" title="Upgrade to WordPress 2.5 (March 31, 2008)">Upgrade to WordPress 2.5</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/wk-J65yuDBK-V7pDovgfrxeb674/0/da"><img src="http://feedads.g.doubleclick.net/~a/wk-J65yuDBK-V7pDovgfrxeb674/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/wk-J65yuDBK-V7pDovgfrxeb674/1/da"><img src="http://feedads.g.doubleclick.net/~a/wk-J65yuDBK-V7pDovgfrxeb674/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/3MWKbInj88o" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-2/</feedburner:origLink></item> <item><title>Upgrade to WordPress 2.8.1</title><link>http://feedproxy.google.com/~r/WhatALamp/~3/iAp0ABeE7wg/</link> <comments>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-1/#comments</comments> <pubDate>Fri, 10 Jul 2009 04:26:49 +0000</pubDate> <dc:creator>David</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[upgrade]]></category><guid isPermaLink="false">http://www.whatalamp.com/?p=340</guid> <description><![CDATA[Upgrade to 2.8.1 with internal upgrade function. Related posts WordPress Upgrade to 2.6.3 (0) WordPress plugins update (0) Upgrade to WordPress 2.8.2 (0) Upgrade to WordPress 2.8 (1) Upgrade to WordPress 2.7.1 is so easy (0) Upgrade to WordPress 2.7 (1) Upgrade to WordPress 2.6.2 (0) Upgrade to WordPress 2.6.1 (0) Upgrade to WordPress 2.5 [...]]]></description> <content:encoded><![CDATA[<p>Upgrade to 2.8.1 with internal upgrade function.</p><h4 class="relatedpost">Related posts</h4><ul
class="st-related-posts"><li><a
href="http://www.whatalamp.com/wordpress/wordpress-upgrade-to-263/" title="WordPress Upgrade to 2.6.3 (October 28, 2008)">WordPress Upgrade to 2.6.3</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/wordpress-plugins-update/" title="WordPress plugins update (May 11, 2009)">WordPress plugins update</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-2/" title="Upgrade to WordPress 2.8.2 (July 20, 2009)">Upgrade to WordPress 2.8.2</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8/" title="Upgrade to WordPress 2.8 (June 11, 2009)">Upgrade to WordPress 2.8</a> (1)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-271-is-so-easy/" title="Upgrade to WordPress 2.7.1 is so easy (February 11, 2009)">Upgrade to WordPress 2.7.1 is so easy</a> (0)</li><li><a
href="http://www.whatalamp.com/announcement/upgrade-to-wordpress-27/" title="Upgrade to WordPress 2.7 (December 16, 2008)">Upgrade to WordPress 2.7</a> (1)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-262/" title="Upgrade to WordPress 2.6.2 (September 8, 2008)">Upgrade to WordPress 2.6.2</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-261/" title="Upgrade to WordPress 2.6.1 (September 1, 2008)">Upgrade to WordPress 2.6.1</a> (0)</li><li><a
href="http://www.whatalamp.com/misc/upgrade-to-wordpress-25/" title="Upgrade to WordPress 2.5 (March 31, 2008)">Upgrade to WordPress 2.5</a> (0)</li><li><a
href="http://www.whatalamp.com/wordpress/upgrade-to-wordpress-25-2/" title="Upgrade to WordPress 2.5 (March 31, 2008)">Upgrade to WordPress 2.5</a> (0)</li></ul>
<p><a href="http://feedads.g.doubleclick.net/~a/0jVqV0ONpSfktHtQLrnWXVas8-o/0/da"><img src="http://feedads.g.doubleclick.net/~a/0jVqV0ONpSfktHtQLrnWXVas8-o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0jVqV0ONpSfktHtQLrnWXVas8-o/1/da"><img src="http://feedads.g.doubleclick.net/~a/0jVqV0ONpSfktHtQLrnWXVas8-o/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/WhatALamp/~4/iAp0ABeE7wg" height="1" width="1"/>]]></content:encoded> <wfw:commentRss>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://www.whatalamp.com/wordpress/upgrade-to-wordpress-2-8-1/</feedburner:origLink></item> </channel> </rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 27/142 queries in 0.176 seconds using disk
Content Delivery Network via maxcdn.whatalamp.g2soft.net

Served from: www.whatalamp.com @ 2010-06-17 20:59:06 -->
