<?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>getRIAed</title>
	<atom:link href="http://ravimarella.com/getriaed/feed/" rel="self" type="application/rss+xml" />
	<link>http://ravimarella.com/getriaed</link>
	<description>flex,flash,AIR</description>
	<lastBuildDate>Tue, 23 Feb 2010 11:10:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>AS3 Singleton class with parameterised constructor</title>
		<link>http://ravimarella.com/getriaed/2010/02/23/as3-singleton-class-with-parameterised-constructor/</link>
		<comments>http://ravimarella.com/getriaed/2010/02/23/as3-singleton-class-with-parameterised-constructor/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 11:10:51 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Patterns]]></category>
		<category><![CDATA[singleton]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=128</guid>
		<description><![CDATA[As many of you already know, in AS3 there is no direct way to create singleton class i.e there is no keyword Singleton or any other equivalent keyword using which this can be accomplished. But there is a simple work around to create singleton class. The code below shows this:
1234567891011121314151617181920212223242526272829public class Services extends EventDispatcher
&#123;
public static [...]]]></description>
			<content:encoded><![CDATA[<p>As many of you already know, in AS3 there is no direct way to create singleton class i.e there is no keyword Singleton or any other equivalent keyword using which this can be accomplished. But there is a simple work around to create singleton class. The code below shows this:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br />29<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #9900cc; font-weight: bold;">class</span> Services extends <a href="http://www.google.com/search?q=eventdispatcher%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:eventdispatcher.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">EventDispatcher</span></a><br />
<span style="color: #000000;">&#123;</span><br />
<span style="color: #0033ff; font-weight: bold;">public</span> static <span style="color: #339966; font-weight: bold;">function</span> getInstance<span style="color: #000000;">&#40;</span><span style="color: #004993;">url</span><span style="color: #000000; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span> <span style="color: #000000; font-weight: bold;">:</span> Services<br />
<span style="color: #000000;">&#123;</span><br />
<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span> servicesLocator == <span style="color: #0033ff; font-weight: bold;">null</span> <span style="color: #000000;">&#41;</span><br />
<span style="color: #000000;">&#123;</span><br />
servicesLocator = <span style="color: #0033ff; font-weight: bold;">new</span> Services<span style="color: #000000;">&#40;</span><span style="color: #004993;">url</span><span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">return</span> servicesLocator;<br />
<span style="color: #000000;">&#125;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #339966; font-weight: bold;">function</span> Services<span style="color: #000000;">&#40;</span><span style="color: #004993;">url</span><span style="color: #000000; font-weight: bold;">:</span><a href="http://www.google.com/search?q=string%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:string.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">String</span></a><span style="color: #000000;">&#41;</span><br />
<span style="color: #000000;">&#123;</span><br />
<br />
<span style="color: #0033ff; font-weight: bold;">if</span> <span style="color: #000000;">&#40;</span> servicesLocator <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #0033ff; font-weight: bold;">null</span> <span style="color: #000000;">&#41;</span><br />
<span style="color: #000000;">&#123;</span><br />
<span style="color: #0033ff; font-weight: bold;">throw</span> <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=error%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:error.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">Error</span></a><span style="color: #000000;">&#40;</span> <span style="color: #990000;">&quot;Only one Services instance should be instantiated&quot;</span> <span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span><br />
ENDPOINT_URL=<span style="color: #004993;">url</span><br />
gateway=<span style="color: #0033ff; font-weight: bold;">new</span> HTTPService<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br />
gateway.resultFormat=<span style="color: #990000;">&quot;e4x&quot;</span>;<br />
gateway.<span style="color: #004993;">url</span> = ENDPOINT_URL;<br />
gateway.<span style="color: #004993;">method</span> = <span style="color: #990000;">&quot;POST&quot;</span>;<br />
gateway.useProxy = <span style="color: #0033ff; font-weight: bold;">false</span>;<br />
gateway.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>ResultEvent.RESULT, resultHandler<span style="color: #000000;">&#41;</span>;<br />
gateway.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span>FaultEvent.FAULT, faultHandler<span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>the way to create object now is like this:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">public</span> <span style="color: #6699cc; font-weight: bold;">var</span> servicesInstance<span style="color: #000000; font-weight: bold;">:</span>Services =Services.getInstance<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;serviceURL.php&quot;</span><span style="color: #000000;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>we&#8217;re defining here a static function called getInstance which calls the constructor <em>only</em> if servicesLocator object is null or not initialized already. A sinlgeton class is particularly of high use for HTTPService object as it allows single point of handling all the requests in this way.</p>
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2010/02/23/as3-singleton-class-with-parameterised-constructor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install PHP PEAR::Mail Class in WAMP2</title>
		<link>http://ravimarella.com/getriaed/2009/08/05/how-to-install-php-pearmail-class-in-wamp2/</link>
		<comments>http://ravimarella.com/getriaed/2009/08/05/how-to-install-php-pearmail-class-in-wamp2/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 06:02:57 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[MAIL]]></category>
		<category><![CDATA[PEAR]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=109</guid>
		<description><![CDATA[Q.How to install PHP PEAR::Mail Class in WAMP2 ?
A:The Solution assumes that you’ve already installed the latest WAMPSERVER
  Go to the PHP installation directory(this is C:\wamp\bin\php\php5.2.6 on my machine) and run the  go-pear.bat file.A command prompt window will be opened with the following message:

Are you installing a system-wide PEAR or a local copy?
&#40;system&#124;local&#41; [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>Q.How to install PHP PEAR::Mail Class in WAMP2 ?</strong></span></p>
<p><span style="color: #008000;"><span style="text-decoration: underline;"><strong>A:</strong></span></span>The Solution assumes that you’ve already installed the latest <a href="http://www.wampserver.com/en/" target="_blank">WAMPSERVER</a></p>
<p><strong> </strong> Go to the PHP installation directory(this is C:\wamp\bin\php\php5.2.6 on my machine) and run the  <span style="color: #3366ff;">go-pear.bat</span> file.A command prompt window will be opened with the following message:</p>
<p style="text-align: left;">
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Are you installing a system<span style="color: #808080;">-</span>wide PEAR <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">or</span> a <a href="http://help.sap.com/abapdocu/en/ABAPLOCAL.htm"><span style="color: #cc4050; text-transform: uppercase; font-weight: bold; zzz:data;">local</span></a> copy?<br />
<span style="color: #808080;">&#40;</span>system|local<span style="color: #808080;">&#41;</span> <span style="color: #808080;">&#91;</span>system<span style="color: #808080;">&#93;</span> <span style="color: #808080;">:</span><br />
Just Press Enter <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">key</span>.</div></div>
<p><span id="more-109"></span><br />
Now it shows the message below:<br />
Below is a suggested file layout for your new PEAR installation.  To<br />
change individual locations, type the number in front of the<br />
directory.  Type ‘all’ to change all of them or simply press Enter to<br />
accept these locations.</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">1. Installation base <span style="color: #808080;">&#40;</span>$prefix<span style="color: #808080;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6<br />
2. Temporary directory <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">for</span> processing &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\tmp<br />
3. Temporary directory <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">for</span> downloads &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\tmp<br />
4. Binaries directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6<br />
5. PHP code directory <span style="color: #808080;">&#40;</span>$php_dir<span style="color: #808080;">&#41;</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\pear<br />
6. Documentation directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\docs<br />
7. <a href="http://help.sap.com/abapdocu/en/ABAPDATA.htm"><span style="color: #cc4050; text-transform: uppercase; font-weight: bold; zzz:data;">Data</span></a> directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\<a href="http://help.sap.com/abapdocu/en/ABAPDATA.htm"><span style="color: #cc4050; text-transform: uppercase; font-weight: bold; zzz:data;">data</span></a><br />
8. User<span style="color: #808080;">-</span>modifiable configuration files directory <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\cfg<br />
9. <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Public</span> Web Files directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\www<br />
10. Tests directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\tests<br />
11. <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Name</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">of</span> configuration file &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\pear.ini<br />
12. Path <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> CLI php.exe &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.6\.<br />
<span style="color: #3399ff;">1</span><span style="color: #808080;">-</span><span style="color: #3399ff;">12</span>, ‘<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span>’ <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">or</span> Enter <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> <a href="http://help.sap.com/abapdocu/en/ABAPCONTINUE.htm"><span style="color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;">continue</span></a><span style="color: #808080;">:</span></div></div>
<p>Check the paths once and again press enter</p>
<p>This will install the PEAR package and shows the following messages:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Beginning install…<br />
Configuration written <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.9<span style="color: #808080;">-</span><span style="color: #3399ff;">1</span>\pear.ini…<br />
Initialized registry…<br />
Preparing <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> install…<br />
installing phar<span style="color: #808080;">://</span>go<span style="color: #808080;">-</span>pear.phar<span style="color: #808080;">/</span>PEAR<span style="color: #808080;">/</span>go<span style="color: #808080;">-</span>pear<span style="color: #808080;">-</span>tarballs<span style="color: #808080;">/</span>Archive_Tar<span style="color: #808080;">-</span>1.3.2.tar…<br />
installing phar<span style="color: #808080;">://</span>go<span style="color: #808080;">-</span>pear.phar<span style="color: #808080;">/</span>PEAR<span style="color: #808080;">/</span>go<span style="color: #808080;">-</span>pear<span style="color: #808080;">-</span>tarballs<span style="color: #808080;">/</span>Console_Getopt<span style="color: #808080;">-</span>1.2.3.tar…<br />
<br />
installing phar<span style="color: #808080;">://</span>go<span style="color: #808080;">-</span>pear.phar<span style="color: #808080;">/</span>PEAR<span style="color: #808080;">/</span>go<span style="color: #808080;">-</span>pear<span style="color: #808080;">-</span>tarballs<span style="color: #808080;">/</span>PEAR<span style="color: #808080;">-</span>1.7.2.tar…<br />
installing phar<span style="color: #808080;">://</span>go<span style="color: #808080;">-</span>pear.phar<span style="color: #808080;">/</span>PEAR<span style="color: #808080;">/</span>go<span style="color: #808080;">-</span>pear<span style="color: #808080;">-</span>tarballs<span style="color: #808080;">/</span>Structures_Graph<span style="color: #808080;">-</span>1.0.2.tar.<br />
..<br />
pear<span style="color: #808080;">/</span>PEAR can optionally use package “pear<span style="color: #808080;">/</span>XML_RPC” <span style="color: #808080;">&#40;</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">version</span> <span style="color: #808080;">&amp;</span>gt;<span style="color: #800080;">=</span> 1.4.0<span style="color: #808080;">&#41;</span><br />
install ok<span style="color: #808080;">:</span> channel<span style="color: #808080;">://</span>pear.php.net<span style="color: #808080;">/</span>Archive_Tar<span style="color: #808080;">-</span>1.3.2<br />
install ok<span style="color: #808080;">:</span> channel<span style="color: #808080;">://</span>pear.php.net<span style="color: #808080;">/</span>Console_Getopt<span style="color: #808080;">-</span>1.2.3<br />
install ok<span style="color: #808080;">:</span> channel<span style="color: #808080;">://</span>pear.php.net<span style="color: #808080;">/</span>Structures_Graph<span style="color: #808080;">-</span>1.0.2<br />
install ok<span style="color: #808080;">:</span> channel<span style="color: #808080;">://</span>pear.php.net<span style="color: #808080;">/</span>PEAR<span style="color: #808080;">-</span>1.7.2<br />
PEAR<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Optional</span> feature webinstaller available <span style="color: #808080;">&#40;</span>PEAR’s web<span style="color: #808080;">-</span>based installer<span style="color: #808080;">&#41;</span><br />
PEAR<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Optional</span> feature gtkinstaller available <span style="color: #808080;">&#40;</span>PEAR’s PHP<span style="color: #808080;">-</span>GTK<span style="color: #808080;">-</span>based installer<span style="color: #808080;">&#41;</span><br />
PEAR<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Optional</span> feature gtk2installer available <span style="color: #808080;">&#40;</span>PEAR’s PHP<span style="color: #808080;">-</span>GTK2<span style="color: #808080;">-</span>based installer<span style="color: #808080;">&#41;</span><br />
<br />
PEAR<span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">To</span> install <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">optional</span> features use “pear install pear<span style="color: #808080;">/</span>PEAR#featurename”<br />
<br />
<span style="color: #339933;">******************************************************************************WARNING! The include_path defined in the currently used php.ini does not contain the PEAR PHP directory you just specified:Would you like to alter php.ini &amp;lt;C:\wamp\bin\apache\apache2.2.11\bin\php.ini&amp;gt;? [Y/n] :</span></div></div>
<p>Press<strong> N</strong>, as pressing Y doesn’t edit the actual php.ini file that will be used by WAMPServer.</p>
<p>This will display the following:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Please look over your php.ini file <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> make sure<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.9<span style="color: #808080;">-</span><span style="color: #3399ff;">1</span>\pear <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">is</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">in</span> your include_path.<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Current</span> <a href="http://help.sap.com/abapdocu/en/ABAPINCLUDE.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">include</span></a> path &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> .;C<span style="color: #808080;">:</span>\php5\pear<br />
Configured directory &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.9<span style="color: #808080;">-</span><span style="color: #3399ff;">1</span>\pear<br />
Currently used php.ini <span style="color: #808080;">&#40;</span>guess<span style="color: #808080;">&#41;</span> <span style="color: #808080;">:</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span><span style="color: #808080;">:</span>\wamp\bin\apache\apache2.2.11\bin\php.ini</div></div>
<p>Press Enter to continue:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">The ‘pear’ command <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">is</span> now <a href="http://help.sap.com/abapdocu/en/ABAPAT.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">at</span></a> your service <a href="http://help.sap.com/abapdocu/en/ABAPAT.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">at</span></a> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">c</span><span style="color: #808080;">:</span>\wamp\bin\php\php5.2.9<span style="color: #808080;">-</span><span style="color: #3399ff;">1</span>\pear.bat<br />
<br />
<span style="color: #339933;">** The ‘pear’ command is not currently in your PATH, so you need to</span><br />
<span style="color: #339933;">** use ‘c:\wamp\bin\php\php5.2.9-1\pear.bat’ until you have added</span><br />
<span style="color: #339933;">** ‘C:\wamp\bin\php\php5.2.9-1? to your PATH environment variable.</span><br />
<br />
Run it without <a href="http://help.sap.com/abapdocu/en/ABAPPARAMETERS.htm"><span style="color: #cc4050; text-transform: uppercase; font-weight: bold; zzz:data;">parameters</span></a> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> see the available actions, <a href="http://help.sap.com/abapdocu/en/ABAPTRY.htm"><span style="color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;">try</span></a> ‘pear list’<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> see what packages are installed, <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">or</span> ‘pear help’ <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">for</span> help.<br />
<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">For</span> more information about PEAR, see<span style="color: #808080;">:</span><br />
<br />
http<span style="color: #808080;">://</span>pear.php.net<span style="color: #808080;">/</span>faq.php<br />
http<span style="color: #808080;">://</span>pear.php.net<span style="color: #808080;">/</span>manual<span style="color: #808080;">/</span><br />
<br />
Thanks <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">for</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">using</span> go<span style="color: #808080;">-</span>pear<span style="color: #808080;">!</span></div></div>
<p>Now, you’ve successfully installed basic PEAR package. To actually see the package in work, first of all you’ve to edit your ini file. So open the<em> </em><em>c:\wamp\bin\apache\apache2.2.11\bin\php.in</em>i file and search for</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">; Windows<span style="color: #808080;">:</span> “\path1;\path2?<br />
;include_path <span style="color: #800080;">=</span> “.;c<span style="color: #808080;">:</span>\php\includes”</div></div>
<p>modify it to:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">; Windows<span style="color: #808080;">:</span> “\path1;\path2?<br />
include_path <span style="color: #800080;">=</span> “.;c<span style="color: #808080;">:</span>\wamp\bin\php\php5.2.9<span style="color: #808080;">-</span><span style="color: #3399ff;">1</span>\PEAR”</div></div>
<p>In c:\wamp\bin\php\php5.2.9-1, copy the file pear.bat to C:\WINDOWS\system32. Alternatively you can add C:\wamp\php to your windows PATH environment variable to expose this file globally. This step helps you to run the pear commands directly from the DOS with out traversing to the exact path every time.</p>
<p>Ok, now restart apache and goto command and type <em>pear </em>. If you see a message similar to the one below, then your PEAR installation is successful other wise…go through the steps above and check for any errors:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Commands<span style="color: #808080;">:</span><br />
build &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Build an Extension <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">From</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">C</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Source</span><br />
bundle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Unpacks a Pecl Package<br />
channel<span style="color: #808080;">-</span><a href="http://help.sap.com/abapdocu/en/ABAPADD.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">add</span></a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://help.sap.com/abapdocu/en/ABAPADD.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">Add</span></a> a Channel<br />
channel<span style="color: #808080;">-</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">alias</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Specify an <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">alias</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> a channel <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">name</span><br />
channel<span style="color: #808080;">-</span><a href="http://help.sap.com/abapdocu/en/ABAPDELETE.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">delete</span></a> &nbsp; &nbsp; &nbsp; &nbsp; Remove a Channel <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">From</span> the List<br />
channel<span style="color: #808080;">-</span>discover &nbsp; &nbsp; &nbsp; Initialize a Channel <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">from</span> its server<br />
channel<span style="color: #808080;">-</span>info &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Retrieve Information on a Channel<br />
channel<span style="color: #808080;">-</span><a href="http://help.sap.com/abapdocu/en/ABAPUPDATE.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">update</span></a> &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://help.sap.com/abapdocu/en/ABAPUPDATE.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">Update</span></a> an Existing Channel<br />
clear<span style="color: #808080;">-</span>cache &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://help.sap.com/abapdocu/en/ABAPCLEAR.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">Clear</span></a> Web Services Cache<br />
config<span style="color: #808080;">-</span>create &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Create a <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Default</span> configuration file<br />
config<span style="color: #808080;">-</span><a href="http://help.sap.com/abapdocu/en/ABAPGET.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">get</span></a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Show One Setting<br />
config<span style="color: #808080;">-</span>help &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Show Information About Setting<br />
config<span style="color: #808080;">-</span>set &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Change Setting<br />
config<span style="color: #808080;">-</span>show &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Show <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">All</span> Settings<br />
convert &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Convert a package.xml <span style="color: #3399ff;">1.0</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> package.xml <span style="color: #3399ff;">2.0</span> <a href="http://help.sap.com/abapdocu/en/ABAPFORMAT.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">format</span></a><br />
cvsdiff &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Run a “cvs diff” <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">for</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span> files <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">in</span> a package<br />
cvstag &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set CVS Release Tag<br />
download &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Download Package<br />
download<span style="color: #808080;">-</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Downloads each available package <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">from</span> the <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">default</span> channel<br />
<br />
info &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Display information about a package<br />
install &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Install Package<br />
list &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List Installed Packages <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">In</span> The <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Default</span> Channel<br />
list<span style="color: #808080;">-</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">All</span> Packages<br />
list<span style="color: #808080;">-</span>channels &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;List Available Channels<br />
list<span style="color: #808080;">-</span>files &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; List Files <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">In</span> Installed Package<br />
list<span style="color: #808080;">-</span>upgrades &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;List Available Upgrades<br />
login &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Connects <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">and</span> authenticates <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> remote server<br />
logout &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Logs <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">out</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">from</span> the remote server<br />
makerpm &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Builds an RPM spec file <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">from</span> a PEAR package<br />
package &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Build Package<br />
package<span style="color: #808080;">-</span>dependencies &nbsp; Show package dependencies<br />
package<span style="color: #808080;">-</span>validate &nbsp; &nbsp; &nbsp; Validate Package Consistency<br />
pickle &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Build PECL Package<br />
remote<span style="color: #808080;">-</span>info &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Information About Remote Packages<br />
remote<span style="color: #808080;">-</span>list &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;List Remote Packages<br />
run<span style="color: #808080;">-</span>scripts &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Run Post<span style="color: #808080;">-</span>Install Scripts bundled <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">with</span> a package<br />
run<span style="color: #808080;">-</span>tests &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Run Regression Tests<br />
<a href="http://help.sap.com/abapdocu/en/ABAPSEARCH.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">search</span></a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://help.sap.com/abapdocu/en/ABAPSEARCH.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">Search</span></a> remote package <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">database</span><br />
shell<span style="color: #808080;">-</span>test &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Shell Script Test<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">sign</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Sign</span> a package distribution file<br />
uninstall &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Un<span style="color: #808080;">-</span>install Package<br />
update<span style="color: #808080;">-</span>channels &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://help.sap.com/abapdocu/en/ABAPUPDATE.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">Update</span></a> the Channel List<br />
upgrade &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Upgrade Package<br />
upgrade<span style="color: #808080;">-</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Upgrade <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">All</span> Packages<br />
Usage<span style="color: #808080;">:</span> pear <span style="color: #808080;">&#91;</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">options</span><span style="color: #808080;">&#93;</span> command <span style="color: #808080;">&#91;</span>command<span style="color: #808080;">-</span><span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">options</span><span style="color: #808080;">&#93;</span> <span style="color: #808080;">&amp;</span>lt;parameters<span style="color: #808080;">&amp;</span>gt;<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Type</span> “pear help <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">options</span>” <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> list <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">options</span>.<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Type</span> “pear help shortcuts” <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> list <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">all</span> command shortcuts.<br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Type</span> “pear help <span style="color: #808080;">&amp;</span>lt;command<span style="color: #808080;">&amp;</span>gt;” <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">to</span> <a href="http://help.sap.com/abapdocu/en/ABAPGET.htm"><span style="color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;">get</span></a> the help <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">for</span> the specified command.</div></div>
<p>Ok. Now, on to the MAIL package installation. To install the PEAR mail package, all that you’ve to do is open the command prompt and type <em>pear install –alldeps mail.</em></p>
<p>This installs the PEAR::Mail package with all the dependencies.</p>
<p>To test the installation, type <em>pear list</em> on command prompt and you should see the message as below:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">INSTALLED PACKAGES, CHANNEL PEAR.PHP.NET<span style="color: #808080;">:</span><br />
<span style="color: #800080;">=========================================</span><br />
PACKAGE &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">VERSION</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">STATE</span><br />
Archive_Tar &nbsp; &nbsp; &nbsp;1.3.2 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
Auth_SASL &nbsp; &nbsp; &nbsp; &nbsp;1.0.2 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
Console_Getopt &nbsp; 1.2.3 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Mail</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.1.14 &nbsp;<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
Net_SMTP &nbsp; &nbsp; &nbsp; &nbsp; 1.3.2 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
Net_Socket &nbsp; &nbsp; &nbsp; 1.0.9 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
PEAR &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.7.1 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span><br />
Structures_Graph 1.0.2 &nbsp; <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">stable</span></div></div>
<p>That’s it…you’re ready to send mails using PHP pear package. Here is a starter example:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">?php<br />
require_once “<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Mail</span>.php”;<br />
<br />
$from <span style="color: #800080;">=</span> “sender&lt;sender@yourdomain.com&gt;”;<br />
$to <span style="color: #800080;">=</span> “reciever &lt;reciever@recieverdomain.com&gt;”;<br />
$subject <span style="color: #800080;">=</span> “Hi<span style="color: #808080;">!</span>”;<br />
$body <span style="color: #800080;">=</span> “Hi,\<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">n</span>\nHow are you?”;<br />
<br />
$host <span style="color: #800080;">=</span> “smtp.yourdomain.com”;<br />
$username <span style="color: #800080;">=</span> “sender@yourdomain.com”;<br />
$password <span style="color: #800080;">=</span> “senderpassword”;<br />
<br />
$headers <span style="color: #800080;">=</span> array <span style="color: #808080;">&#40;</span>’<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">From</span>’ <span style="color: #800080;">=</span>&gt; $from,<br />
‘<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">To</span>’ <span style="color: #800080;">=</span>&gt; $to,<br />
‘Subject’ <span style="color: #800080;">=</span>&gt; $subject<span style="color: #808080;">&#41;</span>;<br />
$smtp <span style="color: #800080;">=</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Mail</span><span style="color: #808080;">::</span>factory<span style="color: #808080;">&#40;</span>’smtp’,<br />
array <span style="color: #808080;">&#40;</span>’host’ <span style="color: #800080;">=</span>&gt; $host,<br />
‘auth’ <span style="color: #800080;">=</span>&gt; <span style="color: #202020;">true</span>,<br />
‘username’ <span style="color: #800080;">=</span>&gt; $username,<br />
‘password’ <span style="color: #800080;">=</span>&gt; $password<span style="color: #808080;">&#41;</span><span style="color: #808080;">&#41;</span>;<br />
<br />
$mail <span style="color: #800080;">=</span> $smtp<span style="color: #808080;">-</span>&gt;<span style="color: #202020;">send</span><span style="color: #808080;">&#40;</span>$to, $headers, $body<span style="color: #808080;">&#41;</span>;<br />
<br />
<a href="http://help.sap.com/abapdocu/en/ABAPIF.htm"><span style="color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;">if</span></a> <span style="color: #808080;">&#40;</span>PEAR<span style="color: #808080;">::</span>isError<span style="color: #808080;">&#40;</span>$mail<span style="color: #808080;">&#41;</span><span style="color: #808080;">&#41;</span> <span style="color: #808080;">&#123;</span><br />
echo<span style="color: #808080;">&#40;</span>”&lt;p&gt;” . $mail<span style="color: #808080;">-</span>&gt;<span style="color: #202020;">getMessage</span><span style="color: #808080;">&#40;</span><span style="color: #808080;">&#41;</span> . “&lt;<span style="color: #808080;">/</span>p&gt;”<span style="color: #808080;">&#41;</span>;<br />
<span style="color: #808080;">&#125;</span> <a href="http://help.sap.com/abapdocu/en/ABAPELSE.htm"><span style="color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;">else</span></a> <span style="color: #808080;">&#123;</span><br />
echo<span style="color: #808080;">&#40;</span>”&lt;p&gt;Message successfully sent<span style="color: #808080;">!</span>&lt;<span style="color: #808080;">/</span>p&gt;”<span style="color: #808080;">&#41;</span>;<br />
<span style="color: #808080;">&#125;</span><br />
?&gt;</div></div>
<p>Please note that naming this file as <strong>mail.php</strong> will cause error saying that class Mail is undefined on line 16. So take care that you’ve named it something else.</p>
<p>To send mail using SSL authentication, you’ve to take some extra steps after the above.</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">1. <a href="http://help.sap.com/abapdocu/en/ABAPCHECK.htm"><span style="color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;">Check</span></a> that php_openssl.dll <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">exists</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">in</span> the ext folder.<br />
2. <a href="http://help.sap.com/abapdocu/en/ABAPCHECK.htm"><span style="color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;">check</span></a><span style="color: #808080;">:</span> PHP.ini <span style="color: #808080;">-</span> extension<span style="color: #800080;">=</span>php_openssl.dll extension <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">is</span> enabled.</div></div>
<p>Now the code needs extra arguments to be passed. Let’s assume we want to use a Google mail account:</p>
<div class="codecolorer-container abap default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><div class="abap codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">$host <span style="color: #800080;">=</span> ’ssl<span style="color: #808080;">://</span>smtp.gmail.com’;<br />
$username <span style="color: #800080;">=</span> ‘user@googlemail.com’;<br />
$password <span style="color: #800080;">=</span> ‘pw’;<br />
<br />
$headers <span style="color: #800080;">=</span> array <span style="color: #808080;">&#40;</span><br />
‘<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">From</span>’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; $from,<br />
‘<span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">To</span>’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; $to,<br />
‘Subject’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; $subject<br />
<span style="color: #808080;">&#41;</span>;<br />
$smtp <span style="color: #800080;">=</span> <span style="color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;">Mail</span><span style="color: #808080;">::</span>factory<span style="color: #808080;">&#40;</span><br />
’smtp’,<br />
array <span style="color: #808080;">&#40;</span><br />
‘host’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; $host,<br />
‘IDhost’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; “gmail.com”,<br />
‘port’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; <span style="color: #3399ff;">465</span>,<br />
‘auth’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; true,<br />
‘username’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; $username,<br />
‘password’ <span style="color: #800080;">=</span><span style="color: #808080;">&amp;</span>gt; $password<br />
<span style="color: #808080;">&#41;</span><br />
<span style="color: #808080;">&#41;</span>;<br />
<br />
$mail <span style="color: #800080;">=</span> $smtp<span style="color: #808080;">-&amp;</span>gt;send<span style="color: #808080;">&#40;</span>$to, $headers, $body<span style="color: #808080;">&#41;</span>;</div></div>
<p>Post a comment if you still have some problems.</p>
<p>cheers,</p>
<p>ravi.</p>
<p>references:</p>
<p><a href="http://www.joep.communityhost.org.uk/?p=30" target="_blank">http://www.joep.communityhost.org.uk/?p=30</a></p>
<p><a href="http://crc-stc.com/How_to_Install_PHP_PEAR_on_WampServer" target="_blank">http://crc-stc.com/How_to_Install_PHP_PEAR_on_WampServer</a></p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/08/05/how-to-install-php-pearmail-class-in-wamp2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Page Flip effect in flash V0.1</title>
		<link>http://ravimarella.com/getriaed/2009/07/07/page-flip-effect-in-flash-v0-1/</link>
		<comments>http://ravimarella.com/getriaed/2009/07/07/page-flip-effect-in-flash-v0-1/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 11:17:40 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[PageFlip]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=98</guid>
		<description><![CDATA[I&#8217;m reading the book Flash Hacks by Sham Bhangal now&#8230; although this book is more than 5 years old and written with Flash MX in mind, the techniques are invaluable even today&#8230;
One hack described in this book is the pageflip effect.  I know this has been around for a looooong time&#8230;but i&#8217;m not able to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m reading the book <a href="http://oreilly.com/catalog/9780596006457/" target="_blank">Flash Hacks</a> by Sham Bhangal now&#8230; although this book is more than 5 years old and written with Flash MX in mind, the techniques are invaluable even today&#8230;</p>
<p>One hack described in this book is the pageflip effect.  I know this has been around for a looooong time&#8230;but i&#8217;m not able to find any good tutorials on how to do this&#8230;there are a few commercial pageflip effects available and look really very good and are also highly customizable&#8230;</p>
<p>I&#8217;m working basing on the idea provided in the book and trying to develop a more advanced pageflip application &#8230;</p>
<p>You can read the original tutorial from <a href="http://oreilly.com/pub/a/javascript/archive/flashhacks.html?page=1" target="_blank">here</a>.</p>
<p>The technique behind this is really simple once reading the tutorial&#8230;so what i&#8217;m trying to do now is add some extra effects and features to the raw effect created in the book. Here is the original sample:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_hack25_pageTurn_970888590"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/07/hack25_pageTurn.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/07/hack25_pageTurn.swf"
			name="fm_hack25_pageTurn_970888590"
			width="550"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>In this original version, the page curls at the start of the application&#8230;so i&#8217;ve made a small change so that the page curls when the mouse is at the right hand corner&#8230;.here is my updated application&#8230;right click to download the fla:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_PageFlipV_0_1_1756651306"
			class="flashmovie"
			width="550"
			height="400">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/07/PageFlipV_0_1.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/07/PageFlipV_0_1.swf"
			name="fm_PageFlipV_0_1_1756651306"
			width="550"
			height="400">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object><br />
In the next version i&#8217;ll try to add the reverse flipping and pages on both the sides&#8230;as you can see currently the pages are displayed only on the right hand side&#8230;</p>
<input id="gwProxy" type="hidden" />
<p><!--Session data--></p>
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/07/07/page-flip-effect-in-flash-v0-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching Flex XMLListCollection using IViewCursor</title>
		<link>http://ravimarella.com/getriaed/2009/07/01/searching-flex-xmllistcollection-using-iviewcursor/</link>
		<comments>http://ravimarella.com/getriaed/2009/07/01/searching-flex-xmllistcollection-using-iviewcursor/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 09:01:40 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[IViewCursor]]></category>
		<category><![CDATA[XMLListCollection]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[finAny()]]></category>
		<category><![CDATA[multiple fields]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[sort]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=79</guid>
		<description><![CDATA[This post explains how to search a XmlListColelction for multiple fields using IViewCursor&#8217;s findAny() method .
Recently in one of my projects, I&#8217;d to use the IViewCursor to search the XMLListCollection and faced some problems initially but implemented it successfully after doing some research. I&#8217;m posting the same example (-) the actual database contents&#8230;i&#8217;ll use sample [...]]]></description>
			<content:encoded><![CDATA[<p>This post explains how to search a XmlListColelction for multiple fields using IViewCursor&#8217;s findAny() method .</p>
<p>Recently in one of my projects, I&#8217;d to use the IViewCursor to search the XMLListCollection and faced some problems initially but implemented it successfully after doing some research. I&#8217;m posting the same example (-) the actual database contents&#8230;i&#8217;ll use sample XML files for the purpose of this example.</p>
<p>The scenario for which i&#8217;ve implemented this thing is as follows:<span id="more-79"></span></p>
<p>I&#8217;ve three tables users,courses and privileges. The users and courses tables contains the details of the existing courses and users and the privileges table contains the course&#8211;&gt;user mappings and access levels.</p>
<p>Now in flex, i&#8217;m using datagrid to show the privileges&#8230;and another form to create new priviliges. This form contains<br />
two list boxes for users and courses and checkboxes for each privilege.</p>
<p>So when the admin of my application selects a course and user and if that user has already has some privileges over that course, those privileges have to be shown by autoselcting the corresponding checkboxes.</p>
<p>So to match the selected user and course with the existing privileges, i&#8217;m using IViewCursor. but the IviewCursor&#8217;s findAny() method returns true if either course or user is found in the privileges list which is not exactly what i&#8217;m expecting&#8230;i.e return true only if a row contains both the selected user and course.</p>
<p>And here is the sample of the application:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_XMLListCollectionSearch_937005439"
			class="flashmovie"
			width="620"
			height="450">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/07/XMLListCollectionSearch.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/07/XMLListCollectionSearch.swf"
			name="fm_XMLListCollectionSearch_937005439"
			width="620"
			height="450">
	<!--<![endif]-->
		
<p><a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Right Click/Click on the view source button to view the source of this application.</p>
<p>Now some explanation:</p>
<p>The application contains a datagrid which shows the privileges of a particular user on a particular course and two list boxes showing all the available courses and users. When you select a user and a course, an Alert box appears if the selected user has some priviliges allocated to her on the selected course.</p>
<p>To do this, first of all i&#8217;ve stored my data in 3 XML files</p>
<ul>
<li>Privileges.xml contains the details of which user has what priviges on a course</li>
<li>Course.xml contains details of  courses available</li>
<li>users.xml contains details of all users available</li>
</ul>
<p>There is an XMLListCollection named privilegesModel in to which the privileges.xml is loaded. Once it is loaded, i&#8217;ve sorted the collection on the two criteria on which i&#8217;m going to search i.e user name and the course name like this:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">privilegesCollection.<span style="color: #004993;">source</span>=e.result.row;<br />
<br />
<span style="color: #6699cc; font-weight: bold;">var</span> sortValue<span style="color: #000000; font-weight: bold;">:</span>Sort=<span style="color: #0033ff; font-weight: bold;">new</span> Sort &nbsp; &nbsp;<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br />
sortValue.fields = <span style="color: #000000;">&#91;</span><span style="color: #0033ff; font-weight: bold;">new</span> SortField<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;user_name&quot;</span>,<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span>,<span style="color: #0033ff; font-weight: bold;">new</span> SortField<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;course_name&quot;</span>,<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>;<br />
privilegesCollection.<span style="color: #004993;">sort</span>=sortValue;<br />
privilegesCollection.refresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></td></tr></tbody></table></div>
<p><strong>Remember </strong></p>
<ul>
<li> you must sort the XmlListCollection if you want to user IViewCursor&#8217;s methods on it&#8230;otherwise flash will throw a runtime error saying that the collection is not sorted.</li>
<li>The sort must be on all the fields on which you&#8217;re going to search later. i.e here i&#8217;m searching for a row with both the coursename and user name&#8230;so, i must sort XMLListCollection on both username and coursename fields. If i sort it on just course name or user name and later search on both criteria, flex will return true for for any row with containing just the single field on which i&#8217;ve sorted &#8230; let&#8217;s assume that i&#8217;ve sorted on just the username liket this:</li>
</ul>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">privilegesCollection.<span style="color: #004993;">source</span>=e.result.row;<br />
<br />
<span style="color: #6699cc; font-weight: bold;">var</span> sortValue<span style="color: #000000; font-weight: bold;">:</span>Sort=<span style="color: #0033ff; font-weight: bold;">new</span> Sort &nbsp; &nbsp;<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br />
sortValue.fields = <span style="color: #000000;">&#91;</span><span style="color: #0033ff; font-weight: bold;">new</span> SortField<span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;user_name&quot;</span>,<span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#93;</span>;<br />
privilegesCollection.<span style="color: #004993;">sort</span>=sortValue;<br />
privilegesCollection.refresh<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;</div></td></tr></tbody></table></div>
<p>and then i search the collection usign IViewCursor&#8217;s findAny method like this:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #6699cc; font-weight: bold;">var</span> searchObj<span style="color: #000000; font-weight: bold;">:</span><a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">Object</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=object%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:object.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">Object</span></a><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;<br />
searchObj.user_name = usersListBox.selectedItem.user_name;<br />
searchObj.course_name =coursesListBox.selectedItem.course_name;<br />
<span style="color: #0033ff; font-weight: bold;">if</span><span style="color: #000000;">&#40;</span>cursor.findAny<span style="color: #000000;">&#40;</span>searchObj<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><br />
<span style="color: #000000;">&#123;</span><br />
Alert.<span style="color: #004993;">show</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;found&quot;</span><span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #0033ff; font-weight: bold;">else</span><br />
<span style="color: #000000;">&#123;</span><br />
Alert.<span style="color: #004993;">show</span><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;not found&quot;</span><span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>then flex will show found Alert when ever you select a user present in the collection and any course&#8230;still confused?? watch this example:</p>
<p><a href="http://ravimarella.com/XmlListCollection/XMLListCollectionSearch.html" target="_blank">http://ravimarella.com/XmlListCollection/XMLListCollectionSearch.html</a></p>
<p>So you must sort the collection on all the fields for which you&#8217;re going to search otherwise the results will not be as expected.</p>
<p>Hope that post helps someone. Leave a comment if anypart of the post is still confusing..</p>
<p>Happy Flexing&#8230;<img class="wpml_ico" src="http://ravimarella.com/getriaed/wp-content/plugins/wp-monalisa/icons/wpml_mail.gif" alt="" /></p>
<p>Ravi.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/07/01/searching-flex-xmllistcollection-using-iviewcursor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding custom path to viewSource option of your flex application</title>
		<link>http://ravimarella.com/getriaed/2009/06/23/adding-custom-path-to-view-source-option-of-your-flex-application/</link>
		<comments>http://ravimarella.com/getriaed/2009/06/23/adding-custom-path-to-view-source-option-of-your-flex-application/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 08:59:25 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[Application]]></category>
		<category><![CDATA[Customization]]></category>
		<category><![CDATA[flex]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=73</guid>
		<description><![CDATA[Ok. Today i was trying to export the release build of a simple example i've done with the View Source option enabled. But the problem is the source path can only be relative to bin-release which wont work with the perma link system that i'm using with my wordpress blog which creates virtual links.]]></description>
			<content:encoded><![CDATA[<p>Ok. Today i was trying to export the release build of a simple example i&#8217;ve done with the View Source option enabled. But the problem is the source path can only be relative to bin-release which wont work with the perma link system that i&#8217;m using with my wordpress blog which creates virtual links.</p>
<p>At first i thought of giving a custom path value to the viewSourceURL property of the Application tag like this:</p>
<p><span id="more-73"></span></p>
<div class="codecolorer-container mxml default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="mxml codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">viewSourceURL=&quot;http://ravimarella.com/getriaed/flexSource/Custom_View_Source_Publishing/index.html&quot;<span style="color: #ddbb00;">&amp;gt;</span></div></td></tr></tbody></table></div>
<p>and just export the release build without selecting the view source option. But the problem with this is Flex Builder automatically deletes the viewSourceURL variable and its value once it publishes the release build. So my options are to place the above code intact and just the debug version of the swf. But the debug version contain lot of unnecessary info and adds up to the file size ultimately. So this is the solution i came up with:</p>
<p>1. Add a new Right Click Context Menu item on the application&#8217;s CreationComplete event like this:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> <span style="color: #004993;">init</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
<span style="color: #000000;">&#123;</span><br />
<span style="color: #6699cc; font-weight: bold;">var</span> viewSourceItem<span style="color: #000000; font-weight: bold;">:</span><a href="http://www.google.com/search?q=contextmenuitem%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:contextmenuitem.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">ContextMenuItem</span></a> = <span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=contextmenuitem%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:contextmenuitem.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">ContextMenuItem</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;View Source&quot;</span>, <span style="color: #0033ff; font-weight: bold;">true</span><span style="color: #000000;">&#41;</span>;<br />
<span style="color: #6699cc; font-weight: bold;">var</span> contextMenuCustomItems<span style="color: #000000; font-weight: bold;">:</span><a href="http://www.google.com/search?q=array%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:array.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">Array</span></a> = application.<span style="color: #004993;">contextMenu</span>.<span style="color: #004993;">customItems</span>;<br />
contextMenuCustomItems.<span style="color: #004993;">push</span><span style="color: #000000;">&#40;</span>viewSourceItem<span style="color: #000000;">&#41;</span>;<br />
viewSourceItem.<span style="color: #004993;">addEventListener</span><span style="color: #000000;">&#40;</span><a href="http://www.google.com/search?q=contextmenuevent%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:contextmenuevent.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">ContextMenuEvent</span></a>.<span style="color: #004993;">MENU_ITEM_SELECT</span>, showSource<span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> showSource<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span><a href="http://www.google.com/search?q=event%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:event.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">Event</span></a><span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
<span style="color: #000000;">&#123;</span><br />
<span style="color: #004993;">navigateToURL</span><span style="color: #000000;">&#40;</span><span style="color: #0033ff; font-weight: bold;">new</span> <a href="http://www.google.com/search?q=urlrequest%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:urlrequest.html&amp;filter=0&amp;num=100&amp;btnI=lucky"><span style="color: #004993;">URLRequest</span></a><span style="color: #000000;">&#40;</span><span style="color: #990000;">&quot;http://ravimarella.com/getriaed/flexSource/Custom_View_Source_Publishing/index.html&quot;</span><span style="color: #000000;">&#41;</span>,<span style="color: #990000;">&quot;_blank&quot;</span><span style="color: #000000;">&#41;</span>;<br />
<span style="color: #000000;">&#125;</span></div></td></tr></tbody></table></div>
<p>What this will do is add a new menuitem to the menu that appears when you Righ Click or Ctrl_+Click on Mac called &#8220;View Source&#8221; and up on clicking this menu item navigates to the URL mentioned. The menuitem name can be named ofcourse as anything you want.</p>
<p>2. Export the release build with viewsource option enabled. This step is just to gather the source files. You can skip this step and select the source files your self and place them in a single folder. I prefer the first method as flex published the index.html and uses a clean interface to navigate through and download different items of your source.</p>
<p>3. Now, you can edit the source code exported to remove the viewSourceURL option just for the sake of your users or keep it intact if you dont prefer to take the extra step and let your users see the extra ViewSource option which is not the one that you are actually using. Note that flex renames creates your mxml files as .mxml.html files&#8230;so to remove that ViewSourceURL option, just open the main application mxml file in any text editor and remove the code pertaining to the ViewSourceURL.</p>
<p>Now just upload the source code folder contents in the exactly same URL as mentioned above by you.</p>
<p>Thats it&#8230;now you are ready with a Custom and absolute path for your Source code.</p>
<p>Here is  sample that i&#8217;ve done:</p>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Custom_View_Source_Publishing_931352068"
			class="flashmovie"
			width="600"
			height="300">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/Custom_View_Source_Publishing.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/Custom_View_Source_Publishing.swf"
			name="fm_Custom_View_Source_Publishing_931352068"
			width="600"
			height="300">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>Right Click any where on the application and click View Source option to see the source&#8230;</p>
<p><span style="text-decoration: underline;"><strong>REMEMBER</strong></span>, you&#8217;ve to export the release build twice&#8230;first time with the source code export option selected and second time without the sourcecode option so that the default viewsource option wont show up on right click&#8230;</p>
<p>Happy flexing..<img class="wpml_ico" src="http://ravimarella.com/getriaed/wp-content/plugins/wp-monalisa/icons/wpml_mail.gif" alt="" /></p>
<p>cheers,</p>
<p>ravi.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/06/23/adding-custom-path-to-view-source-option-of-your-flex-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex 3 Certification Mock tests</title>
		<link>http://ravimarella.com/getriaed/2009/06/20/flex-3-certification-mock-tests/</link>
		<comments>http://ravimarella.com/getriaed/2009/06/20/flex-3-certification-mock-tests/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 18:28:09 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=44</guid>
		<description><![CDATA[if you haven&#8217;t already heard of  it, PXL designs has released Attest 1.5 which is a tool built in adobe AIR that provides mock tests for Flex 3. Unlike Attest 1.0 which was not free, this is a free version which provides 3 full length tests of 50 questions each and 5 mini tests of [...]]]></description>
			<content:encoded><![CDATA[<p>if you haven&#8217;t already heard of  it, <a href="http://www.pxldesigns.com/" target="_blank">PXL designs</a> has released Attest 1.5 which is a tool built in adobe AIR that provides mock tests for Flex 3. Unlike Attest 1.0 which was not free, this is a free version which provides 3 full length tests of 50 questions each and 5 mini tests of 25 questions each. It also shows section wise scores, provide livedocs links for that particular question.</p>
<p>One minor drawback  is that you must have internet connection as it loads tests and questions from the net everytime&#8230;this is also an advantage as you&#8217;ll get updated questions.</p>
<p>You can download Attest from here:</p>
<p><a href="http://software.pxldesigns.com/attest/index.php?id=download" target="_blank">http://software.pxldesigns.com/attest/index.php?id=download</a></p>
<p>Even if you are not attempting the test, it&#8217;s fun to attempt to these tests just to check the level of your knowledge and how well are you aware of your flex basics&#8230;.happy FLEXing <img src='http://ravimarella.com/getriaed/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/06/20/flex-3-certification-mock-tests/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tooltip custom Placement on Flex Listbox rollover</title>
		<link>http://ravimarella.com/getriaed/2009/06/18/tooltip-custom-placement-on-flex-listbox-rollover/</link>
		<comments>http://ravimarella.com/getriaed/2009/06/18/tooltip-custom-placement-on-flex-listbox-rollover/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 10:44:36 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[Listbox]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[tooltip]]></category>
		<category><![CDATA[Custom]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=14</guid>
		<description><![CDATA[The example below shows how to add a tooltip on roll over event of flex ListBox items. I don&#8217;t say that this is the perfect way to do this&#8230;but i&#8217;m happy as long as it serves me&#8230;


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ListBoxRollover_2081799780"
			class="flashmovie"
			width="400"
			height="300">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/ListBoxRollover.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/ListBoxRollover.swf"
			name="fm_ListBoxRollover_2081799780"
			width="400"
			height="300">
	<!--<![endif]-->
		

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
just rollover any of the listbox items and it will show the index [...]]]></description>
			<content:encoded><![CDATA[<p>The example below shows how to add a tooltip on roll over event of flex ListBox items. I don&#8217;t say that this is the perfect way to do this&#8230;but i&#8217;m happy as long as it serves me&#8230;<br />
<span id="more-14"></span><br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_ListBoxRollover_956317670"
			class="flashmovie"
			width="400"
			height="300">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/ListBoxRollover.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/ListBoxRollover.swf"
			name="fm_ListBoxRollover_956317670"
			width="400"
			height="300">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p>just rollover any of the listbox items and it will show the index of that item. So once you&#8217;ve the index, i guess you can do any custom label operations.</p>
<p>Here is the source code for the above example:</p>
<div class="codecolorer-container actionscript3 default" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br /></div></td><td><div class="actionscript3 codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;!</span><span style="color: #000000;">&#91;</span>CDATA<span style="color: #000000;">&#91;</span><br />
<span style="color: #0033ff; font-weight: bold;">import</span> mx.managers.ToolTipManager;<br />
<span style="color: #0033ff; font-weight: bold;">import</span> mx.controls.ToolTip;<br />
<span style="color: #0033ff; font-weight: bold;">import</span> mx.events.ListEvent;<br />
<span style="color: #0033ff; font-weight: bold;">import</span> mx.events.ToolTipEvent;<br />
<span style="color: #0033ff; font-weight: bold;">import</span> mx.collections.ArrayCollection;<br />
<span style="color: #000000;">&#91;</span>Bindable<span style="color: #000000;">&#93;</span><br />
<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> myDP<span style="color: #000000; font-weight: bold;">:</span>ArrayCollection = <span style="color: #0033ff; font-weight: bold;">new</span> ArrayCollection<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#91;</span><span style="color: #000000;">&#123;</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;Ted Patrick&quot;</span>, blog<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;http://www.onflex.org/&quot;</span><span style="color: #000000;">&#125;</span>,<br />
<span style="color: #000000;">&#123;</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;Ryan Stewart&quot;</span>, blog<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;http://blogs.zdnet.com/Stewart&quot;</span><span style="color: #000000;">&#125;</span>,<span style="color: #000000;">&#123;</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;Peter DeHann&quot;</span>, blog<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;http://blog.flexexamples.com/&quot;</span><span style="color: #000000;">&#125;</span>,<br />
<span style="color: #000000;">&#123;</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;Raghu&quot;</span>, blog<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;http://raghuonflex.wordpress.com/&quot;</span><span style="color: #000000;">&#125;</span>,<span style="color: #000000;">&#123;</span><span style="color: #004993;">name</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;Harish Sivaramakrishnan&quot;</span>, blog<span style="color: #000000; font-weight: bold;">:</span><span style="color: #990000;">&quot;http://flexgeek.wordpress.com/&quot;</span><span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span>;<br />
<br />
<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #6699cc; font-weight: bold;">var</span> tip<span style="color: #000000; font-weight: bold;">:</span>ToolTip<br />
<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> itemRollOver<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span>ListEvent<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
<span style="color: #000000;">&#123;</span><br />
<br />
tip = ToolTipManager.createToolTip<span style="color: #000000;">&#40;</span>event.rowIndex<span style="color: #000000; font-weight: bold;">+</span><span style="color: #990000;">&quot;&quot;</span>,event.<span style="color: #004993;">currentTarget</span>.<span style="color: #004993;">x</span><span style="color: #000000; font-weight: bold;">+</span>event.<span style="color: #004993;">currentTarget</span>.<span style="color: #004993;">width</span>,event.<span style="color: #004993;">currentTarget</span>.<span style="color: #004993;">mouseY</span><span style="color: #000000;">&#41;</span><span style="color: #0033ff; font-weight: bold;">as</span> ToolTip;<br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #0033ff; font-weight: bold;">private</span> <span style="color: #339966; font-weight: bold;">function</span> itemRollOut<span style="color: #000000;">&#40;</span>event<span style="color: #000000; font-weight: bold;">:</span>ListEvent<span style="color: #000000;">&#41;</span><span style="color: #000000; font-weight: bold;">:</span><span style="color: #0033ff; font-weight: bold;">void</span><br />
<span style="color: #000000;">&#123;</span><br />
ToolTipManager.destroyToolTip<span style="color: #000000;">&#40;</span>tip<span style="color: #000000;">&#41;</span><br />
<span style="color: #000000;">&#125;</span><br />
<span style="color: #000000;">&#93;</span><span style="color: #000000;">&#93;</span><span style="color: #000000; font-weight: bold;">&gt;</span><br />
<br />
itemRollOver=<span style="color: #990000;">&quot;itemRollOver(event)&quot;</span> itemRollOut=<span style="color: #990000;">&quot;itemRollOut(event)&quot;</span><span style="color: #000000; font-weight: bold;">/&amp;</span>gt;</div></td></tr></tbody></table></div>
<p>Here is the post which explains a much simpler way to create tooltips but you cannot custom place these tooltips:</p>
<p><a href="http://raghuonflex.wordpress.com/2007/09/19/tooltips-for-combobox-items-or-list-items/">http://raghuonflex.wordpress.com/2007/09/19/tooltips-for-combobox-items-or-list-items/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/06/18/tooltip-custom-placement-on-flex-listbox-rollover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cairngorm PHP Login</title>
		<link>http://ravimarella.com/getriaed/2009/06/17/3/</link>
		<comments>http://ravimarella.com/getriaed/2009/06/17/3/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 08:16:27 +0000</pubDate>
		<dc:creator>ravi</dc:creator>
				<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[Actionscript 3]]></category>
		<category><![CDATA[HTTPService]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ravimarella.com/getriaed/?p=3</guid>
		<description><![CDATA[This example explains how to communicate with PHP using the cairngorm framework:


<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Cairngorm_PHP_1161923719"
			class="flashmovie"
			width="500"
			height="300">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/Cairngorm_PHP.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/Cairngorm_PHP.swf"
			name="fm_Cairngorm_PHP_1161923719"
			width="500"
			height="300">
	<!--<![endif]-->
		

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
This is a duplicate of this post by neil and full credit goes to him. I&#8217;ve posted it again coz the original post has some problems with flash embedding because of which the application is not working from [...]]]></description>
			<content:encoded><![CDATA[<p>This example explains how to communicate with PHP using the cairngorm framework:<br />
<span id="more-3"></span><br />

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			id="fm_Cairngorm_PHP_1589543174"
			class="flashmovie"
			width="500"
			height="300">
	<param name="movie" value="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/Cairngorm_PHP.swf" />
	<!--[if !IE]>-->
	<object	type="application/x-shockwave-flash"
			data="http://ravimarella.com/getriaed/wp-content/uploads/2009/06/Cairngorm_PHP.swf"
			name="fm_Cairngorm_PHP_1589543174"
			width="500"
			height="300">
	<!--<![endif]-->
		<a href="http://adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>

	<!--[if !IE]>-->
	</object>
	<!--<![endif]-->
</object>
<p><strong>This is a duplicate of <a href="http://nwebb.co.uk/blog/?p=117&amp;cpage=1" target="_blank">this post</a> by neil and full credit goes to him.</strong> I&#8217;ve posted it again coz the original post has some problems with flash embedding because of which the application is not working from the embedded swf.</p>
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
<input id="gwProxy" type="hidden" />
<input id="jsProxy" onclick="jsCall();" type="hidden" />
]]></content:encoded>
			<wfw:commentRss>http://ravimarella.com/getriaed/2009/06/17/3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
