<?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>Schogini &#187; PHP</title>
	<atom:link href="http://sree.cc/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://sree.cc</link>
	<description>Over The Top Professionals</description>
	<lastBuildDate>Mon, 21 May 2012 12:08:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Memcached in php</title>
		<link>http://sree.cc/php/memcached-in-php</link>
		<comments>http://sree.cc/php/memcached-in-php#comments</comments>
		<pubDate>Fri, 20 Apr 2012 12:47:18 +0000</pubDate>
		<dc:creator>ananya</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Memory]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=12963</guid>
		<description><![CDATA[Disk access is slow. Network access is slow. Databases typically use both. Memory is fast. Using a local cache avoids the overhead of network and disk access. Combine these truths and you get memcached, a “distributed memory object caching system” originally developed for the Perl-based blogging platform LiveJournal. If your application isn’t distributed across multiple [...]]]></description>
		<wfw:commentRss>http://sree.cc/php/memcached-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Random collection of element from an array</title>
		<link>http://sree.cc/php/php-random-collection-of-element-from-an-array</link>
		<comments>http://sree.cc/php/php-random-collection-of-element-from-an-array#comments</comments>
		<pubDate>Fri, 30 Mar 2012 10:02:02 +0000</pubDate>
		<dc:creator>aswathy</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=12381</guid>
		<description><![CDATA[We can randomly collect one or more element from an array by using array_rand() function in PHP. We can specify the number of random elements required by specifying an optional parameter in side the function. $value= array("Rabin","Reid","Cris","KVJ","John"); $rand_keys=array_rand($value,2); echo "First random element = ".$value[$rand_keys[0]]; echo "&#60;br&#62;Second random element = ".$value[$rand_keys[1]];]]></description>
		<wfw:commentRss>http://sree.cc/php/php-random-collection-of-element-from-an-array/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To send an email in PHP</title>
		<link>http://sree.cc/php/php-codes-to-send-an-email</link>
		<comments>http://sree.cc/php/php-codes-to-send-an-email#comments</comments>
		<pubDate>Fri, 30 Mar 2012 09:17:02 +0000</pubDate>
		<dc:creator>aswathy</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=12269</guid>
		<description><![CDATA[&#60;?php $to = "recipient@example.com"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body)) { echo("&#60;p&#62;Message successfully sent!&#60;/p&#62;"); } else { echo("&#60;p&#62;Message delivery failed...&#60;/p&#62;"); } ?&#62;]]></description>
		<wfw:commentRss>http://sree.cc/php/php-codes-to-send-an-email/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful methods to handle exceptions in PHP</title>
		<link>http://sree.cc/php/useful-methods-to-handle-exceptions-in-php</link>
		<comments>http://sree.cc/php/useful-methods-to-handle-exceptions-in-php#comments</comments>
		<pubDate>Sun, 30 Oct 2011 14:55:53 +0000</pubDate>
		<dc:creator>Ajith</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[Backtrace]]></category>
		<category><![CDATA[Exceptions]]></category>
		<category><![CDATA[Getcode]]></category>
		<category><![CDATA[Getfile]]></category>
		<category><![CDATA[Getmessage]]></category>
		<category><![CDATA[Nbsp]]></category>
		<category><![CDATA[Numerical Code]]></category>
		<category><![CDATA[Tostring]]></category>

		<guid isPermaLink="false">http://sree.cc/uncategorized/useful-methods-to-handle-exceptions-in-php</guid>
		<description><![CDATA[getMessage()&#160; gets the exception&#8217;s message &#160; &#160; getCode()&#160; returns a numerical code that represents the exception &#160; &#160; getFile() returns the file where the exception was thrown &#160; &#160; getLine()&#160; returns the line number in the file where the exception was thrown &#160; &#160; getTrace() returns the an array of the backtrace() before the exception [...]]]></description>
		<wfw:commentRss>http://sree.cc/php/useful-methods-to-handle-exceptions-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A php custom function to check the argument is number or string</title>
		<link>http://sree.cc/php/a-php-custom-function-to-check-the-argument-is-number-or-string</link>
		<comments>http://sree.cc/php/a-php-custom-function-to-check-the-argument-is-number-or-string#comments</comments>
		<pubDate>Wed, 19 Oct 2011 03:06:32 +0000</pubDate>
		<dc:creator>Rajeev Pillai</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Custom Function]]></category>
		<category><![CDATA[Int Val]]></category>
		<category><![CDATA[Return String]]></category>
		<category><![CDATA[String Function]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=9380</guid>
		<description><![CDATA[A php custom function to check the argument is number or string: function is_number_or_string($val){ if( ((int) $val + 0 ) &#62; 0 ){ return "Number"; }else{ return "String"; } }]]></description>
		<wfw:commentRss>http://sree.cc/php/a-php-custom-function-to-check-the-argument-is-number-or-string/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Magento controller, action and what happens when you browse a URL</title>
		<link>http://sree.cc/magento_ecommerce_tips/magento-controller-action-and-what-happens-when-you-browse-a-url</link>
		<comments>http://sree.cc/magento_ecommerce_tips/magento-controller-action-and-what-happens-when-you-browse-a-url#comments</comments>
		<pubDate>Mon, 03 Oct 2011 14:05:49 +0000</pubDate>
		<dc:creator>gayatri.sa</dc:creator>
				<category><![CDATA[Magento eCommerce Tips]]></category>
		<category><![CDATA[Args]]></category>
		<category><![CDATA[Backend]]></category>
		<category><![CDATA[Config]]></category>
		<category><![CDATA[controllers]]></category>
		<category><![CDATA[Custom Case]]></category>
		<category><![CDATA[Global Gt]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Mage]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Module]]></category>
		<category><![CDATA[Module Test]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Routers]]></category>
		<category><![CDATA[url]]></category>
		<category><![CDATA[Xml Create]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=9262</guid>
		<description><![CDATA[Assuming you know how to create a custom module, consider a case where you need to create a URL for your module. Follow these steps: In your module&#8217;s config.xml file: &#60;modules&#62; ..... &#60;/modules&#62; &#60;global&#62; .... &#60;/global&#62; &#60;frontend&#62; &#60;routers&#62; &#60;schurl&#62; --&#62; name that will used in the URL &#60;use&#62;standard&#60;/use&#62; ---&#62; standard means its a frontend url; [...]]]></description>
		<wfw:commentRss>http://sree.cc/magento_ecommerce_tips/magento-controller-action-and-what-happens-when-you-browse-a-url/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Put a loading mask while form submit in Sencha Touch</title>
		<link>http://sree.cc/sencha/put-a-loading-mask-while-form-submit-in-sencha-touch</link>
		<comments>http://sree.cc/sencha/put-a-loading-mask-while-form-submit-in-sencha-touch#comments</comments>
		<pubDate>Fri, 26 Aug 2011 03:45:50 +0000</pubDate>
		<dc:creator>gayatri.sa</dc:creator>
				<category><![CDATA[Sencha]]></category>
		<category><![CDATA[Class X]]></category>
		<category><![CDATA[Div Class]]></category>
		<category><![CDATA[Failure]]></category>
		<category><![CDATA[Form Handler]]></category>
		<category><![CDATA[loading mask]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Mask]]></category>
		<category><![CDATA[Msg]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Sencha Touch]]></category>
		<category><![CDATA[sencha touch form]]></category>
		<category><![CDATA[Span Class]]></category>
		<category><![CDATA[Spinner]]></category>
		<category><![CDATA[Submit Url]]></category>
		<category><![CDATA[Success]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=8683</guid>
		<description><![CDATA[You need to explicitly specify the x-template for the mask. So, your form definition should look something like this: { xtype: 'form', // TEMPLATE OF THE MASK waitTpl: '&#60;div class="x-mask-loading"&#62;&#60;div class="x-loading-spinner"&#62;&#60;span class="x-loading-top"&#62;&#60;/span&#62;&#60;span class="x-loading-right"&#62;&#60;/span&#62;&#60;span class="x-loading-bottom"&#62;&#60;/span&#62;&#60;span class="x-loading-left"&#62;&#60;/span&#62;&#60;/div&#62;&#60;div class="x-loading-msg"&#62;{message}&#60;/div&#62;&#60;/div&#62;'), items: [{....] } And the message you want to show you can decide in the form submit button handler [...]]]></description>
		<wfw:commentRss>http://sree.cc/sencha/put-a-loading-mask-while-form-submit-in-sencha-touch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP zip_entry_open() Function</title>
		<link>http://sree.cc/uncategorized/php-zip_entry_open-function</link>
		<comments>http://sree.cc/uncategorized/php-zip_entry_open-function#comments</comments>
		<pubDate>Fri, 29 Jul 2011 09:59:23 +0000</pubDate>
		<dc:creator>juhi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Archive Entry]]></category>
		<category><![CDATA[Br]]></category>
		<category><![CDATA[Echo]]></category>
		<category><![CDATA[Failure]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Open Test]]></category>
		<category><![CDATA[Open Zip]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Syntax]]></category>
		<category><![CDATA[Test Zip]]></category>
		<category><![CDATA[Zip Archive]]></category>
		<category><![CDATA[Zip Code]]></category>
		<category><![CDATA[Zip Entry]]></category>
		<category><![CDATA[Zip File]]></category>
		<category><![CDATA[Zip Zip]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=8552</guid>
		<description><![CDATA[The zip_entry_open() function opens a zip archive entry for reading. This function returns TRUE on success, or FALSE on failure. syntax:zip_entry_open(zip,zip_entry,mode) zip &#8211;&#62; Required. Specifies the zip resource to read (a zip file opened with zip_open() ) zip_entry &#8211;&#62;Required. Specifies the zip entry resource to open (a zip entry opened with zip_read() ) mode&#8211;&#62;Optional. Specifies the [...]]]></description>
		<wfw:commentRss>http://sree.cc/uncategorized/php-zip_entry_open-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unzoom a picture in php</title>
		<link>http://sree.cc/php/unzoom-a-picture-in-php</link>
		<comments>http://sree.cc/php/unzoom-a-picture-in-php#comments</comments>
		<pubDate>Fri, 29 Jul 2011 09:19:33 +0000</pubDate>
		<dc:creator>Ajith</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Imagick]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=8540</guid>
		<description><![CDATA[There are several options: imagecopyresampled() using GD Imagick::resizeImage() using ImageMagick]]></description>
		<wfw:commentRss>http://sree.cc/php/unzoom-a-picture-in-php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Form Submit in Sencha Touch</title>
		<link>http://sree.cc/sencha/form-submit-in-sencha-touch</link>
		<comments>http://sree.cc/sencha/form-submit-in-sencha-touch#comments</comments>
		<pubDate>Mon, 25 Jul 2011 03:24:30 +0000</pubDate>
		<dc:creator>gayatri.sa</dc:creator>
				<category><![CDATA[Sencha]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[Button Text]]></category>
		<category><![CDATA[Date Of Birth]]></category>
		<category><![CDATA[Failure]]></category>
		<category><![CDATA[Handler Function]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Panel Layout]]></category>
		<category><![CDATA[Phone Number]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Register Form]]></category>
		<category><![CDATA[Register Url]]></category>
		<category><![CDATA[Res]]></category>
		<category><![CDATA[Scope]]></category>
		<category><![CDATA[Submit Url]]></category>
		<category><![CDATA[True Options]]></category>

		<guid isPermaLink="false">http://sree.cc/?p=8359</guid>
		<description><![CDATA[Here is the code for a simple form submit in Sencha Touch: var myForm = new Ext.Panel({ layout: 'card', dockedItems: [{ xtype: 'toolbar', docked: 'top', title: 'Test Form' }], items: [{ xtype: 'form', title: 'My Form', id: 'register', items: [{ xtype: 'fieldset', title: 'Personal Info', instructions: 'Some instruction for personal info', defaults: { labelWidth: '40%' [...]]]></description>
		<wfw:commentRss>http://sree.cc/sencha/form-submit-in-sencha-touch/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: sree.cc @ 2012-05-22 09:09:30 -->
