<?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>PHP &#8211; Techawaken</title>
	<atom:link href="https://www.techawaken.com/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.techawaken.com</link>
	<description>Techawaken shares articles and experience in PHP, MySql, Magento,Joomla, Wordpress, JQuery, Javascript etc.</description>
	<lastBuildDate>Tue, 10 Jul 2018 17:56:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>How to upload large files in PHP</title>
		<link>https://www.techawaken.com/upload-large-files-php/</link>
				<comments>https://www.techawaken.com/upload-large-files-php/#respond</comments>
				<pubDate>Tue, 10 Jan 2017 20:19:22 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[large files]]></category>
		<category><![CDATA[memory_limit]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[post_max_size]]></category>
		<category><![CDATA[Upload]]></category>
		<category><![CDATA[upload_max_filesize]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=798</guid>
				<description><![CDATA[<p>By default PHP is configured to allow files upload of size upto 2M.</p>
<p>We need to adjust the following PHP configuration directives:</p>
<ol>
 	<li><strong>upload_max_filesize</strong>: By default this value is 2M. We need to increase it to the maximum size of single file that we want to upload.</li>
 	<li><strong>post_max_size</strong>: It defines the maximum size of POST data that PHP will accept. This value should be greater than <em>'upload_max_filesize'</em>.</li>
 	<li><strong>memory_limit:</strong> This sets the amount of memory a PHP script is allowed to use during its execution. Set this to a value greater than <em>'post_max_size'</em> so that PHP script can load and process the uploaded file.</li>
</ol><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/importing-large-database-2-mb-phpmyadmin/" rel="bookmark" title="Importing large database (&gt; 2 MB) using phpMyAdmin">Importing large database (> 2 MB) using phpMyAdmin </a></li>
<li><a href="https://www.techawaken.com/set-http-authentication-nginx/" rel="bookmark" title="How to set up HTTP authentication with nginx">How to set up HTTP authentication with nginx </a></li>
<li><a href="https://www.techawaken.com/mysql-data-directory-size-large-fix/" rel="bookmark" title="MySql data directory size is very large, how to fix?">MySql data directory size is very large, how to fix? </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/upload-large-files-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>JSON &#8211; An Overview</title>
		<link>https://www.techawaken.com/json-overview/</link>
				<comments>https://www.techawaken.com/json-overview/#respond</comments>
				<pubDate>Fri, 08 Jan 2016 10:56:06 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[Prototype.js]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=721</guid>
				<description><![CDATA[<p><strong>JSON</strong> stands for <em><strong>JavaScript Object Notation</strong></em>. It is a format for storing and exchanging data. It is based on a subset of the JavaScript Programming Language.<p>
<p>The <strong>file type</strong> for JSON files is "<strong>.json</strong>" and <strong>MIME type</strong> for JSON text is "<strong>application/json</strong>".<p>
<p>
Here are the <em><strong>characteristics</strong> </em>of JSON:
<ol>
	<li>It is a lightweight data-interchange format.</li>
	<li>It is easy for humans to understand.</li>
	<li>It uses Javascript format but it is a text which makes it is completly language independent as text can be read and parsed by any programmng language.</li>
</ol>
</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/limit-number-characters-entered-textarea-input-field/" rel="bookmark" title="How to limit the number of characters that can be entered in a textarea or input field?">How to limit the number of characters that can be entered in a textarea or input field? </a></li>
<li><a href="https://www.techawaken.com/magento-ajax-headers-sent-error-solved/" rel="bookmark" title="Magento &#8211; AJAX &quot;Headers already sent&quot; error solved">Magento &#8211; AJAX &quot;Headers already sent&quot; error solved </a></li>
<li><a href="https://www.techawaken.com/disabling-the-form-submit-on-press-of-enter-key/" rel="bookmark" title="Disabling the form submit on press of ENTER key">Disabling the form submit on press of ENTER key </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/json-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Installing &#8220;Composer&#8221; &#8211; Dependency Manager for PHP in Windows</title>
		<link>https://www.techawaken.com/installing-composer-dependency-manager-php-windows/</link>
				<comments>https://www.techawaken.com/installing-composer-dependency-manager-php-windows/#respond</comments>
				<pubDate>Thu, 11 Jun 2015 18:40:51 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Composer]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=675</guid>
				<description><![CDATA[<p><b><i>Composer</i></b> is a dependency management tool in PHP. It allows you to declare the dependent libraries your project needs and it will install them in your project for you.</p>
<p>You must have PHP installed in your machine prior to installing "Composer".</p>
<p>Composer requires PHP 5.3.2 or above (at least 5.3.4 recommended to avoid potential bugs).</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/magento-system-requirements/" rel="bookmark" title="Magento System Requirements">Magento System Requirements </a></li>
<li><a href="https://www.techawaken.com/install-deb-packages-ubuntu/" rel="bookmark" title="How to install .deb packages in Ubuntu?">How to install .deb packages in Ubuntu? </a></li>
<li><a href="https://www.techawaken.com/installing-magento-with-sample-database/" rel="bookmark" title="Installing Magento with sample database">Installing Magento with sample database </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/installing-composer-dependency-manager-php-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>PHP Warning:  include(): realpath failed to canonicalize</title>
		<link>https://www.techawaken.com/php-warning-include-realpath-failed-canonicalize/</link>
				<comments>https://www.techawaken.com/php-warning-include-realpath-failed-canonicalize/#comments</comments>
				<pubDate>Fri, 27 Jun 2014 17:11:59 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[Magento 1.x]]></category>
		<category><![CDATA[php.ini]]></category>
		<category><![CDATA[Warning]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=571</guid>
				<description><![CDATA[I was getting the following warnings when I was running Magento shell scripts from the command line using PHP CLI (PHP Command Line Interface).

<pre>

PHP Warning:  include(): realpath failed to canonicalize Mage/Core/Model/App.php - bailing in /var/www/magentoproject/lib/Varien/Autoload.php on line 93

PHP Warning:  include(): realpath failed to canonicalize Varien/Event/Collection.php - bailing in /var/www/magentoproject/lib/Varien/Autoload.php on line 93

PHP Warning:  include(): realpath failed to canonicalize Varien/Event/Observer/Collection.php - bailing in /var/www/magentoproject/lib/Varien/Autoload.php on line 93

</pre>



To remove this warning I started debugging Magento code but no success. Then I googled and came across various posts/forums saying that it was possibly due to APC.<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/include-file-bash-shell-script/" rel="bookmark" title="How to include a file in a bash shell script">How to include a file in a bash shell script </a></li>
<li><a href="https://www.techawaken.com/magento-ajax-headers-sent-error-solved/" rel="bookmark" title="Magento &#8211; AJAX &quot;Headers already sent&quot; error solved">Magento &#8211; AJAX &quot;Headers already sent&quot; error solved </a></li>
<li><a href="https://www.techawaken.com/magento-admin-this-account-locked-unlock-it/" rel="bookmark" title="Magento Admin &#8211; &#8220;This account is locked.&#8221;, how to unlock it?">Magento Admin &#8211; &#8220;This account is locked.&#8221;, how to unlock it? </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/php-warning-include-realpath-failed-canonicalize/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>Cannot add more than 1000 products using Magento admin category management interface</title>
		<link>https://www.techawaken.com/add-1000-products-magento-admin-category-management-interface/</link>
				<comments>https://www.techawaken.com/add-1000-products-magento-admin-category-management-interface/#respond</comments>
				<pubDate>Sun, 10 Nov 2013 15:07:58 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=410</guid>
				<description><![CDATA[Many people having a large catalog have faced a problem in Magento "Catalog Management" that they are not able to  assign more than 1000  products under a category using the Magento admin category management interface.

The category management interface allows you to select as many products as you want.  If you have selected more than 1000 products and then you click on the "Save Category" button, the forms submits without any error displayed on the frontend. But if you see the products actually assigned to category in the grid displayed,  it may happen that all the ones you selected have not been assigned to the category but only the first 1000 selected are.

The issue is logged in Magento bug tracking list - Issue #27321 Can't save categories with more than 1000 products [<a title="http://www.magentocommerce.com/bug-tracking/issue?issue=13203" href="http://www.magentocommerce.com/bug-tracking/issue?issue=13203" target="_blank">http://www.magentocommerce.com/bug-tracking/issue?issue=13203</a>]<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/magento-check-if-the-current-page-is-a-category-page-or-not/" rel="bookmark" title="Magento check if the current page is a category page or not">Magento check if the current page is a category page or not </a></li>
<li><a href="https://www.techawaken.com/login-admin-entering-correct-username-password/" rel="bookmark" title="Cannot login in admin even after entering the correct username and password">Cannot login in admin even after entering the correct username and password </a></li>
<li><a href="https://www.techawaken.com/creating-a-new-magento-admin-theme/" rel="bookmark" title="Overriding Magento admin theme files">Overriding Magento admin theme files </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/add-1000-products-magento-admin-category-management-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Force Files to Download Instead of Showing Up in the Browser</title>
		<link>https://www.techawaken.com/force-files-download-showing-browser/</link>
				<comments>https://www.techawaken.com/force-files-download-showing-browser/#respond</comments>
				<pubDate>Sat, 10 Aug 2013 19:06:40 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=387</guid>
				<description><![CDATA[Sometimes you may have noticed that when you click on a download link, the file shows up in one browser while in some other browser it gets downloaded. Internet Explorer will usually try to show Microsoft Word files (doc and docx) in the browser, while most other browsers will download it.

If the browser supports a file it shows up the file else it downloads the file. Image files like png, gif, jpg almost always show in the browser. Archive files like zip, tar, and gzip almost are always downloaded.<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/prompting-a-user-to-save-the-data-we-are-sending/" rel="bookmark" title="Prompting a user to save the data we are sending">Prompting a user to save the data we are sending </a></li>
<li><a href="https://www.techawaken.com/preventing-a-page-from-being-cached-in-browser/" rel="bookmark" title="Preventing a page from being cached in browser">Preventing a page from being cached in browser </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/force-files-download-showing-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Parsing XML file using DOMDocument class</title>
		<link>https://www.techawaken.com/parsing-xml-file-using-domdocument-class/</link>
				<comments>https://www.techawaken.com/parsing-xml-file-using-domdocument-class/#respond</comments>
				<pubDate>Tue, 17 Apr 2012 19:47:45 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=106</guid>
				<description><![CDATA[XML is often used as Data Interchange format. I have worked on e-commerce sites that acted as frontend for taking orders and these order were sent in XML format to third party fulfillment system.

Here we are going to parse a XML file using the <strong>DOMDocument</strong> class.<div class='yarpp-related-rss yarpp-related-none'>

No related posts.
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/parsing-xml-file-using-domdocument-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Prompting a user to save the data we are sending</title>
		<link>https://www.techawaken.com/prompting-a-user-to-save-the-data-we-are-sending/</link>
				<comments>https://www.techawaken.com/prompting-a-user-to-save-the-data-we-are-sending/#respond</comments>
				<pubDate>Fri, 13 Apr 2012 19:43:15 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=85</guid>
				<description><![CDATA[<p>In many projects we create reports and we want the data to be exported in csv file so that the user can download it and send it via email to some other department or we need to provide links to some files and want to force the user to download these file. We can use the <strong>Content-Disposition</strong> header to supply a recommended filename and force the browser to display the save dialog.</p><div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/preventing-a-page-from-being-cached-in-browser/" rel="bookmark" title="Preventing a page from being cached in browser">Preventing a page from being cached in browser </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/prompting-a-user-to-save-the-data-we-are-sending/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Preventing a page from being cached in browser</title>
		<link>https://www.techawaken.com/preventing-a-page-from-being-cached-in-browser/</link>
				<comments>https://www.techawaken.com/preventing-a-page-from-being-cached-in-browser/#respond</comments>
				<pubDate>Fri, 13 Apr 2012 19:25:30 +0000</pubDate>
		<dc:creator><![CDATA[Pawan]]></dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.techawaken.com/?p=79</guid>
				<description><![CDATA[There are times when we require that a page always get served from the server and not from the browser cache. We can use the HMTL following "META" tags to acheive this.
<pre>
&#60;META HTTP-EQUIV="Expires" CONTENT="0"&#62;
&#60;META HTTP-EQUIV="Pragma" CONTENT="no-cache"&#62;
&#60;META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"&#62;
</pre>

<div class='yarpp-related-rss'>
<div id="related">
You Might Also Like<ol>
<li><a href="https://www.techawaken.com/magento-check-if-the-current-page-is-home-page/" rel="bookmark" title="Magento check if the current page is home page">Magento check if the current page is home page </a></li>
<li><a href="https://www.techawaken.com/magento-check-if-the-current-page-is-a-category-page-or-not/" rel="bookmark" title="Magento check if the current page is a category page or not">Magento check if the current page is a category page or not </a></li>
</ol></div>
</div>
]]></description>
						<wfw:commentRss>https://www.techawaken.com/preventing-a-page-from-being-cached-in-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
	</channel>
</rss>
