<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tasid&#039;s blog...</title>
	<atom:link href="http://tasid.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tasid.wordpress.com</link>
	<description>tasid&#039;s personal blog</description>
	<lastBuildDate>Wed, 17 Nov 2010 18:17:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tasid.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/c49b8b264f1151b20a2d94d28d66232d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Tasid&#039;s blog...</title>
		<link>http://tasid.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tasid.wordpress.com/osd.xml" title="Tasid&#039;s blog..." />
	<atom:link rel='hub' href='http://tasid.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Install  Xdebug on WAMP [Windows Platform]</title>
		<link>http://tasid.wordpress.com/2010/08/28/install-xdebug-on-wamp-windows-platform/</link>
		<comments>http://tasid.wordpress.com/2010/08/28/install-xdebug-on-wamp-windows-platform/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 14:08:42 +0000</pubDate>
		<dc:creator>tasid</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://tasid.wordpress.com/?p=30</guid>
		<description><![CDATA[1. First download latest xdebug (DLL File) from this link: Download Xdebug [Xdebug 2.1.0 5.2 VC6 (32 bit)] &#160; 2. Now copy the xdebug file which you just downloaded and paste it into the following directory c:\wamp\bin\php\php5.2.9-2\ext\ &#160; 3. Next click on wamp server and go to php tab and click php.ini file [ See [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tasid.wordpress.com&amp;blog=5010422&amp;post=30&amp;subd=tasid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1.	First download latest xdebug (DLL File) from this link: <a title="xDebug" href="http://www.xdebug.org/download.php" target="_blank">Download Xdebug</a> [Xdebug 2.1.0  5.2 VC6 (32 bit)]</p>
<p><a href="http://tasid.files.wordpress.com/2010/08/download_xdebug.jpg"><img class="alignnone size-full wp-image-33" title="download_xdebug" src="http://tasid.files.wordpress.com/2010/08/download_xdebug.jpg?w=600" alt=""   /></a></p>
<p>&nbsp;</p>
<p>2.	Now copy the xdebug file which you just downloaded and paste it into  the following directory c:\wamp\bin\php\php5.2.9-2\ext\</p>
<p><a href="http://tasid.files.wordpress.com/2010/08/php_xdebug_extention.jpg"><img class="alignnone size-full wp-image-34" title="php_xdebug_extention" src="http://tasid.files.wordpress.com/2010/08/php_xdebug_extention.jpg?w=600" alt=""   /></a></p>
<p>&nbsp;</p>
<p>3.	Next click on wamp server and go to php tab and click php.ini file [ See the Following Screenshot]</p>
<p><a href="http://tasid.files.wordpress.com/2010/08/php_ini_file.jpg"><img class="alignnone size-full wp-image-35" title="php_ini_file" src="http://tasid.files.wordpress.com/2010/08/php_ini_file.jpg?w=600" alt=""   /></a></p>
<p>&nbsp;</p>
<p>4.	Add the following to your php.ini file</p>
<p><pre class="brush: php;">
;xdebug Configuration
zend_extension_ts=&quot;C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.1.0-5.2-vc6.dll&quot;

;xdebug Configuration for Remote Connection
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
</pre></p>
<p><em><span style="color:#ff0000;"> If you are using php 5.3  or above version then add the following-</span></em></p>
<p><pre class="brush: php;">
;xdebug Configuration
zend_extension=&quot;C:\wamp\bin\php\php5.2.9-2\ext\php_xdebug-2.1.0-5.2-vc6.dll&quot;

;xdebug Configuration for Remote Connection
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
</pre></p>
<p><a href="http://tasid.files.wordpress.com/2010/08/php_ini_code.jpg"><img class="alignnone size-full wp-image-36" title="php_ini_code" src="http://tasid.files.wordpress.com/2010/08/php_ini_code.jpg?w=600" alt=""   /></a></p>
<p>&nbsp;</p>
<p>5.	Now restart your webserver and point your browser to phpinfo.php and if all went well then you should see the following:</p>
<p><a href="http://tasid.files.wordpress.com/2010/08/phpinfo.jpg"><img class="alignnone size-full wp-image-37" title="phpinfo" src="http://tasid.files.wordpress.com/2010/08/phpinfo.jpg?w=600" alt=""   /></a></p>
<p>Thats All.</p>
<p>Hope now you can debug your php application through Xdebug.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tasid.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tasid.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tasid.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tasid.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tasid.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tasid.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tasid.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tasid.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tasid.wordpress.com&amp;blog=5010422&amp;post=30&amp;subd=tasid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tasid.wordpress.com/2010/08/28/install-xdebug-on-wamp-windows-platform/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162cabad80c3ab4168deb026600b6833?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tasid</media:title>
		</media:content>

		<media:content url="http://tasid.files.wordpress.com/2010/08/download_xdebug.jpg" medium="image">
			<media:title type="html">download_xdebug</media:title>
		</media:content>

		<media:content url="http://tasid.files.wordpress.com/2010/08/php_xdebug_extention.jpg" medium="image">
			<media:title type="html">php_xdebug_extention</media:title>
		</media:content>

		<media:content url="http://tasid.files.wordpress.com/2010/08/php_ini_file.jpg" medium="image">
			<media:title type="html">php_ini_file</media:title>
		</media:content>

		<media:content url="http://tasid.files.wordpress.com/2010/08/php_ini_code.jpg" medium="image">
			<media:title type="html">php_ini_code</media:title>
		</media:content>

		<media:content url="http://tasid.files.wordpress.com/2010/08/phpinfo.jpg" medium="image">
			<media:title type="html">phpinfo</media:title>
		</media:content>
	</item>
		<item>
		<title>Set default image or text in html input box</title>
		<link>http://tasid.wordpress.com/2010/02/05/set-default-image-or-text-in-html-input-box/</link>
		<comments>http://tasid.wordpress.com/2010/02/05/set-default-image-or-text-in-html-input-box/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 14:43:16 +0000</pubDate>
		<dc:creator>tasid</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://tasid.wordpress.com/?p=22</guid>
		<description><![CDATA[Suppose you have a user login panel which shows two input text field, one for username &#38; another for password. Now you don&#8217;t wanna use level for this input box. Then What!!!!!!! Simply show text or image inside input box. Here is the code&#8230;..<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tasid.wordpress.com&amp;blog=5010422&amp;post=22&amp;subd=tasid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Suppose you have a user login panel which shows two input text field, one for username &amp; another for password. Now you don&#8217;t wanna use level for this input box. Then What!!!!!!!</p>
<p>Simply show text or image inside input box.</p>
<p><a href="http://tasid.files.wordpress.com/2010/02/tas-1st.jpg"><img class="alignnone size-full wp-image-23" title="tas-1st" src="http://tasid.files.wordpress.com/2010/02/tas-1st.jpg?w=600" alt=""   /></a></p>
<p>Here is the code&#8230;..</p>
<p><pre class="brush: jscript;">
&lt;form action=&quot;#&quot; method=&quot;post&quot;&gt;

 &lt;input name=&quot;login_username&quot; value=&quot;email&quot; type=&quot;text&quot;  onfocus=&quot;if(this.value=='email') this.value='';&quot; onblur=&quot;if(this.value=='') this.value='email';&quot; /&gt;

 &lt;input name=&quot;login_password&quot; value=&quot;&quot; type=&quot;password&quot; style=&quot;background:url(../images/password.gif);&quot;/&gt;

 &lt;input value=&quot;GO&quot; name=&quot;login&quot; type=&quot;submit&quot; /&gt;

 &lt;a href='#'&gt;forgot password?&lt;/a&gt;

 &lt;/form&gt;

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tasid.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tasid.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tasid.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tasid.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tasid.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tasid.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tasid.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tasid.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tasid.wordpress.com&amp;blog=5010422&amp;post=22&amp;subd=tasid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tasid.wordpress.com/2010/02/05/set-default-image-or-text-in-html-input-box/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162cabad80c3ab4168deb026600b6833?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tasid</media:title>
		</media:content>

		<media:content url="http://tasid.files.wordpress.com/2010/02/tas-1st.jpg" medium="image">
			<media:title type="html">tas-1st</media:title>
		</media:content>
	</item>
		<item>
		<title>CodeIgniter- How to change uploaded file name</title>
		<link>http://tasid.wordpress.com/2009/07/24/codeigniter-how-to-change-uploaded-file-name/</link>
		<comments>http://tasid.wordpress.com/2009/07/24/codeigniter-how-to-change-uploaded-file-name/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 20:34:20 +0000</pubDate>
		<dc:creator>tasid</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[CI]]></category>
		<category><![CDATA[Code Igniter]]></category>
		<category><![CDATA[how to change uploaded file name]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://tasid.wordpress.com/?p=13</guid>
		<description><![CDATA[In CodeIgniter(Version-1.7.1), Normally we can&#8217;t change  or rename uploaded filename. Don&#8217;t understand what i am talking about. lets clear it, suppose  that u want to upload a file named &#8220;ABC&#8221; (Name of your file in your PC) to server by changing the name from &#8220;ABC to &#8220;XYZ&#8221; . Then WHAT????? To change the uploaded file [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tasid.wordpress.com&amp;blog=5010422&amp;post=13&amp;subd=tasid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In CodeIgniter(Version-1.7.1), Normally we can&#8217;t change  or rename uploaded filename. Don&#8217;t understand what i am talking about. lets clear it, suppose  that u want to upload a file named &#8220;ABC&#8221; (Name of your file in your PC) to server by changing the name from &#8220;ABC to &#8220;XYZ&#8221; . Then WHAT?????</p>
<p>To change the uploaded file name you have to modify CodeIgniter Upload class which can be found at</p>
<p>system\libraries\Upload.php</p>
<p>then go to line number 190 and insert comment tag before the line which you have to modify</p>
<p>or simply you have to find the line which is shown here</p>
<p><pre class="brush: php;">

// Set the uploaded data as class variables
 $this-&gt;file_temp = $_FILES[$field]['tmp_name'];        

 //insert a single comment tag to the following line
 //$this-&gt;file_name = $this-&gt;_prep_filename($_FILES[$field]['name']);

 $this-&gt;file_size = $_FILES[$field]['size'];        
 $this-&gt;file_type = preg_replace(&quot;/^(.+?);.*$/&quot;, &quot;\\1&quot;, $_FILES[$field]['type']);
 $this-&gt;file_type = strtolower($this-&gt;file_type);
 $this-&gt;file_ext     = $this-&gt;get_extension($_FILES[$field]['name']);

</pre></p>
<p>Next add the modiefied code after the last line which is shown here</p>
<p><pre class="brush: php;">

$this-&gt;file_ext     = $this-&gt;get_extension($_FILES[$field]['name']);
 //Add the Modifide Code here
 if (empty($this-&gt;file_name)){
 $this-&gt;file_name = $this-&gt;_prep_filename($_FILES[$field]['name']);
 }
 else{
 $this-&gt;file_name = $this-&gt;_prep_filename($this-&gt;file_name.$this-&gt;file_ext);    
 }

</pre></p>
<p>Now when you load upload class then provide the name and do_upload function upload  your file by setting the name you provided.</p>
<p><pre class="brush: php;">&lt;/pre&gt;
//Provide your desire file name

$config['file_name']='XYZ';

$config['upload_path'] = './uploads/';
 $config['allowed_types'] = 'gif|jpg|png';
 $config['max_size']    = '100';
 $config['max_width']  = '1024';
 $config['max_height']  = '768';

 $this-&gt;load-&gt;library('upload', $config);
&lt;pre&gt;</pre></p>
<p>Thats all&#8230;</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tasid.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tasid.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tasid.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tasid.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tasid.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tasid.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tasid.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tasid.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tasid.wordpress.com&amp;blog=5010422&amp;post=13&amp;subd=tasid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tasid.wordpress.com/2009/07/24/codeigniter-how-to-change-uploaded-file-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/162cabad80c3ab4168deb026600b6833?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tasid</media:title>
		</media:content>
	</item>
	</channel>
</rss>
