<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-3608247117784736924</id><updated>2008-11-11T01:09:47.136-08:00</updated><title type='text'>LoRz</title><subtitle type='html'></subtitle><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default?start-index=26&amp;max-results=25'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.lorztech.com/atom.xml'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>52</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-990021557005848708</id><published>2008-11-11T01:07:00.000-08:00</published><updated>2008-11-11T01:09:47.147-08:00</updated><title type='text'>Remove filename from URL path</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;pre class="code"&gt;$main_url = $_SERVER['HTTP_REFERER'] ;&lt;br /&gt;$url_explode = explode(&amp;quot;/&amp;quot;, $main_url);&lt;br /&gt;$file_name = end($url_explode);&lt;br /&gt;$file_explode = explode(&amp;quot;.&amp;quot;, $file_name);&lt;br /&gt;$quest_explode = explode(&amp;quot;?&amp;quot;, $file_name);&lt;br /&gt;&lt;br /&gt;if(count($file_explode) &amp;gt; 1){&lt;br /&gt;    $end_is_file = $file_explode[1];&lt;br /&gt;}&lt;br /&gt;else{&lt;br /&gt;    $end_is_file = &amp;quot;&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if(count($quest_explode) &amp;gt; 1){&lt;br /&gt;    $end_is_quest = $quest_explode[1];&lt;br /&gt;}&lt;br /&gt;else{&lt;br /&gt;    $end_is_quest = &amp;quot;&amp;quot;;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;if ($end_is_file!= &amp;quot;&amp;quot;){&lt;br /&gt;    $result_url = str_replace($file_name, &amp;quot;&amp;quot;, $main_url);&lt;br /&gt;    $url = $result_url;&lt;br /&gt;}&lt;br /&gt;elseif ($end_is_quest!= &amp;quot;&amp;quot;){&lt;br /&gt;    $result_url = str_replace($file_name, &amp;quot;&amp;quot;, $main_url);&lt;br /&gt;    $url = $result_url;&lt;br /&gt;}&lt;br /&gt;else{&lt;br /&gt;    if(substr($main_url,-1,1)!= &amp;quot;/&amp;quot;){&lt;br /&gt;        $main_url .= &amp;quot;/&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    $url = $main_url;&lt;br /&gt;}&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/990021557005848708'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/990021557005848708'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/11/remove-filename-from-url-path.html' title='Remove filename from URL path'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-2767944692511313541</id><published>2008-11-08T07:15:00.000-08:00</published><updated>2008-11-08T07:19:47.799-08:00</updated><title type='text'>Tango Icon Library</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;The &lt;a href="http://tango.freedesktop.org/Tango_Icon_Library"&gt;Tango icon library&lt;/a&gt; contains a basic set of icons for the most common usage. To make it easier for a developer to find an appropriate icon for their application a number of aids are there to help.&lt;br /&gt;&lt;img src="http://tango.freedesktop.org/images/2/20/Tango-feet.png" /&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/2767944692511313541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/2767944692511313541'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/11/tango-icon-library.html' title='Tango Icon Library'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-7089799535217373025</id><published>2008-11-05T18:40:00.000-08:00</published><updated>2008-11-05T18:42:08.722-08:00</updated><title type='text'>Free CSS Toolbox</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.blumentals.net/csstool/"&gt;Free CSS Toolbox&lt;/a&gt; is a freeware productivity software for web developers who work with CSS code.&lt;br /&gt;&lt;br /&gt;Free CSS Toolbox includes a number of tools for fast-tracking and enhancing the development of style sheet code, such as an advanced CSS Formatter and CSS Validator.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.blumentals.net/csstool/images/shot.png"&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/7089799535217373025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/7089799535217373025'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/11/free-css-toolbox.html' title='Free CSS Toolbox'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-6483022969180736027</id><published>2008-10-23T20:02:00.000-07:00</published><updated>2008-10-23T20:04:12.440-07:00</updated><title type='text'>Wget for windows</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-style:italic;"&gt;&lt;a href="http://www.gnu.org/software/wget/"&gt;GNU Wget&lt;/a&gt; is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. It is a non-interactive commandline tool, so it may easily be called from scripts, cron jobs, terminals without X-Windows support, etc.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://pages.interlog.com/~tcharron/wgetwin.html"&gt;Wget for windows&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/6483022969180736027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/6483022969180736027'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/10/wget-for-windows.html' title='Wget for windows'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-1291089772723044002</id><published>2008-10-20T04:48:00.000-07:00</published><updated>2008-10-20T04:51:29.305-07:00</updated><title type='text'>Registration using Google Docs</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Create a spreadsheet in &lt;a href="http://docs.google.com"&gt;Google Docs&lt;/a&gt;. Then insert a form in the spreadsheet. Add the necessary form elements by using Add question. Any registrations will be automatically saved to the spreadsheet.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/1291089772723044002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/1291089772723044002'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/10/registration-using-google-docs.html' title='Registration using Google Docs'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-944969258780877497</id><published>2008-10-11T05:26:00.000-07:00</published><updated>2008-10-14T23:36:16.767-07:00</updated><title type='text'>Tail for Windows</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://tailforwin32.sourceforge.net/"&gt;Tail for Win32&lt;/a&gt; is a windows version of the famous Unix tail -f command usually used when monitoring logs.&lt;br /&gt;&lt;br /&gt;&lt;img src="http://tailforwin32.sourceforge.net/images/plain_full.jpg"&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/944969258780877497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/944969258780877497'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/10/tail-for-windows.html' title='Tail for Windows'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-4572381171596211414</id><published>2008-09-30T00:27:00.000-07:00</published><updated>2008-09-30T00:34:22.339-07:00</updated><title type='text'>Link Thumbnail/Screenshot</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Create an account in &lt;a href="http://www.snap.com"&gt;Snap Shots&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You will be asked to add a javascript code to your site.&lt;br /&gt;&lt;br /&gt;Sample Code&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://shots.snap.com/ss/xxxxxxxx/snap_shots.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;  &lt;/pre&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/4572381171596211414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/4572381171596211414'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/link-thumbnail.html' title='Link Thumbnail/Screenshot'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-706598337835968780</id><published>2008-09-27T06:55:00.000-07:00</published><updated>2008-09-27T06:57:19.228-07:00</updated><title type='text'>Select multiple items without Ctrl using Javascript</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Sample Code&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;&amp;lt;select id=&amp;quot;test&amp;quot; multiple=&amp;quot;multiple&amp;quot; size=&amp;quot;9&amp;quot; onmousedown=&amp;quot;savelist()&amp;quot; onchange=&amp;quot;updatelist()&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;option&amp;gt;test 1&amp;lt;/option&amp;gt;&lt;br /&gt;    &amp;lt;option&amp;gt;test 2&amp;lt;/option&amp;gt;&lt;br /&gt;    &amp;lt;option&amp;gt;test 3&amp;lt;/option&amp;gt;&lt;br /&gt;    &amp;lt;option&amp;gt;test 4&amp;lt;/option&amp;gt;&lt;br /&gt;    &amp;lt;option&amp;gt;test 5&amp;lt;/option&amp;gt;&lt;br /&gt;&amp;lt;/select&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;#&amp;quot; onclick=&amp;quot;setall(true); return false&amp;quot;&amp;gt;select all&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;a href=&amp;quot;#&amp;quot; onclick=&amp;quot;setall(false); return false&amp;quot;&amp;gt;deselect all&amp;lt;/a&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;    var list = document.getElementById('test');&lt;br /&gt;    var savedlist = new Array(list.length);&lt;br /&gt;&lt;br /&gt;    function setall(selected) {&lt;br /&gt;        for (var i = list.length - 1; i &amp;gt;= 0; i--) {&lt;br /&gt;            list.options[i].selected = selected;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    function updatelist() {&lt;br /&gt;        for (var i = list.length - 1; i &amp;gt;= 0; i--) {&lt;br /&gt;            list[i].selected = list[i].selected ^ savedlist[i];&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    function savelist() {&lt;br /&gt;        for (var i = list.length - 1; i &amp;gt;= 0; i--) {&lt;br /&gt;            savedlist[i] = list[i].selected;&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/706598337835968780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/706598337835968780'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/select-multiple-items-without-ctrl.html' title='Select multiple items without Ctrl using Javascript'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-375956751580838447</id><published>2008-09-23T22:01:00.000-07:00</published><updated>2008-09-23T22:07:04.694-07:00</updated><title type='text'>Currency converter in PHP</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Sample Code&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;function convert($from,$to){&lt;br /&gt; $url= 'http://finance.yahoo.com/currency/convert?amt=1&amp;from='.$from.'&amp;to='.$to.'&amp;submit=Convert';&lt;br /&gt; $ch = curl_init();&lt;br /&gt; curl_setopt($ch, CURLOPT_URL, $url);&lt;br /&gt; curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt; $feed = curl_exec($ch);&lt;br /&gt; curl_close($ch);&lt;br /&gt; preg_match_all(&amp;quot;/tabledata1\&amp;quot;&amp;gt;([^&amp;lt;]+)&amp;lt;\/td&amp;gt;/&amp;quot;,$feed,$cells);&lt;br /&gt; return $cells[1][1];&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;echo convert('USD','PHP');&lt;br /&gt;?&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;a href="http://www.oanda.com/site/help/iso_code.shtml"&gt;Currency codes&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/375956751580838447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/375956751580838447'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/currency-converter-in-php.html' title='Currency converter in PHP'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-3380432505508636722</id><published>2008-09-23T18:45:00.000-07:00</published><updated>2008-09-23T18:49:25.923-07:00</updated><title type='text'>Remove index.php when anchor is used in Kohana</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Edit the file system/helpers/url.php. Search for the function &lt;blockquote&gt;"public static function site"&lt;/blockquote&gt;In the return part, change &lt;blockquote&gt;return url::base(TRUE, $protocol).$path.$query.$fragment;&lt;/blockquote&gt;to&lt;blockquote&gt;return url::base(FALSE, $protocol).$path.$query.$fragment;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/3380432505508636722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/3380432505508636722'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/remove-indexphp-when-anchor-is-used-in.html' title='Remove index.php when anchor is used in Kohana'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-6183822535895247588</id><published>2008-09-20T05:45:00.000-07:00</published><updated>2008-09-23T22:06:35.154-07:00</updated><title type='text'>Send email in Gmail with attachment using SwiftMailer</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Sample Code&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;&amp;lt;?php&lt;br /&gt;&lt;br /&gt;require_once &amp;quot;lib/Swift.php&amp;quot;;&lt;br /&gt;require_once &amp;quot;lib/Swift/Connection/SMTP.php&amp;quot;;&lt;br /&gt; &lt;br /&gt;$smtp =&amp; new Swift_Connection_SMTP(&amp;quot;smtp.gmail.com&amp;quot;, Swift_Connection_SMTP::PORT_SECURE, Swift_Connection_SMTP::ENC_TLS);&lt;br /&gt;$smtp-&amp;gt;setUsername(&amp;quot;username@gmail.com&amp;quot;);&lt;br /&gt;$smtp-&amp;gt;setpassword(&amp;quot;password&amp;quot;);&lt;br /&gt; &lt;br /&gt;$swift =&amp; new Swift($smtp);&lt;br /&gt;&lt;br /&gt;$message =&amp; new Swift_Message(&amp;quot;My subject&amp;quot;);&lt;br /&gt;$message-&amp;gt;attach(new Swift_Message_Part(&amp;quot;I have attached a file to this message!&amp;quot;));&lt;br /&gt;$message-&amp;gt;attach(new Swift_Message_Attachment(file_get_contents(&amp;quot;test.jpg&amp;quot;), &amp;quot;test.jpg&amp;quot;, &amp;quot;image/jpeg&amp;quot;));&lt;br /&gt; &lt;br /&gt;$swift-&amp;gt;send($message, &amp;quot;to@gmail.com&amp;quot;, &amp;quot;username@gmail.com&amp;quot;);&lt;br /&gt;&lt;br /&gt;?&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/6183822535895247588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/6183822535895247588'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/send-email-in-gmail-with-attachment.html' title='Send email in Gmail with attachment using SwiftMailer'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-8292997243178536872</id><published>2008-09-19T08:15:00.000-07:00</published><updated>2008-09-19T08:23:30.117-07:00</updated><title type='text'>Install ImageMagick in XAMPP</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Download the &lt;a href="http://www.imagemagick.org/script/binary-releases.php#windows"&gt;Windows Binary Release&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Download a &lt;a href="http://valokuva.org/?page_id=50"&gt;Imagick Windows Builds DLL&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Install the &lt;a href="http://www.imagemagick.org/script/binary-releases.php#windows"&gt;Windows Binary Release&lt;/a&gt; to C:\imagemagick.&lt;br /&gt;&lt;br /&gt;Rename the &lt;a href="http://valokuva.org/?page_id=50"&gt;Imagick Windows Builds DLL&lt;/a&gt; to php_imagick.dll.&lt;br /&gt;&lt;br /&gt;Edit the files&lt;br /&gt;&lt;ol&gt;&lt;li&gt;apache/bin/php.ini&lt;/li&gt;&lt;li&gt;php/bin/php.ini&lt;/li&gt;&lt;li&gt;php/bin/php5.ini&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;and add&lt;br /&gt;&lt;blockquote&gt;extension=php_imagick.dll&lt;/blockquote&gt;&lt;br /&gt;Restart apache and check in phpinfo if imagick module is installed.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/8292997243178536872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/8292997243178536872'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/install-imagemagick-in-xampp.html' title='Install ImageMagick in XAMPP'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-2131981818178713268</id><published>2008-09-13T06:45:00.000-07:00</published><updated>2008-09-13T06:51:35.629-07:00</updated><title type='text'>Invalid Session in Joomla Administrator</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Create a php.ini file and tmp directory in the root directory. The php.ini file should contain the session save path which must point to the $mosConfig_absolute_path (configuration.php) + tmp.&lt;br /&gt; &lt;br /&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;session.save_path /home/users/web/lorz/public_html/tmp&lt;/pre&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/2131981818178713268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/2131981818178713268'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/invalid-session-in-joomla.html' title='Invalid Session in Joomla Administrator'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-5805173458670579367</id><published>2008-09-03T23:52:00.000-07:00</published><updated>2008-09-04T00:03:59.103-07:00</updated><title type='text'>Setup SwiftMailer in Kohana using Gmail</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Change the settings in the system/config/email.php file.&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;$config['driver'] = 'smtp';&lt;br /&gt;$config['options'] = array(&lt;br /&gt;                            'hostname' =&amp;gt; 'smtp.gmail.com', &lt;br /&gt;                            'username' =&amp;gt; 'username@gmail.com', &lt;br /&gt;                            'password' =&amp;gt; 'password',&lt;br /&gt;                            'port' =&amp;gt; '465', &lt;br /&gt;                            'encryption' =&amp;gt; 'tls'&lt;br /&gt;                        );&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;Sample code for sending an email.&lt;br /&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;$to = 'to@gmail.com';&lt;br /&gt;$from    = 'from@gmail.com';&lt;br /&gt;$subject = 'Suject';&lt;br /&gt;$message = 'Message';&lt;br /&gt; &lt;br /&gt;$swift = email::connect(); &lt;br /&gt;$message = new Swift_Message($subject, $message); &lt;br /&gt;$swift-&amp;gt;send($message, $to, $from);&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;a href="http://forums.slhost.com/showthread.php?p=1544"&gt;TCP_OUT for port 465 must also be enabled.&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/5805173458670579367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/5805173458670579367'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/setup-swiftmailer-in-kohana-using-gmail.html' title='Setup SwiftMailer in Kohana using Gmail'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-8783240326658510887</id><published>2008-09-01T23:03:00.000-07:00</published><updated>2008-09-13T18:20:02.592-07:00</updated><title type='text'>Select Transfer in jQuery</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Sample code using &lt;a href="http://jquery.com/"&gt;jQuery&lt;/a&gt; to transfer data from 2 select boxes.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;pre class="code"&gt;&amp;lt;html&amp;gt;&lt;br /&gt;&amp;lt;head&amp;gt;&lt;br /&gt; &amp;lt;script src=&amp;quot;js/jquery.js&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt; &amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;  $().ready(function() {&lt;br /&gt;   $('#add').click(function() {&lt;br /&gt;    var selected1 = $("#select1 option:selected"); &lt;br /&gt;    alert(selected1.val());&lt;br /&gt;    alert(selected1.text());&lt;br /&gt;    return !selected2.remove().appendTo('#select2');&lt;br /&gt;   });&lt;br /&gt;   $('#remove').click(function() {&lt;br /&gt;    var selected2 = $("#select2 option:selected"); &lt;br /&gt;    alert(selected2.val());&lt;br /&gt;    alert(selected2.text());&lt;br /&gt;    return !selected2.remove().appendTo('#select1');&lt;br /&gt;   });&lt;br /&gt;  });&lt;br /&gt; &amp;lt;/script&amp;gt;&lt;br /&gt; &lt;br /&gt; &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;  a {&lt;br /&gt;   display: block;&lt;br /&gt;   border: 1px solid #aaa;&lt;br /&gt;   text-decoration: none;&lt;br /&gt;   background-color: #fafafa;&lt;br /&gt;   color: #123456;&lt;br /&gt;   margin: 2px;&lt;br /&gt;   clear:both;&lt;br /&gt;  }&lt;br /&gt;  div {&lt;br /&gt;   float:left;&lt;br /&gt;   text-align: center;&lt;br /&gt;   margin: 10px;&lt;br /&gt;  }&lt;br /&gt;  select {&lt;br /&gt;   width: 100px;&lt;br /&gt;   height: 80px;&lt;br /&gt;  }&lt;br /&gt; &amp;lt;/style&amp;gt;&lt;br /&gt; &lt;br /&gt;&amp;lt;/head&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt; &amp;lt;div&amp;gt;&lt;br /&gt;  &amp;lt;select multiple id=&amp;quot;select1&amp;quot;&amp;gt;&lt;br /&gt;   &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;Option 1&amp;lt;/option&amp;gt;&lt;br /&gt;   &amp;lt;option value=&amp;quot;2&amp;quot;&amp;gt;Option 2&amp;lt;/option&amp;gt;&lt;br /&gt;   &amp;lt;option value=&amp;quot;3&amp;quot;&amp;gt;Option 3&amp;lt;/option&amp;gt;&lt;br /&gt;   &amp;lt;option value=&amp;quot;4&amp;quot;&amp;gt;Option 4&amp;lt;/option&amp;gt;&lt;br /&gt;  &amp;lt;/select&amp;gt;&lt;br /&gt;  &amp;lt;a href=&amp;quot;#&amp;quot; id=&amp;quot;add&amp;quot;&amp;gt;add &amp;gt;&amp;gt;&amp;lt;/a&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;br /&gt; &amp;lt;div&amp;gt;&lt;br /&gt;  &amp;lt;select multiple id=&amp;quot;select2&amp;quot;&amp;gt;&amp;lt;/select&amp;gt;&lt;br /&gt;  &amp;lt;a href=&amp;quot;#&amp;quot; id=&amp;quot;remove&amp;quot;&amp;gt;&amp;lt;&amp;lt; remove&amp;lt;/a&amp;gt;&lt;br /&gt; &amp;lt;/div&amp;gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/8783240326658510887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/8783240326658510887'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/09/select-transfer-in-jquery.html' title='Select Transfer in jQuery'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-3602636287744106027</id><published>2008-08-27T22:56:00.000-07:00</published><updated>2008-08-27T22:59:32.327-07:00</updated><title type='text'>MP3 Audio Player for Websites</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;A &lt;a href="http://www.macloo.com/examples/audio_player/"&gt;tutorial&lt;/a&gt; for embedding mp3 audio player in websites using &lt;a href="http://www.1pixelout.net/code/audio-player-wordpress-plugin/"&gt;Audio Player Wordpress plugin&lt;/a&gt; from &lt;a href="http://www.1pixelout.net/"&gt;1pixelout&lt;/a&gt;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/3602636287744106027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/3602636287744106027'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/mp3-audio-player-for-websites.html' title='MP3 Audio Player for Websites'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-8623875831169112196</id><published>2008-08-26T03:34:00.000-07:00</published><updated>2008-08-26T03:36:56.619-07:00</updated><title type='text'>Install multiple versions of IE</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://tredosoft.com/Multiple_IE"&gt;http://tredosoft.com/Multiple_IE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://tredosoft.com/files/multi-ie/multiple-ie-setup.exe"&gt;Multiple IE installer&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/8623875831169112196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/8623875831169112196'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/install-multiple-versions-of-ie.html' title='Install multiple versions of IE'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-7905003561883105099</id><published>2008-08-26T03:30:00.000-07:00</published><updated>2008-08-26T03:34:15.756-07:00</updated><title type='text'>Calculating Relative Time in PHP</title><content type='html'>&lt;blockquote&gt;&lt;pre class="code"&gt;&lt;br /&gt;class calculateTime&lt;br /&gt;{&lt;br /&gt; public static function createTimeString($timeStamp, $format=&amp;quot;long&amp;quot;, $dateFormat=&amp;quot;n/j/Y&amp;quot;)&lt;br /&gt; {&lt;br /&gt;  // Take the current time and create the difference&lt;br /&gt;  $timeDifference = time() - $timeStamp;&lt;br /&gt; &lt;br /&gt;  // Check the length of time passed since seconds&lt;br /&gt;  switch($timeDifference)&lt;br /&gt;  {&lt;br /&gt;   // Date is less than an hour old&lt;br /&gt;   case $timeDifference &amp;lt;= 3600:&lt;br /&gt;    $minutes = floor($timeDifference / 60);&lt;br /&gt;    $seconds = $timeDifference - ($minutes * 60);&lt;br /&gt; &lt;br /&gt;    // Choose correct pluralizations&lt;br /&gt;    if($minutes == 1)&lt;br /&gt;    {&lt;br /&gt;     $minuteString = &amp;quot;minute&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;     $minuteString = &amp;quot;minutes&amp;quot;;&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    if($seconds == 1)&lt;br /&gt;    {&lt;br /&gt;     $secondString = &amp;quot;second&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;     $secondString = &amp;quot;seconds&amp;quot;;&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    switch($format)&lt;br /&gt;    {&lt;br /&gt;     case &amp;quot;short&amp;quot;:&lt;br /&gt;      return $minutes . &amp;quot;m &amp;quot; . $seconds . &amp;quot;s ago&amp;quot;;&lt;br /&gt;     break;&lt;br /&gt; &lt;br /&gt;     default:&lt;br /&gt;      return $minutes . &amp;quot; &amp;quot; . $minuteString . &amp;quot; &amp;quot; . $seconds . &amp;quot; &amp;quot; . $secondString . &amp;quot; ago&amp;quot;;&lt;br /&gt;     break;&lt;br /&gt;    }&lt;br /&gt;   break;&lt;br /&gt; &lt;br /&gt;   // Date is less than a day old&lt;br /&gt;   case $timeDifference &amp;lt;= 86400:&lt;br /&gt;    $hours = floor($timeDifference / 60 / 60);&lt;br /&gt;    $minutes = floor(($timeDifference - ($hours * 60 * 60)) / 60);&lt;br /&gt; &lt;br /&gt;    // Choose correct pluralizations&lt;br /&gt;    if($hours == 1)&lt;br /&gt;    {&lt;br /&gt;     $hourString = &amp;quot;hour&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;     $hourString = &amp;quot;hours&amp;quot;;&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    if($minutes == 1)&lt;br /&gt;    {&lt;br /&gt;     $minuteString = &amp;quot;minute&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;     $minuteString = &amp;quot;minutes&amp;quot;;&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    switch($format)&lt;br /&gt;    {&lt;br /&gt;     case &amp;quot;short&amp;quot;:&lt;br /&gt;      return $hours . &amp;quot;h &amp;quot; . $minutes . &amp;quot;m ago&amp;quot;;&lt;br /&gt;     break;&lt;br /&gt; &lt;br /&gt;     default:&lt;br /&gt;      return $hours . &amp;quot; &amp;quot; . $hourString . &amp;quot; &amp;quot; . $minutes . &amp;quot; &amp;quot; . $minuteString . &amp;quot; ago&amp;quot;;&lt;br /&gt;     break;&lt;br /&gt;    }&lt;br /&gt;   break;&lt;br /&gt; &lt;br /&gt;   // Date is less than a week old.&lt;br /&gt;   case $timeDifference &amp;lt;= 604800:&lt;br /&gt;    $days = floor($timeDifference / 86400);&lt;br /&gt;    $hours = floor(($timeDifference - ($days * 86400)) / 60 / 60);&lt;br /&gt; &lt;br /&gt;    // Choose correct pluralizations&lt;br /&gt;    if($days == 1)&lt;br /&gt;    {&lt;br /&gt;     $dayString = &amp;quot;day&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;     $dayString = &amp;quot;days&amp;quot;;&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    if($hours == 1)&lt;br /&gt;    {&lt;br /&gt;     $hourString = &amp;quot;hour&amp;quot;;&lt;br /&gt;    }&lt;br /&gt;    else&lt;br /&gt;    {&lt;br /&gt;     $hourString = &amp;quot;hours&amp;quot;;&lt;br /&gt;    }&lt;br /&gt; &lt;br /&gt;    switch($format)&lt;br /&gt;    {&lt;br /&gt;     case &amp;quot;short&amp;quot;:&lt;br /&gt;      return $days . &amp;quot;d &amp;quot; . $hours . &amp;quot;h ago&amp;quot;;&lt;br /&gt;     break;&lt;br /&gt; &lt;br /&gt;     default:&lt;br /&gt;      return $days . &amp;quot; &amp;quot; . $dayString . &amp;quot; &amp;quot; . $hours . &amp;quot; &amp;quot; . $hourString . &amp;quot; ago&amp;quot;;&lt;br /&gt;     break;&lt;br /&gt;    }&lt;br /&gt;   break;&lt;br /&gt; &lt;br /&gt;   // Older than one week. Just return the absolute date.&lt;br /&gt;   default:&lt;br /&gt;    return date($dateFormat, $timeStamp);&lt;br /&gt;   break;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt; &lt;br /&gt;?&amp;gt;&lt;/pre&gt;&lt;br /&gt;&lt;/blockquote&gt;from &lt;a href="http://blog.sacklun.ch/?p=9"&gt;http://blog.sacklun.ch/?p=9&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/7905003561883105099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/7905003561883105099'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/calculating-relative-time-in-php.html' title='Calculating Relative Time in PHP'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-5745178231266773981</id><published>2008-08-26T02:08:00.000-07:00</published><updated>2008-08-26T02:10:11.453-07:00</updated><title type='text'>Get Filename in PHP</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;pre class="code"&gt;$filename = preg_replace('/(.+)\..*$/', '$1', $file);&lt;/pre&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/5745178231266773981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/5745178231266773981'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/get-filename-in-php.html' title='Get Filename in PHP'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-6030620440787702093</id><published>2008-08-14T17:10:00.000-07:00</published><updated>2008-08-14T17:16:40.215-07:00</updated><title type='text'>Custom JavaScript Dialog Boxes</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;JavaScript dialog box library which offers four model dialog styles: alerts, warnings, prompts and success.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sandbox.leigeber.com/dialog/dialog_box.html"&gt;Demo&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.leigeber.com/wp-content/uploads/2008/04/dialog.zip"&gt;Download&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/6030620440787702093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/6030620440787702093'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/custom-javascript-dialog-boxes.html' title='Custom JavaScript Dialog Boxes'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-5332704469873972448</id><published>2008-08-14T07:30:00.000-07:00</published><updated>2008-08-14T07:31:45.321-07:00</updated><title type='text'>PHP Podcast</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://c7y.phparch.com/c/tag/1/podcast"&gt;P3&lt;/a&gt; (php|architect's PHP Podcast) is a bi-weekly radio-style program full of news, punditry and plenty of rambling.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/5332704469873972448'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/5332704469873972448'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/php-podcast.html' title='PHP Podcast'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-7751582906033433144</id><published>2008-08-14T06:37:00.000-07:00</published><updated>2008-08-14T06:40:27.782-07:00</updated><title type='text'>Ratproxy</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Google has released its free &lt;a href="http://code.google.com/p/ratproxy"&gt;Ratproxy&lt;/a&gt; security tool to those wanting to&lt;br /&gt;test the security of their Web-based apps, including for cross-site scripting&lt;br /&gt;attacks.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;a href="http://code.google.com/p/ratproxy"&gt;Ratproxy&lt;/a&gt; is a semi-automated, largely passive web application security audit tool. It is meant to complement active crawlers and manual proxies more commonly used for this task, and is optimized specifically for an accurate and sensitive detection, and automatic annotation, of potential problems and security-relevant design patterns based on the observation of existing, user-initiated traffic in complex web 2.0 environments.&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/7751582906033433144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/7751582906033433144'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/ratproxy.html' title='Ratproxy'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-15816148567598941</id><published>2008-08-05T19:41:00.000-07:00</published><updated>2008-08-05T19:45:12.190-07:00</updated><title type='text'>Add PHP related extension in Notepad++</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Settings - Style Configurator&lt;/li&gt;&lt;li&gt;Select PHP from the Language list&lt;/li&gt;&lt;li&gt;Look for the User ext: textbox&lt;/li&gt;&lt;li&gt;Enter the extension&lt;/li&gt;&lt;li&gt;Save &amp;amp; Close&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/15816148567598941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/15816148567598941'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/add-php-related-extension-in-notepad.html' title='Add PHP related extension in Notepad++'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-553160137106213545</id><published>2008-08-02T08:13:00.000-07:00</published><updated>2008-08-02T08:20:19.905-07:00</updated><title type='text'>PHP functions equivalent to Javascript functions</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href="http://kevin.vanzonneveld.net/techblog/article/phpjs_licensing/"&gt;PHP to Javascript Project&lt;/a&gt; which aims to decrease the gap between developing for PHP &amp; Javascript.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/553160137106213545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/553160137106213545'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/php-functions-equivalent-to-javascript.html' title='PHP functions equivalent to Javascript functions'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry><entry><id>tag:blogger.com,1999:blog-3608247117784736924.post-1029046605125652513</id><published>2008-08-02T05:31:00.000-07:00</published><updated>2008-08-02T05:38:56.652-07:00</updated><title type='text'>Enabling eAccelerator  in XAMPP</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;Files to edited to enable &lt;a href="http://eaccelerator.net/"&gt;eAccelerator&lt;/a&gt;.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;apache/bin/php.ini&lt;/li&gt;&lt;li&gt;php/bin/php.ini&lt;/li&gt;&lt;li&gt;php/bin/php5.ini&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Uncomment the lines below [eAccelerator].&lt;br /&gt;&lt;br /&gt;Check if eAccelerator by running php -v in the command line.&lt;br /&gt;You should see this line&lt;br /&gt;&lt;br /&gt;Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies&lt;br /&gt;  with eAccelerator v0.9.5.2, Copyright (c) 2004-2006 eAccelerator, by eAccelerator&lt;br /&gt;&lt;br /&gt;Check also using phpinfo(); and look for the line eAccelerator which should be enabled.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/1029046605125652513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3608247117784736924/posts/default/1029046605125652513'/><link rel='alternate' type='text/html' href='http://www.lorztech.com/2008/08/enabling-eaccelerator-in-xampp.html' title='Enabling eAccelerator  in XAMPP'/><author><name>mic</name><uri>http://www.blogger.com/profile/10108906693478557141</uri><email>noreply@blogger.com</email></author></entry></feed>