<?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>envio land &#187; code igniter</title>
	<atom:link href="http://a3-system.info/blog/category/code-igniterciframework/feed/" rel="self" type="application/rss+xml" />
	<link>http://a3-system.info/blog</link>
	<description>Ash Like Snow</description>
	<lastBuildDate>Fri, 27 Aug 2010 14:47:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Send Email Using Codeigniter on Yahoo Small Business</title>
		<link>http://a3-system.info/blog/php/send-email-using-codeigniter-on-yahoo-small-business/</link>
		<comments>http://a3-system.info/blog/php/send-email-using-codeigniter-on-yahoo-small-business/#comments</comments>
		<pubDate>Sat, 31 Jul 2010 02:13:55 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=280</guid>
		<description><![CDATA[I just successfully using Codeigniter email library to send an email on Yahoo small business,  It&#8217;s not to difficult to do that, here my step.

Login To your Yahoo small business, http://smallbusiness.yahoo.com/
Click &#8220;Access Your Account&#8221; on top bar, then &#8220;small business&#8221;
Click &#8220;Web Hosting Controll Panel&#8221;
Click &#8220;Create &#38; Update&#8221; tab
Click &#8220;Other Site Building Tools&#8221;
Click &#8220;PHP/Perl Mail&#8221;
On right [...]]]></description>
			<content:encoded><![CDATA[<p>I just successfully using Codeigniter email library to send an email on Yahoo small business,  It&#8217;s not to difficult to do that, here my step.</p>
<ol>
<li>Login To your Yahoo small business, http://smallbusiness.yahoo.com/</li>
<li>Click &#8220;Access Your Account&#8221; on top bar, then &#8220;small business&#8221;</li>
<li>Click &#8220;Web Hosting Controll Panel&#8221;</li>
<li>Click &#8220;Create &amp; Update&#8221; tab</li>
<li>Click &#8220;Other Site Building Tools&#8221;</li>
<li>Click &#8220;PHP/Perl Mail&#8221;</li>
<li>On right side, you must set email sender to use on &#8220;From&#8221; field, for example I use <strong>webmaster</strong></li>
<li>Click &#8220;Save Default&#8221; to set it</li>
</ol>
<p>Now at CodeIgniter controller we must use email address that have been already set on &#8216;from&#8217; field, for example I have already set &#8220;webmaster@mydomain.com&#8221; so here the code example:</p>
<pre name="code" class="php">
## send email to some one
$this-&gt;load-&gt;library('email');
$config['protocol']     = 'sendmail';
$config['mailpath']     = '/usr/sbin/sendmail -t';
$config['wordwrap']     = TRUE;
$config['useragent']    = 'CI Mailer';
$config['mailtype']     = 'text';
$config['newline']      = "\r\n";

## email contact
$this-&gt;email-&gt;initialize($config);
$this-&gt;email-&gt;from('webmaster@mydomain.com');
$this-&gt;email-&gt;to('recipient@domain.com');
$this-&gt;email-&gt;subject('Web Visitor");
$message  = "Test Email";

$this-&gt;email-&gt;message($message);
$this-&gt;email-&gt;send();
#echo $this-&gt;email-&gt;print_debugger();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/send-email-using-codeigniter-on-yahoo-small-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter , HTTP Error 406 &amp; Mod_security</title>
		<link>http://a3-system.info/blog/php/codeigniter-http-error-406-mod_security/</link>
		<comments>http://a3-system.info/blog/php/codeigniter-http-error-406-mod_security/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 14:26:25 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[codeigniter mod_security 406 error]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=246</guid>
		<description><![CDATA[This day I have to update a website based on Codeigniter, 1.54. When trying on the development environment, all running smoothly, but when transferred to the server some problems arise.
In part used  session function (I use the library session Codeigniter) , randomly  displays a HTTP 406 error.
When searching on google, I know that [...]]]></description>
			<content:encoded><![CDATA[<p>This day I have to update a website based on Codeigniter, 1.54. When trying on the development environment, all running smoothly, but when transferred to the server some problems arise.</p>
<p>In part used  session function (I use the library session Codeigniter) , randomly  displays a HTTP 406 error.</p>
<p>When searching on google, I know that the problem is probably caused by the Apache  mod_security. I tried de-active mod_security  function using  . htaccess files but it causes HTTP error 500.</p>
<p>When a page that uses session displays a HTTP 406 error, It can be fixed by delete computer cookies, but sometimes  it comes back HTTP error 406 at random.</p>
<p>Another problem, the session produced by the library Codeigniter likely trigger mod_security apache and the mod_security considers it as a threat so mod_security block access from my  IP (I have many times to reset my modem to get a new IP)</p>
<p>My solution :  I change my session from the Codeigniter library  into Native PHP session. The solution worked perfectly, I don&#8217;t have anymore HTTP error 406 and blocked by mod_security.</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeigniter-http-error-406-mod_security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter Session Problem on Internet Explorer (IE)</title>
		<link>http://a3-system.info/blog/php/codeigniter-session-problem-on-internet-explorer-ie/</link>
		<comments>http://a3-system.info/blog/php/codeigniter-session-problem-on-internet-explorer-ie/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 13:02:59 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=219</guid>
		<description><![CDATA[Yesterday I got report from my client website, he tell me that he can not login on their administrator panel, then I ask what browser that he use, he said Internet Explorer. After couple hour I did some test, I use IE to access administrator panel, then the web panel say I am not login, [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I got report from my client website, he tell me that he can not login on their administrator panel, then I ask what browser that he use, he said Internet Explorer. After couple hour I did some test, I use IE to access administrator panel, then the web panel say I am not login, just like redirected to some page that If I am not login yet I will redirected in to it.</p>
<p>After googling , I found information that say there a problem with server clock, since I got server access ( thanks to someone that allow me in <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) I adjust server clock same as my computer clock. Surprise  &#8230;.. I test from IE everything work fine just like there nothing happen.</p>
<p>Then I run a little test, my session expire setting is 7200 (2 hour), I change my computer clock 1 hour faster, I test the administrator panel again and everything work fine.</p>
<p>Then I adjust my computer clock 3 hour faster (more that session expire setting) then my administrator panel fail to work again &#8230;. just wondering how could be like this <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>For now I move my application to native PHP Session &#8230;. lot work to do</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeigniter-session-problem-on-internet-explorer-ie/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Codeigniter 1.7.2</title>
		<link>http://a3-system.info/blog/code-igniterciframework/codeigniter-1-7-2/</link>
		<comments>http://a3-system.info/blog/code-igniterciframework/codeigniter-1-7-2/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 03:22:22 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=211</guid>
		<description><![CDATA[Just saw new release of Codeigniter 1.7.2 on my Facebook account. He he he a new library look so interesting to try, a shopping chart library, can&#8217;t wait to try it  
]]></description>
			<content:encoded><![CDATA[<p>Just saw new release of Codeigniter 1.7.2 on my Facebook account. He he he a new library look so interesting to try, a shopping chart library, can&#8217;t wait to try it <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/code-igniterciframework/codeigniter-1-7-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Date Validation Method in PHP</title>
		<link>http://a3-system.info/blog/php/date-validation-method-in-php/</link>
		<comments>http://a3-system.info/blog/php/date-validation-method-in-php/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 01:55:48 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[date validation PHP]]></category>
		<category><![CDATA[methode]]></category>
		<category><![CDATA[step]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=192</guid>
		<description><![CDATA[Just realize that the date validation is little tricky, yesterday I just make my new date validation method. Include couple step :

Validate the date input according to our rule, for example because I use this date picker ( come from http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html ), the date format default will be, dd/mm/yy. So we must ensure the date [...]]]></description>
			<content:encoded><![CDATA[<p>Just realize that the date validation is little tricky, yesterday I just make my new date validation method. Include couple step :<br />
<span id="more-192"></span><br />
Validate the date input according to our rule, for example because I use this date picker ( come from <a href="http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html">http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/index.html</a> ), the date format default will be, dd/mm/yy. So we must ensure the date input format is correct. So I will use regular expression here :</p>
<pre name="code" class="php">
$patt = '/^(0?[1-9]|[12][0-9]|3[01])[\/](0?[1-9]|1[0-2])[\/](19|20)\d{2}$/';</pre>
<p>After sure the date input is valid according our rule, we must also validate the input date according the calendar, for example, if the user input 31/2/2009 it will be valid in that regular expression check, but of course there no February 31 :p</p>
<pre name="code" class="php">
$inputdate = explode("/",$_POST['inputdate']);
if ( ! checkdate($inputdate[1],$inputdate[0],$inputdate[2]) )
{
 echo 'Invalid Date';
}</pre>
<p>So here my  complete example code snippet :</p>
<pre name="code" class="php">
## date input pattern validation
$patt = '/^(0?[1-9]|[12][0-9]|3[01])[\/](0?[1-9]|1[0-2])[\/](19|20)\d{2}$/';
if (! preg_match($patt,$_POST['inputdate']))
{
echo 'Invalid Date Format, mm/dd/yy';
die();
}
else
{
echo 'A Valid Date Format';
}

## calendar validation
$inputdate = explode("/",$_POST['inputdate']);
if ( ! checkdate($inputdate[1],$inputdate[0],$inputdate[2]) )
{
echo 'Invalid Date according Calendar';
die();
}
else
{
echo 'A Valid Date according Calendar';
}</pre>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/date-validation-method-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIngiter Multilingual Coding Notice</title>
		<link>http://a3-system.info/blog/php/codeingiter-multilingual-coding-notice/</link>
		<comments>http://a3-system.info/blog/php/codeingiter-multilingual-coding-notice/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 09:12:52 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[codeiginter]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[france character]]></category>
		<category><![CDATA[language library]]></category>
		<category><![CDATA[multi lingual]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=187</guid>
		<description><![CDATA[When you doing a multi lingual code some time you will find with unusual character, for example when you doing code in France Language, you will found some character like   é
In code igniter, when you use &#8220;Language Class&#8221; you will create a &#8220;Language file&#8221; in your language directory application path. The important part [...]]]></description>
			<content:encoded><![CDATA[<p>When you doing a multi lingual code some time you will find with unusual character, for example when you doing code in France Language, you will found some character like   <strong>é</strong></p>
<p>In code igniter, when you use &#8220;Language Class&#8221; you will create a &#8220;Language file&#8221; in your language directory application path. The important part is, when you make the &#8220;language file&#8221; make sure you use right decode method. By default many text editor use ANSI decoding for file format. It must be change to UTF-8 to make sure when you use your language file, it will display right character.</p>
<p>For example, I use Notepad++ editor, I can change the file format into UTF-8 from Toolbar choose  &#8220;Format&#8221; -&gt; &#8220;Convert to UTF-8 without BOM&#8221;.</p>
<p>Code Example :</p>
<p><strong>$lang['messege_fail_head']        = &#8220;Désolé, il ya une erreur&#8221;;</strong></p>
<p>With out correct file encoding, when you &#8220;<strong>echo $this-&gt;lang-&gt;line(&#8216;messege_fail_head&#8217;)</strong>&#8221;</p>
<p>It will display :</p>
<p><strong>D?sol?, il ya une erreur</strong></p>
<p>With correct file encoding (UTF-8)</p>
<p><strong>Désolé, il ya une erreur</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeingiter-multilingual-coding-notice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Codeigniter Upload Problem</title>
		<link>http://a3-system.info/blog/php/codeigniter-upload-problem/</link>
		<comments>http://a3-system.info/blog/php/codeigniter-upload-problem/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 05:40:08 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[CI code ignoter upload problem]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=176</guid>
		<description><![CDATA[CI provide us a class to simplify our file uploading routine. We can easily make a file uploading process in just a few simple step, no head spin needed. But we must know how the Uploading class work, so we can solve some problem may occurred.

A very common mistake is on &#8216;file type&#8217; setting. In [...]]]></description>
			<content:encoded><![CDATA[<p>CI provide us a class to simplify our file uploading routine. We can easily make a file uploading process in just a few simple step, no head spin needed. But we must know how the Uploading class work, so we can solve some problem may occurred.<br />
<span id="more-176"></span><br />
A very common mistake is on &#8216;file type&#8217; setting. In file uploading process, off course  we need limit kind of file that allowed to upload and this will be common mistake.</p>
<p>The CI Upload class use their own &#8216;mime&#8217; data to determinate the file mime type, I think why they use own mime rather than using mime function on PHP or Apache is to avoid dependency. Some server may not include mime extension in their setting so it will be problem if we can not use mime function to determinate the file mime.</p>
<p>The CI mime file located in system/application/config/mimes.php , when we do upload some file using upload class, the file that uploaded will generate the information about the file like file name, file type, size and temporary file name. <em>This information generated by the browser</em>. Here some information example of an &#8216;exe&#8217; file uploaded using Internet Explorer browser.</p>
<p>Array<br />
(<br />
[userfile] =&gt; Array<br />
(<br />
[name] =&gt; putty.exe<br />
[type] =&gt; application/x-msdownload<br />
[tmp_name] =&gt; d:/wamp/tmp\phpCF.tmp<br />
[error] =&gt; 0<br />
[size] =&gt; 454656<br />
)</p>
<p>)</p>
<p>The Uploading class use &#8216;type&#8217; information as mime types. That information will compared with data from system/application/config/mimes.php to determinate if the file allowed to upload. If the data from &#8216;type&#8217; included on mimes.php data it mark as &#8216;allowed file&#8217;. From mimes.php, an &#8221;exe&#8221; file mime type is :</p>
<p>&#8216;exe&#8217;    =&gt;    &#8216;application/octet-stream&#8217;,</p>
<p>And from &#8216;type&#8217; information the &#8216;exe&#8217; file mime type is :</p>
<p>application/x-msdownload</p>
<p>Now we can see the problem here, the file information is generated by the browser and the browser may generate different kind of file type, Here the example for an &#8220;exe&#8221; file :</p>
<p>Internet Explorer : application/octet-stream (we have no problem if we use IE for upload)<br />
Firefox : application/x-msdos-program (we got problem here)<br />
Safari : application/x-msdownload (we also got problem here)<br />
Opera : application/x-msdownload (we also got problem here)</p>
<p>So, we must check the allowed file type and the mime type in mimes.php in common browser : Safari, IE , Firefox and  Opera is quite enough. For debugging, put this code on line 195 of Uploading Class, you will got information about file you been uploaded like in above example.</p>
<p>echo &#8216;</p>
<pre>';
print_r($_FILES[$field]['type']);
echo '</pre>
<p>&#8216;;<br />
die();<br />
?&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeigniter-upload-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To Longitude &amp; Latitude Conversion Tool</title>
		<link>http://a3-system.info/blog/php/to-longitude-latitude-conversion-tool/</link>
		<comments>http://a3-system.info/blog/php/to-longitude-latitude-conversion-tool/#comments</comments>
		<pubDate>Wed, 20 May 2009 06:01:46 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[fun stuff]]></category>
		<category><![CDATA[google stuff]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[conversion tool]]></category>
		<category><![CDATA[degree minute]]></category>
		<category><![CDATA[google map longitude latitude]]></category>
		<category><![CDATA[longitude latitude conversion tools]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=157</guid>
		<description><![CDATA[Just make small script to do conversion from Garmin GPS data or maybe other GPS with (East/West &#38; North/East) Degre and minute value format into latitude and longitude format that usually I used with google map.
Example Garmin Waypoint Data :
Waypoint    NodeName        User Waypoint    S7 28.180 E110 56.250
It will South (S) 7 degree and [...]]]></description>
			<content:encoded><![CDATA[<p>Just make small script to do conversion from Garmin GPS data or maybe other GPS with (East/West &amp; North/East) Degre and minute value format into latitude and longitude format that usually I used with google map.</p>
<p>Example Garmin Waypoint Data :</p>
<p>Waypoint    NodeName        User Waypoint    S7 28.180 E110 56.250</p>
<p>It will South (S) 7 degree and 28.180 minute  , East (E) 110 degree and 56.250 minute</p>
<p>Check this address :</p>
<p><a href="http://a3-system.info/demo/longlat">http://a3-system.info/demo/longlat</a></p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/to-longitude-latitude-conversion-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter Upload Class problem</title>
		<link>http://a3-system.info/blog/php/codeigniter-upload-class-problem/</link>
		<comments>http://a3-system.info/blog/php/codeigniter-upload-class-problem/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 00:31:21 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[codeigniter upload problem]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=145</guid>
		<description><![CDATA[Codeigniter provide us File Uploading Class to make our upload file routine more easily. I use File Uploading Class frequently on image file upload and there always no problem. Yesterday I try to upload EXE file and there said &#8220;The filetype you are attempting to upload is not allowed&#8221; even I have put the EXE [...]]]></description>
			<content:encoded><![CDATA[<p>Codeigniter provide us File Uploading Class to make our upload file routine more easily. I use File Uploading Class frequently on image file upload and there always no problem. Yesterday I try to upload EXE file and there said &#8220;The filetype you are attempting to upload is not allowed&#8221; even I have put the EXE file extension in File Uploading Class configuration.</p>
<p>$config['allowed_types'] = &#8216;exe|pdf|doc|txt|xls|zip|jpg|gif|png|swf&#8217;;</p>
<p>Then I open the File Uploading Class then I found that the file type for file that we upload compared to the MIME data in &#8220;config/mimes.php&#8221;</p>
<p>&#8216;exe	=>	&#8216;application/octet-stream&#8217;,</p>
<p>The &#8220;EXE&#8221; file type generated by browser when uploading, on my browser the EXE file know as &#8220;application/x-msdos-program&#8221;. So that&#8217;s why when I upload EXE file there always not allowed. We need add something to mimes file for EXE file , it should be like this </p>
<p>&#8216;exe&#8217;	=>	array (&#8216;application/octet-stream&#8217;,'application/x-msdos-program&#8217;),</p>
<p>This situation may happen to another file type. So if you face same situation you know what you should do <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeigniter-upload-class-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CodeIgniter thumbnail file name</title>
		<link>http://a3-system.info/blog/php/codeigniter-thumbnail-file-name/</link>
		<comments>http://a3-system.info/blog/php/codeigniter-thumbnail-file-name/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 14:02:20 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[code igniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[Image_lib]]></category>
		<category><![CDATA[thumbnail]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=137</guid>
		<description><![CDATA[When we use &#8220;Image_lib&#8221; to create image thumbnail, the default thumbnail file format created should be :
filename_thumb.file_ext
When I use it, I got so many un convenience situation, so I think the thumbnail file format will be better if the format like this :
thumb_filename.file_ext
That file format help me so much in many situation. To change thumbnail [...]]]></description>
			<content:encoded><![CDATA[<p>When we use &#8220;Image_lib&#8221; to create image thumbnail, the default thumbnail file format created should be :</p>
<p>filename_thumb.file_ext</p>
<p>When I use it, I got so many un convenience situation, so I think the thumbnail file format will be better if the format like this :</p>
<p>thumb_filename.file_ext</p>
<p>That file format help me so much in many situation. To change thumbnail file format, we need change the Image_lib file. First, change this line (approx  line 38)</p>
<p>var $thumb_marker		= &#8216;_thumb&#8217;;</p>
<p>In to</p>
<p>var $thumb_marker		= &#8216;thumb_&#8217;;</p>
<p>Second , change this line (approx line 264 )</p>
<p>$this->full_dst_path = $this->dest_folder.$filename.$this->thumb_marker.$file_ext;</p>
<p>In to </p>
<p>$this->full_dst_path = $this->dest_folder.$this->thumb_marker.$filename.$file_ext;</p>
<p>That&#8217;s it, the  thumbnail file name format will change <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/php/codeigniter-thumbnail-file-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
