<?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>Tech.Bitez &#187; PHP</title>
	<atom:link href="http://www.mwasif.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mwasif.com</link>
	<description>Bits and pieces of linux, mysql, apache, php</description>
	<lastBuildDate>Sat, 14 Jan 2012 08:22:14 +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>Setting a php.ini directive in .htaccess to apply only to one .php file</title>
		<link>http://www.mwasif.com/2011/159/setting-a-php-ini-directive-in-htaccess-to-apply-only-to-one-php-file/</link>
		<comments>http://www.mwasif.com/2011/159/setting-a-php-ini-directive-in-htaccess-to-apply-only-to-one-php-file/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 11:17:22 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Files directive]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[upload_max_filesize]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/?p=159</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2011/159/setting-a-php-ini-directive-in-htaccess-to-apply-only-to-one-php-file/' addthis:title='Setting a php.ini directive in .htaccess to apply only to one .php file '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Yesterday I needed to increase the value of upload_max_filesize for a site's admin script/page while other pages of the size didn't require that. It is really easy to do it by using Apache's Files directive in .htaccess for a specific file with the below code. &#60;Files my.php&#62; php_value upload_max_filesize 10M &#60;/Files&#62;]]></description>
		<wfw:commentRss>http://www.mwasif.com/2011/159/setting-a-php-ini-directive-in-htaccess-to-apply-only-to-one-php-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get a user&#8217;s IP address in PHP?</title>
		<link>http://www.mwasif.com/2011/108/how-to-get-a-users-ip-address-in-php/</link>
		<comments>http://www.mwasif.com/2011/108/how-to-get-a-users-ip-address-in-php/#comments</comments>
		<pubDate>Sun, 30 Jan 2011 15:05:48 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[behind proxy ip]]></category>
		<category><![CDATA[get ip with php]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[ip behind proxy]]></category>
		<category><![CDATA[know ip address]]></category>
		<category><![CDATA[my ip address]]></category>
		<category><![CDATA[user ip address]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/?p=108</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2011/108/how-to-get-a-users-ip-address-in-php/' addthis:title='How to get a user&#8217;s IP address in PHP? '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Get the IP address (even behind the proxy) of a user using PHP.]]></description>
		<wfw:commentRss>http://www.mwasif.com/2011/108/how-to-get-a-users-ip-address-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to remove PHPSESSID from URL?</title>
		<link>http://www.mwasif.com/2011/73/how-to-remove-phpsessid-from-url/</link>
		<comments>http://www.mwasif.com/2011/73/how-to-remove-phpsessid-from-url/#comments</comments>
		<pubDate>Sat, 15 Jan 2011 20:51:16 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[disable PHPSESSID]]></category>
		<category><![CDATA[PHPSESSID]]></category>
		<category><![CDATA[remove PHPSESSID]]></category>
		<category><![CDATA[use_trans_sid]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/?p=73</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2011/73/how-to-remove-phpsessid-from-url/' addthis:title='How to remove PHPSESSID from URL? '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>You can remove PHPSESSID from URL by changing session.use_trans_sid value in php.ini, .htaccess (Apache) or in PHP code. In php.ini set the value of session.use_trans_sid to 0 session.use_trans_sid = 0 In .htaccess php_value session.use_trans_sid 0 In PHP code set the use_trans_sid value to false like below ini_set&#40;'session.use_trans_sid', false&#41;;]]></description>
		<wfw:commentRss>http://www.mwasif.com/2011/73/how-to-remove-phpsessid-from-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP sessions across subdomains</title>
		<link>http://www.mwasif.com/2008/16/php-sessions-across-subdomains/</link>
		<comments>http://www.mwasif.com/2008/16/php-sessions-across-subdomains/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 12:04:45 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php sessions]]></category>
		<category><![CDATA[php sessions across subdomains]]></category>
		<category><![CDATA[sessions across subdomains]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/?p=16</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2008/16/php-sessions-across-subdomains/' addthis:title='PHP sessions across subdomains '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Share php sessions across subdomains.]]></description>
		<wfw:commentRss>http://www.mwasif.com/2008/16/php-sessions-across-subdomains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 4 is dead, last release of PHP 4!!!</title>
		<link>http://www.mwasif.com/2008/13/php-4-is-dead-last-release-of-php-4/</link>
		<comments>http://www.mwasif.com/2008/13/php-4-is-dead-last-release-of-php-4/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 17:45:21 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php 4]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/?p=13</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2008/13/php-4-is-dead-last-release-of-php-4/' addthis:title='PHP 4 is dead, last release of PHP 4!!! '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>PHP 4 is dead now. There will be no more PHP 4 release available.]]></description>
		<wfw:commentRss>http://www.mwasif.com/2008/13/php-4-is-dead-last-release-of-php-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Should we use template engines in PHP?</title>
		<link>http://www.mwasif.com/2008/10/should-we-use-template-engines-in-php/</link>
		<comments>http://www.mwasif.com/2008/10/should-we-use-template-engines-in-php/#comments</comments>
		<pubDate>Thu, 01 May 2008 08:50:40 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[smarty template engine]]></category>
		<category><![CDATA[template engines]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/2008/10/should-we-use-template-engines-in-php/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2008/10/should-we-use-template-engines-in-php/' addthis:title='Should we use template engines in PHP? '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>A forums discussion on using template engines in PHP]]></description>
		<wfw:commentRss>http://www.mwasif.com/2008/10/should-we-use-template-engines-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increasing file upload limit in PHP</title>
		<link>http://www.mwasif.com/2008/8/increasing-file-upload-limit-in-php/</link>
		<comments>http://www.mwasif.com/2008/8/increasing-file-upload-limit-in-php/#comments</comments>
		<pubDate>Fri, 14 Mar 2008 19:10:40 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[increase upload limit]]></category>
		<category><![CDATA[max_input_time]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[post_max_size]]></category>
		<category><![CDATA[set_time_limit]]></category>
		<category><![CDATA[upload limit php]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/2008/8/increasing-file-upload-limit-in-php/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2008/8/increasing-file-upload-limit-in-php/' addthis:title='Increasing file upload limit in PHP '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>Increasing file upload limit in PHP, Apache (php.ini and .htaccess).]]></description>
		<wfw:commentRss>http://www.mwasif.com/2008/8/increasing-file-upload-limit-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saving images in MySQL with PHP</title>
		<link>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/</link>
		<comments>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 18:33:53 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php mysql image]]></category>
		<category><![CDATA[save image mysql]]></category>
		<category><![CDATA[save image php mysql]]></category>
		<category><![CDATA[save image with php]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/' addthis:title='Saving images in MySQL with PHP '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>This is a short description how to save images in MySQL using PHP.]]></description>
		<wfw:commentRss>http://www.mwasif.com/2007/4/save-image-in-mysql-with-php/feed/</wfw:commentRss>
		<slash:comments>38</slash:comments>
		</item>
		<item>
		<title>Download data as csv using PHP</title>
		<link>http://www.mwasif.com/2007/5/download-data-csv-using-php/</link>
		<comments>http://www.mwasif.com/2007/5/download-data-csv-using-php/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 23:05:50 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP csv]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/2007/5/download-data-in-csv-format-using-php/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2007/5/download-data-csv-using-php/' addthis:title='Download data as csv using PHP '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>This is a very simple example to download data in csv format using PHP and MySQL. I have used a table with two columns i.e. id and name. The main point to download file is a proper use of header(). It has said many times in many places but I repeat here, "Make sure there [...]]]></description>
		<wfw:commentRss>http://www.mwasif.com/2007/5/download-data-csv-using-php/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Enable register globals</title>
		<link>http://www.mwasif.com/2007/3/enable-register-globals/</link>
		<comments>http://www.mwasif.com/2007/3/enable-register-globals/#comments</comments>
		<pubDate>Sat, 16 Jun 2007 13:49:23 +0000</pubDate>
		<dc:creator>Wasif</dc:creator>
				<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[register globals]]></category>
		<category><![CDATA[register globals php]]></category>

		<guid isPermaLink="false">http://www.mwasif.com/2007/3/enable-register-globals/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style " addthis:url='http://www.mwasif.com/2007/3/enable-register-globals/' addthis:title='Enable register globals '  ><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a><a class="addthis_button_tweet"></a><a class="addthis_counter addthis_pill_style"></a></div>You can enable register globals in many ways including php.ini, .htaccess and using PHP code even on shared host.]]></description>
		<wfw:commentRss>http://www.mwasif.com/2007/3/enable-register-globals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

