<?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>PHP Freelancer</title>
	
	<link>http://php-freelancer.in</link>
	<description />
	<lastBuildDate>Mon, 14 May 2012 10:16:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/PhpFreelancer" /><feedburner:info uri="phpfreelancer" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://superfeedr.com/hubbub" /><feedburner:emailServiceId>PhpFreelancer</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Colorbox : Change Position of Close Button To Top Right</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/RNMvL_YeSHc/</link>
		<comments>http://php-freelancer.in/2012/05/14/colorbox-change-position-of-close-button-to-top-right/#comments</comments>
		<pubDate>Mon, 14 May 2012 10:16:40 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Change position of close button in Colorbox]]></category>
		<category><![CDATA[Colorbox change position close button top corner]]></category>
		<category><![CDATA[Colorbox close button position change]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=311</guid>
		<description><![CDATA[Hi Friends, After many days now I am again back to blogging. Today I am going to write about one small thing  about Colorbox (A lightweight customizable lightbox plugin for jQuery).When I implemented Colorbox in one of my client site, My client liked it very much but he got one comment only that he want close &#8230; <a href="http://php-freelancer.in/2012/05/14/colorbox-change-position-of-close-button-to-top-right/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, After many days now I am again back to blogging. Today I am going to write about one small thing  about <a href="http://www.jacklmoore.com/colorbox" target="_blank">Colorbox </a>(A lightweight customizable lightbox plugin for jQuery).When I implemented Colorbox in one of my client site, My client liked it very much but he got one comment only that he want close button at top right corner because we all mostly have habit to find close button at top right corner because close button always found on top right corner of Browser, Windows etc<span id="more-311"></span> ..</p>
<p>So to make this I thought first that I need to change some html part of colorbox script but finally I found one easiest way to do it by CSS. So to make close button at top right corner, You need to add one CSS block to colorbox CSS. Below is CSS block which you need to add in colorbox CSS :</p>
<pre class="brush: css; title: ; notranslate">/* To change position of close button to Top Right Corner */
#colorbox #cboxClose
{
top: 0;
right: 0;
}
#cboxLoadedContent{
margin-top:28px;
margin-bottom:0;
}
</pre>
<p>Add this to your CSS file or Colorbox CSS file and then you can see close button will automatically show on top right corner of Colorbox.</p>
<p>Also I am <a href="http://php-freelancer.in">PHP Freelancer</a>, <a href="http://php-freelancer.in">Freelance PHP Developer</a> having more than 5 years of experience, So if you want to do any projects then you can <a href="http://php-freelancer.in/contact-me/" target="_blank">contact me</a>.</p>
<blockquote><p><span style="color: #008000;"><a style="color: #008000;" href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=ankugandhi">Hostgator Hosting</a> in 1 Cent Coupon Code &#8211; &#8220;1CENTHECOUPON&#8221; (Without Quotes).</span></p></blockquote>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/RNMvL_YeSHc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2012/05/14/colorbox-change-position-of-close-button-to-top-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2012/05/14/colorbox-change-position-of-close-button-to-top-right/</feedburner:origLink></item>
		<item>
		<title>WordPress How To Get Embed HTML of Video Using oEmbed By Video Link</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/8zuCOCUHQIM/</link>
		<comments>http://php-freelancer.in/2011/12/06/wordpress-how-to-get-embed-html-of-video-using-oembed-by-video-link/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 21:16:17 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Get Vimeo Vidoe HTML by Link]]></category>
		<category><![CDATA[Get youtube html by link]]></category>
		<category><![CDATA[Wordpress Get Video HTML by link]]></category>
		<category><![CDATA[Wordpress Get Video HTML by URL]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=297</guid>
		<description><![CDATA[Hello Friends, WordPress have feature to convert to its embed HTML by video link/URL, meaning if we put link of video in editor it automatically converts that video link to its embed HTML code. But as we know we always like to use simple things in different way so that somtimes we want to use &#8230; <a href="http://php-freelancer.in/2011/12/06/wordpress-how-to-get-embed-html-of-video-using-oembed-by-video-link/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello Friends, <a href="http://wordpress.org/" class="kblinker" title="More about wordpress &raquo;">WordPress</a> have feature to convert to its embed HTML by video link/URL, meaning if we put link of video in editor it automatically converts that video link to its embed HTML code. But as we know we always like to use simple things in different way so that somtimes we want to use this feature in our theme So user enter video link in any custom field and we want to convert that video link to its embed HTML, So it shows videos automatically as it is showing link in editor.<span id="more-297"></span></p>
<p>We can do this by using the_content filter but for example if we are showing that video after title and before content using the_content filter then if we using any plugin which use the_content filter to add social sharing buttons or related posts then it will show twice because the_content called 2 times, first call to parse video link and second to show content.So to overcome this problem I found one wordpress functions who return Embed HTML of Video using oEmbed by passing link of video.</p>
<p><a href="http://codex.wordpress.org/Function_Reference/wp_oembed_get" target="_blank">wp_oembed_get</a> takes a URL and Attempts to fetch the embed HTML for it using oEmbed. Here is <a href="http://codex.wordpress.org/Embeds#Okay.2C_So_What_Sites_Can_I_Embed_From.3F" target="_blank">list of sites </a> which you can embed from. So this method will work only for sites exists in lists, So if you are using any other website video link then it will not work. But as we can see it support mostly all famous video sites, So this is not a big issue.</p>
<p>We can use wp_oembed_get like this :</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php $embed_code = wp_oembed_get('http://www.youtube.com/watch?v=8h85FZL5Khk'); ?&gt;
</pre>
<p>Get embed html code by link by passing width argument :</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php $embed_code = wp_oembed_get('http://www.youtube.com/watch?v=8h85FZL5Khk', array('width'=&amp;gt;400)); ?&gt;
</pre>
<p>So wp_oembed_get is function by which you can get embed HTML using oEmbed by passing link of video.</p>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/8zuCOCUHQIM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/12/06/wordpress-how-to-get-embed-html-of-video-using-oembed-by-video-link/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/12/06/wordpress-how-to-get-embed-html-of-video-using-oembed-by-video-link/</feedburner:origLink></item>
		<item>
		<title>Get Hostgator Hosting For First Month In 1 Cent</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/oGkPN51MBF4/</link>
		<comments>http://php-freelancer.in/2011/08/05/get-hostgator-hosting-for-first-month-in-1-cent/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 19:12:15 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[Coupon Codes]]></category>
		<category><![CDATA[1 cent hostgator hosting]]></category>
		<category><![CDATA[Hostgator Hosting in 1 cent]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=290</guid>
		<description><![CDATA[Hi Friends, Today I am going to provide you coupon code for best hosting services in 1 Cent only for one month. Hostgator is best hosting service I experienced in last four years, They have many plans for unlimited shared hosting, reseller hosting and also VPS plans which are best plans in hosting industry with &#8230; <a href="http://php-freelancer.in/2011/08/05/get-hostgator-hosting-for-first-month-in-1-cent/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, Today I am going to provide you coupon code for best hosting services in 1 Cent only for one month. Hostgator is best hosting service I experienced in last four years, They have many plans for unlimited shared hosting, reseller hosting and also VPS plans which are best plans in hosting industry with great support and great uptime. So today I am going to share one coupon code by which you can get first month hosting of hostgator in 1 cent.<span id="more-290"></span></p>
<p>Hostgator established in 2002, HostGator has been a world-leading provider of web hosting service. Although its office is in Houston, Texas, It provide top-notch service to clients from over 200 countries internationally with staff of over 600 employees. Hostgator offer <a title="Shared Web Hosting" href="http://www.hostgator.com/shared.shtml">Shared</a>, <a title="Reseller Hosting" href="http://www.hostgator.com/resellers.shtml">Reseller</a>, <a title="VPS Hosting" href="http://www.hostgator.com/vps-hosting/">VPS</a>, and <a title="Dedicated Servers" href="http://www.hostgator.com/dedicated.shtml">Dedicated</a> server packages for both beginners and professionals alike. Each of shared Web Hosting plans includes 24/7/365 support, a 99.9% uptime guarantee, and a 45-day money-back guarantee. If you would like to learn more, please visit <a title="About HostGator Web Hosting" href="http://www.hostgator.com/company.shtml">hostgator company page</a>.</p>
<p>So to get 25% discount on hostgator total price you just need to enter coupon code &#8220;1CENTHECOUPON&#8221; (without quotes) in coupon code box and you will get $9.94 off from your first month amount. So in this way you can get hosting for first month in 1 cent.</p>
<p>Let me Know if you have any problem in this coupon code.</p>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/oGkPN51MBF4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/08/05/get-hostgator-hosting-for-first-month-in-1-cent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/08/05/get-hostgator-hosting-for-first-month-in-1-cent/</feedburner:origLink></item>
		<item>
		<title>[WordPress] How To Repair Database In WordPress Or Automatic Database Optimizing</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/a7taJfywd2o/</link>
		<comments>http://php-freelancer.in/2011/06/28/how-to-repair-database-in-wordpress-or-automatic-database-optimizing/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 22:05:40 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Automatic Database Optimizing]]></category>
		<category><![CDATA[Repair Database In Wordpress]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=277</guid>
		<description><![CDATA[Hi Friends, Some days ago I was searching to optimize tips of database for wordpress blog and got so many tips to make it optimized and also got so many plugins to make it optimize and then finally I got one tip from wordpress codex for &#8220;Automatic Database Optimizing&#8221; and I was not aware of &#8230; <a href="http://php-freelancer.in/2011/06/28/how-to-repair-database-in-wordpress-or-automatic-database-optimizing/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, Some days ago I was searching to optimize tips of database for <a href="http://wordpress.org/" class="kblinker" title="More about wordpress &raquo;">wordpress</a> blog and got so many tips to make it optimized and also got so many plugins to make it optimize and then finally I got one tip from wordpress codex for &#8220;Automatic Database Optimizing&#8221; and I was not aware of this thing before and might be you also not knowing this thing that WordPress providing functionality by which your database automatically repair periodically to optimize database.<span id="more-277"></span></p>
<p>So if you want to enable this functionality just open wp-config.php file exists in root of wordpress site and then simply added below line anywhere :</p>
<pre class="brush: php; title: ; notranslate">
define('WP_ALLOW_REPAIR', true);
</pre>
<p>The script can be found at {$your_site}/wp-admin/maint/repair.php, So If you want to run it manually you can run it by go to http://www.yoursite.com/wp-admin/maint/repair.php.</p>
<p>Also Please Note: That this define enables the functionality, The user does not need to be logged in to access this functionality when this define is set. This is because its main intent is to repair a corrupted database, Users can often not login when the database is corrupt.</p>
<p>I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.</p>
<blockquote><p>Also I am <a href="http://php-freelancer.in">PHP Freelancer</a>, <a href="http://php-freelancer.in">Freelance PHP Developer</a> having more than  4 years of experience, So if you want to do any projects then you can <a href="http://php-freelancer.in/contact-me/" target="_blank">contact me</a>.</p></blockquote>
<blockquote><p><span style="color: #008000;"><a style="color: #008000;" href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=ankugandhi">Hostgator Hosting</a> in 1 Cent Coupon Code &#8211; &#8220;1CENTHECOUPON&#8221; (Without Quotes).</span></p></blockquote>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/a7taJfywd2o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/06/28/how-to-repair-database-in-wordpress-or-automatic-database-optimizing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/06/28/how-to-repair-database-in-wordpress-or-automatic-database-optimizing/</feedburner:origLink></item>
		<item>
		<title>[Magento] How To Fetch Products Of Specific Category In Magento</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/XZYUKxlFkUQ/</link>
		<comments>http://php-freelancer.in/2011/06/28/how-to-fetch-products-of-specific-category-in-magento/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 21:47:07 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Fetch Products Of Specific Category]]></category>
		<category><![CDATA[Get Products Of Specific Category]]></category>
		<category><![CDATA[retrive Products Of Specific Category]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=273</guid>
		<description><![CDATA[Hi Friends, Some days ago I was working on one magento project in which I need to get products of a specific category, Magento is best eCommerce software and having kostly all functionlity yo retrive data, so I search about it and got one solution to get/fetch/retrive products of specific category. We need to use &#8230; <a href="http://php-freelancer.in/2011/06/28/how-to-fetch-products-of-specific-category-in-magento/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, Some days ago I was working on one magento project in which I need to get products of a specific category, Magento is best eCommerce software and having kostly all functionlity yo retrive data, so I search about it and got one solution to get/fetch/retrive products of specific category. We need to use 2 line of code to get products  from particular category.<span id="more-273"></span></p>
<p>Here is code to get particular category products :</p>
<pre class="brush: php; title: ; notranslate">
$cObj = Mage::getModel(‘catalog/category’)-&gt;load($categoryId);
$productObj = $cObj-&gt;getProductCollection()-&gt;getData();
</pre>
<p>In above code in first line $categoryId is category id for which you want to fetch products. So just pass category id in this code and you will get products object in $productObj.</p>
<p>I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.</p>
<blockquote><p>Also I am <a href="http://php-freelancer.in">PHP Freelancer</a>, <a href="http://php-freelancer.in">Freelance PHP Developer</a> having more than  4 years of experience, So if you want to do any projects then you can <a href="http://php-freelancer.in/contact-me/" target="_blank">contact me</a>.</p></blockquote>
<blockquote><p><span style="color: #008000;"><a style="color: #008000;" href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=ankugandhi">Hostgator Hosting</a> in 1 Cent Coupon Code &#8211; &#8220;1CENTHECOUPON&#8221; (Without Quotes).</span></p></blockquote>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/XZYUKxlFkUQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/06/28/how-to-fetch-products-of-specific-category-in-magento/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/06/28/how-to-fetch-products-of-specific-category-in-magento/</feedburner:origLink></item>
		<item>
		<title>PHP Formatter – PHP Beautifier – PHP Pretty Printer – Format Your PHP Code</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/HuCFVugOPq8/</link>
		<comments>http://php-freelancer.in/2011/06/16/php-formatter-php-beautifier-php-pretty-printer-format-your-php-code/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 20:34:34 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Format Your PHP Code]]></category>
		<category><![CDATA[PHP Beautifier]]></category>
		<category><![CDATA[PHP Formatter]]></category>
		<category><![CDATA[PHP Pretty Printer]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=270</guid>
		<description><![CDATA[Hi Friends, I am working from last 5 years on PHP and we all know that while make code we have to do so much debugging to make code work, So after complete project if we see our files then we found that files are having less code but comments and debugging code more . &#8230; <a href="http://php-freelancer.in/2011/06/16/php-formatter-php-beautifier-php-pretty-printer-format-your-php-code/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, I am working from last 5 years on PHP and we all know that while make code we have to do so much debugging to make code work, So after complete project if we see our files then we found that files are having less code but comments and debugging code more . I am using one tool to remove all comments, make proper commenting, remove spaces between lines etc.. which we can call PHP Formatter &#8211; PHP Beautifier &#8211; PHP Pretty Printer.<span id="more-270"></span></p>
<p>Below is URL of PHP Formatter :</p>
<p><a href="http://beta.phpformatter.com/" target="_blank">PHP Formatter - PHP Beautifier &#8211; PHP Pretty Printer</a></p>
<p>This PHP Formatter having so many options like :</p>
<dt><label for="indent_style">- Indentation style</label></dt>
<dt><label for="indent_style">- Remove all comments<br />
- Remove empty lines<br />
- Align assignments statements nicely<br />
- Put a comment with the condition after if, while, for, foreach, declare and catch statements</label></dt>
<dt>- Remove lines with just a semicolon (;)<br />
- Make normal comments (//) from perl comments (#)<br />
- Make long opening tag (&lt;?php) from short one (&lt;?)</dt>
<dt>- Space inside brackets &#8211; ( )<br />
- Space inside empty brackets &#8211; ( )<br />
- Space inside block brackets &#8211; [ ]<br />
- Space inside empty block brackets &#8211; [ ]</dt>
<dt> </dt>
<dt>So this php formatter is best I ever used and above is features which is very useful by which you can make your file format according to your need.</dt>
<p>I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.</p>
<blockquote><p>Also I am <a href="http://php-freelancer.in">PHP Freelancer</a>, <a href="http://php-freelancer.in">Freelance PHP Developer</a> having more than  4 years of experience, So if you want to do any projects then you can <a href="http://php-freelancer.in/contact-me/" target="_blank">contact me</a>.</p></blockquote>
<blockquote><p><span style="color: #008000;"><a style="color: #008000;" href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=ankugandhi">Hostgator Hosting</a> in 1 Cent Coupon Code &#8211; &#8220;1CENTHECOUPON&#8221; (Without Quotes).</span></p></blockquote>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/HuCFVugOPq8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/06/16/php-formatter-php-beautifier-php-pretty-printer-format-your-php-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/06/16/php-formatter-php-beautifier-php-pretty-printer-format-your-php-code/</feedburner:origLink></item>
		<item>
		<title>How To Change .htaccess File Name</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/dSfjCHk8oBA/</link>
		<comments>http://php-freelancer.in/2011/05/16/how-to-change-htaccess-file-name/#comments</comments>
		<pubDate>Mon, 16 May 2011 21:20:51 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[change .htaccess file name]]></category>
		<category><![CDATA[rename .htaccess file]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=266</guid>
		<description><![CDATA[Hi Friends, I think this article title is looking very surprised to you because when i knew this thing I also was little bit surprised that we can change .htaccess name and get it worked by assigning other name like &#8216;.configuration&#8217; or &#8216;.serverconfig&#8217; or &#8216;.urlrewritefile&#8217; , So if you want to change .htaccess file name &#8230; <a href="http://php-freelancer.in/2011/05/16/how-to-change-htaccess-file-name/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, I think this article title is looking very surprised to you because when i knew this thing I also was little bit surprised that we can change .htaccess name and get it worked by assigning other name like &#8216;.configuration&#8217; or &#8216;.serverconfig&#8217; or &#8216;.urlrewritefile&#8217; , So if you want to change .htaccess file name and get it worked by other name then you have to edit your server https.conf file and you have to add one line by which you can change .htaccess file name for your server.<span id="more-266"></span></p>
<p>You just have to add below line in https.conf file :</p>
<p><code>AccessFileName [filename]</code></p>
<p>Now example :</p>
<p><code>AccessFileName .configuration</code></p>
<p>After adding this line to your https.conf your site will use .configuration file instead of .htaccess.</p>
<p>I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.</p>
<blockquote><p>Also I am <a href="http://php-freelancer.in">PHP Freelancer</a>, <a href="http://php-freelancer.in">Freelance PHP Developer</a> having more than  4 years of experience, So if you want to do any projects then you can <a href="http://php-freelancer.in/contact-me/" target="_blank">contact me</a>.</p></blockquote>
<blockquote><p><span style="color: #008000;"><a style="color: #008000;" href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=ankugandhi">Hostgator Hosting</a> in 1 Cent Coupon Code &#8211; &#8220;1CENTHECOUPON&#8221; (Without Quotes).</span></p></blockquote>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/dSfjCHk8oBA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/05/16/how-to-change-htaccess-file-name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/05/16/how-to-change-htaccess-file-name/</feedburner:origLink></item>
		<item>
		<title>How To Enable .htaccess Or Rewrite Mode On Apache</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/K6IsX6PhvrY/</link>
		<comments>http://php-freelancer.in/2011/05/16/how-to-enable-htaccess-or-rewrite-mode-on-apache/#comments</comments>
		<pubDate>Mon, 16 May 2011 13:51:20 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[enable .htaccess on apache server]]></category>
		<category><![CDATA[enable .htaccess or mod_rewrite on apache server]]></category>
		<category><![CDATA[enable mod_rewrite on apache server]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=263</guid>
		<description><![CDATA[Hi Friends, In this article I am going to explain you how can we enable .htaccess  or rewrite mode on Apache server. So to enable .htaccess or mode rewrite on apache server we will need access to httpd.conf file by which we can enable .htacess /mod rewrite. .htaccess files allows us to change configurations on our &#8230; <a href="http://php-freelancer.in/2011/05/16/how-to-enable-htaccess-or-rewrite-mode-on-apache/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, In this article I am going to explain you how can we enable .htaccess  or rewrite mode on Apache server. So to enable .htaccess or mode rewrite on apache server we will need access to httpd.conf file by which we can enable .htacess /mod rewrite. .htaccess files allows us to change configurations on our servers per directory or subdirectory, So to enable .htaccess file or mod_rewrite we have to edit httpd.conf file and remove comment from mod_rewrite line, So you have to change this line from<span id="more-263"></span> :</p>
<p><code>;LoadModule rewrite_module modules/mod_rewrite.so</code></p>
<p>to (to remove comment remove semi column from left side)</p>
<p><code>LoadModule rewrite_module modules/mod_rewrite.so</code></p>
<p>Also we need to change the AllowOverride directive also from</p>
<p><code>&lt;Directory /&gt;<br />
Options FollowSymLinks<br />
AllowOverride None<br />
Order deny,allow<br />
Deny from all<br />
Satisfy all<br />
&lt;/Directory&gt;</code></p>
<p>to</p>
<p><code>&lt;Directory /&gt;<br />
Options FollowSymLinks<br />
AllowOverride All<br />
Order deny,allow<br />
Deny from all<br />
Satisfy all<br />
&lt;/Directory&gt;<br />
</code></p>
<p>So now you know how can we enable .htaccess or mod_rewrite on apache server.</p>
<p>I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.</p>
<blockquote><p>Also I am <a href="http://php-freelancer.in">PHP Freelancer</a>, <a href="http://php-freelancer.in">Freelance PHP Developer</a> having more than  4 years of experience, So if you want to do any projects then you can <a href="http://php-freelancer.in/contact-me/" target="_blank">contact me</a>.</p></blockquote>
<blockquote><p><span style="color: #008000;"><a style="color: #008000;" href="http://secure.hostgator.com/~affiliat/cgi-bin/affiliates/clickthru.cgi?id=ankugandhi">Hostgator Hosting</a> in 1 Cent Coupon Code &#8211; &#8220;1CENTHECOUPON&#8221; (Without Quotes).</span></p></blockquote>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/K6IsX6PhvrY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/05/16/how-to-enable-htaccess-or-rewrite-mode-on-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/05/16/how-to-enable-htaccess-or-rewrite-mode-on-apache/</feedburner:origLink></item>
		<item>
		<title>How To Remove Images From Post Content In WordPress</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/AGz20dsKI80/</link>
		<comments>http://php-freelancer.in/2011/05/01/how-to-remove-images-from-post-content-in-wordpress/#comments</comments>
		<pubDate>Sun, 01 May 2011 20:46:10 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress Post content without images]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=259</guid>
		<description><![CDATA[Hi Friends, Some days ago I was working on one project in which I have to show wordpress post on home page which is already showing by default in wordpress but my client having images in all posts at start and client want to show images in different style , So I have to remove &#8230; <a href="http://php-freelancer.in/2011/05/01/how-to-remove-images-from-post-content-in-wordpress/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, Some days ago I was working on one project in which I have to show <a href="http://wordpress.org/" class="kblinker" title="More about wordpress &raquo;">wordpress</a> post on home page which is already showing by default in wordpress but my client having images in all posts at start and client want to show images in different style , So I have to remove images from content to show content simply on home page. So I found one code by which we can easily remove images from post content without any problems.<span id="more-259"></span></p>
<p>So to remove images from WordPress post content you just have to use code given below ;</p>
<pre class="brush: php; title: ; notranslate">&lt;?php $content = get_the_content();
$postOutput = preg_replace('/&lt;img[^&gt;]+./','', $content);
echo $postOutput;?&gt;</pre>
<p>Ok, So now use code shown above in while loop of index file or wherever but it must be exists in while loop and this will print your content without image. This is very small thing but it is very useful for some time when we need it. Anyway if you are having any problem with this code, then post it in content, I will try to solve it.</p>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/AGz20dsKI80" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/05/01/how-to-remove-images-from-post-content-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/05/01/how-to-remove-images-from-post-content-in-wordpress/</feedburner:origLink></item>
		<item>
		<title>How To Change Different PHP Version By .htaccess</title>
		<link>http://feedproxy.google.com/~r/PhpFreelancer/~3/c4vVRTh-8zE/</link>
		<comments>http://php-freelancer.in/2011/04/30/how-to-change-different-php-version-by-htaccess/#comments</comments>
		<pubDate>Sat, 30 Apr 2011 10:14:50 +0000</pubDate>
		<dc:creator>Ankur</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[use php 5 by htaccess]]></category>

		<guid isPermaLink="false">http://php-freelancer.in/?p=256</guid>
		<description><![CDATA[Hi Friends, In this article I will explain how can we change version of PHP by htaccess. Sometime some application need php version 5 instead of 4 and on server php4 version used by default but If php5 already installed on server then we can use php5 version by putting one line in .htaccess file. &#8230; <a href="http://php-freelancer.in/2011/04/30/how-to-change-different-php-version-by-htaccess/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi Friends, In this article I will explain how can we change version of PHP by htaccess. Sometime some application need php version 5 instead of 4 and on server php4 version used by default but If php5 already installed on server then we can use php5 version by putting one line in .htaccess file.<span id="more-256"></span></p>
<p>If you want to use php5 version for a particular application and on server php4 and php5 both are available and php4 is by default , So to use php5 for that application follow these rules :<br />
For e.g. our site application is in http://example.com/php5/ right now it is using php4 but you want to use php5 for this then,</p>
<p>1.  Make one .htaccess file in http://example.com/php5/ if not exists.</p>
<p>2.  Now put one line given below in .htaccess file.</p>
<p><code>AddHandler application/x-httpd-php5 .php .php5 .php4 .php3</code><br />
Or<br />
<code>AddHandler x-httpd-php5 .php</code></p>
<p>You can try both one by one in case if any one is not working.</p>
<p>Now check your application site, It will use php5 version. Only this application will use php5 because we put htaccess which have php5 rule in this folder.</p>
<div style='clear:both'></div><img src="http://feeds.feedburner.com/~r/PhpFreelancer/~4/c4vVRTh-8zE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://php-freelancer.in/2011/04/30/how-to-change-different-php-version-by-htaccess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://php-freelancer.in/2011/04/30/how-to-change-different-php-version-by-htaccess/</feedburner:origLink></item>
	</channel>
</rss>

