<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>I was born intellegent but education ruined me!!!</title>
	<atom:link href="http://samsami2u.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://samsami2u.wordpress.com</link>
	<description>I came, i saw, i conquered!!!</description>
	<lastBuildDate>Fri, 06 Nov 2009 07:58:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='samsami2u.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e74373b24460f46755afe7cd29270f36?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>I was born intellegent but education ruined me!!!</title>
		<link>http://samsami2u.wordpress.com</link>
	</image>
			<item>
		<title>ie 6 png fix &#8211; ie 6 png issue solutlion with css and/or js</title>
		<link>http://samsami2u.wordpress.com/2009/11/06/ie-6-png-fix-ie-6-png-issue-solutlion-with-css-andor-js/</link>
		<comments>http://samsami2u.wordpress.com/2009/11/06/ie-6-png-fix-ie-6-png-issue-solutlion-with-css-andor-js/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 07:57:01 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie6 png fix]]></category>
		<category><![CDATA[png issue]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=394</guid>
		<description><![CDATA[The issue is with png type of images that are not properly displayed in ie 6 (internet explorer &#8211; Version 6). I found the solution somewhere on internet while googling.
Okay, so the solution goes as below:
1) download the files needed for the solution from http://demo.avidindiainc.com/ie6pngfix/ie6PNGFixDownload.zip
2) There are 5 files in the directory after you unzip [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=394&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The issue is with png type of images that are not properly displayed in ie 6 (internet explorer &#8211; Version 6). I found the solution somewhere on internet while googling.</p>
<p>Okay, so the solution goes as below:</p>
<p>1) download the files needed for the solution from <a href="http://demo.avidindiainc.com/ie6pngfix/ie6PNGFixDownload.zip" target="_self">http://demo.avidindiainc.com/ie6pngfix/ie6PNGFixDownload.zip</a></p>
<p>2) There are 5 files in the directory after you unzip it. They are  blank.gif, iepngfix.htc, iepngfix_tilebg.js, iepngfix.php and .htaccess.</p>
<p>3) for solving the issue the two files blank.gif and iepngfix.htc are enough. i will explain them first and we&#8217;ll go for the rest files later.</p>
<p>4) Copy and paste iepngfix.htc and blank.gif into your website folder.</p>
<p>5) Copy and paste this into your website&#8217;s CSS or HTML:</p>
<div id="_mcePaste"><span style="color:#ff6600;">&lt;style type=&#8221;text/css&#8221;&gt;</span></div>
<div id="_mcePaste"><span style="color:#ff6600;">img, div { behavior: url(iepngfix.htc) }</span></div>
<div id="_mcePaste"><span style="color:#ff6600;">&lt;/style&gt;</span></div>
<p>6) now the other  files work as follow. If you want support for CSS1 background-repeat and background-position, make sure you include the add-on .JS file in your &lt;head&gt;:</p>
<p>&lt;script type=&#8221;text/javascript&#8221; src=&#8221;iepngfix_tilebg.js&#8221;&gt;&lt;/script&gt;</p>
<p>7) Suppose if it works offline but not online, in this case you may have a MIME type problem. You must ensure your server is sending the correct MIME type of &#8220;text/x-component&#8221; for .HTC files. Try one of these two easy fixes:</p>
<ul>
<li>Upload the &#8220;.htaccess&#8221; file from within this script&#8217;s download ZIP to your webserver, which will make Apache send the correct MIME type.</li>
<li>Instead of calling &#8220;IEPNGFIX.HTC&#8221; from your CSS, upload IEPNGFIX.PHP to the same folder and call that instead, which also sends the right MIME type.</li>
</ul>
<p>Thats all folks. I hope this solves your issue with ie6.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/394/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/394/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/394/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=394&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/11/06/ie-6-png-fix-ie-6-png-issue-solutlion-with-css-andor-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>flowplayer with auto playlist and seperate caption file for each clip along with external control bar</title>
		<link>http://samsami2u.wordpress.com/2009/10/10/flowplayer-with-auto-playlist-and-seperate-caption-file-for-each-clip-along-with-external-control-bar/</link>
		<comments>http://samsami2u.wordpress.com/2009/10/10/flowplayer-with-auto-playlist-and-seperate-caption-file-for-each-clip-along-with-external-control-bar/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 06:21:30 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[flowplayer]]></category>
		<category><![CDATA[flowplayer caption]]></category>
		<category><![CDATA[flowplayer control bar]]></category>
		<category><![CDATA[flowplayer playlist]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=392</guid>
		<description><![CDATA[Flowplayer is free to download and available at flowplayer.org
it also have all these examples i.e.
1) Auto Playlist, 2)Playlist with captions on clips and 3)HTML Control bar
but here i have integrated all of the above three in one file/ one player
you can find the demo at http://demo.avidindiainc.com/flowplayer/
and you can download the files at http://demo.avidindiainc.com/flowplayer/flowplayer-download.zip
Thanks,
samsami2u
http://www.avidindiainc.com
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=392&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Flowplayer is free to download and available at <a href="http://flowplayer.org" target="_blank"><cite><strong>flowplayer</strong>.org</cite></a></p>
<p>it also have all these examples i.e.</p>
<p>1) Auto Playlist, 2)Playlist with captions on clips and 3)HTML Control bar</p>
<p>but here i have integrated all of the above three in one file/ one player</p>
<p>you can find the demo at <a href="http://demo.avidindiainc.com/flowplayer/" target="_blank">http://demo.avidindiainc.com/flowplayer/</a></p>
<p>and you can download the files at <a href="http://demo.avidindiainc.com/flowplayer/flowplayer-download.zip" target="_self">http://demo.avidindiainc.com/flowplayer/flowplayer-download.zip</a></p>
<p>Thanks,</p>
<p>samsami2u</p>
<p><a href="http://www.avidindiainc.com" target="_blank">http://www.avidindiainc.com</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/392/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/392/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/392/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=392&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/10/10/flowplayer-with-auto-playlist-and-seperate-caption-file-for-each-clip-along-with-external-control-bar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>Couldn&#8217;t get short alias for (</title>
		<link>http://samsami2u.wordpress.com/2009/09/20/couldnt-get-short-alias-for/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/20/couldnt-get-short-alias-for/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 22:24:26 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[symfony 1.2]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[short alias for (]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=387</guid>
		<description><![CDATA[The below query didn&#8217;t worked for me and gave me the error &#8220;Couldn&#8217;t get short alias for ( re&#8221; and so i did removed the spaces from between every &#8216;or&#8217; and brackets &#8216;(&#8216;. i have added the modified query below the original query.
$restaurant = Doctrine_Query::create()
-&#62;select(&#8216;re.*&#8217;)
-&#62;from(&#8216;ReservationHoursSetting re&#8217;)
//-&#62;where(&#8220;re.id &#60;&#62; ? AND re.reservation_setting_id = ? AND ( (re.hr_from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=387&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The below query didn&#8217;t worked for me and gave me the error &#8220;Couldn&#8217;t get short alias for ( re&#8221; and so i did removed the spaces from between every &#8216;or&#8217; and brackets &#8216;(&#8216;. i have added the modified query below the original query.</p>
<p>$restaurant = Doctrine_Query::create()<br />
-&gt;select(&#8216;re.*&#8217;)<br />
-&gt;from(&#8216;ReservationHoursSetting re&#8217;)<br />
//-&gt;where(&#8220;re.id &lt;&gt; ? AND re.reservation_setting_id = ? AND ( (re.hr_from &gt; {$hourFrom} AND re.hr_from &lt; {$hourTo}) OR (re.hr_to &gt; {$hourFrom} AND re.hr_to &lt; {$hourTo}) )&#8221;, array($HourID, $restaurantSettingID) )<br />
//-&gt;where(&#8220;re.id &lt;&gt; ? AND re.reservation_setting_id = ? AND ( ( re.hr_from BETWEEN {$hourFrom} AND {$hourTo} ) OR ( re.hr_to BETWEEN {$hourFrom} AND {$hourTo} ) OR ( {$hourFrom} BETWEEN re.hr_from AND re.hr_to )  OR ( {$hourTo} BETWEEN re.hr_from AND re.hr_to ) )&#8221;, array($HourID,$restaurantSettingID) )<br />
-&gt;where(&#8220;re.id &lt;&gt; ? AND re.reservation_setting_id = ? &#8220;, array($HourID,$restaurantSettingID) )<br />
-&gt;andWhere(&#8220;((re.hr_from &gt; {$hourFrom}  AND re.hr_from&lt; {$hourTo})</p>
<p>OR (re.hr_to &gt; {$hourFrom} AND re.hr_to &lt; {$hourTo})</p>
<p>OR (re.hr_to &gt; {$hourFrom}  AND re.hr_from &lt; {$hourFrom})</p>
<p>OR (re.hr_to &lt; {$hourTo}  AND re.hr_from &gt; {$hourTo})</p>
<p>OR (re.hr_to = {$hourTo}  AND re.hr_from = {$hourFrom}))&#8221;)<br />
-&gt;fetchArray();</p>
<p>====================</p>
<p>$restaurant = Doctrine_Query::create()<br />
-&gt;select(&#8216;re.*&#8217;)<br />
-&gt;from(&#8216;ReservationHoursSetting re&#8217;)<br />
//-&gt;where(&#8220;re.id &lt;&gt; ? AND re.reservation_setting_id = ? AND ( (re.hr_from &gt; {$hourFrom} AND re.hr_from &lt; {$hourTo}) OR (re.hr_to &gt; {$hourFrom} AND re.hr_to &lt; {$hourTo}) )&#8221;, array($HourID, $restaurantSettingID) )<br />
//-&gt;where(&#8220;re.id &lt;&gt; ? AND re.reservation_setting_id = ? AND ( ( re.hr_from BETWEEN {$hourFrom} AND {$hourTo} ) OR ( re.hr_to BETWEEN {$hourFrom} AND {$hourTo} ) OR ( {$hourFrom} BETWEEN re.hr_from AND re.hr_to )  OR ( {$hourTo} BETWEEN re.hr_from AND re.hr_to ) )&#8221;, array($HourID,$restaurantSettingID) )<br />
-&gt;where(&#8220;re.id &lt;&gt; ? AND re.reservation_setting_id = ? &#8220;, array($HourID,$restaurantSettingID) )<br />
-&gt;andWhere(&#8220;((re.hr_from &gt; {$hourFrom}  AND re.hr_from&lt; {$hourTo}) OR (re.hr_to &gt; {$hourFrom} AND re.hr_to &lt; {$hourTo}) OR (re.hr_to &gt; {$hourFrom}  AND re.hr_from &lt; {$hourFrom}) OR (re.hr_to &lt; {$hourTo}  AND re.hr_from &gt; {$hourTo}) OR (re.hr_to = {$hourTo}  AND re.hr_from = {$hourFrom}))&#8221;)<br />
-&gt;fetchArray();</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/387/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/387/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/387/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=387&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/20/couldnt-get-short-alias-for/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>ajax in internet explorer (ie) hangs up or Microsoft.XMLHTTP not working in ie</title>
		<link>http://samsami2u.wordpress.com/2009/09/19/ajax-in-internet-explorer-ie-hangs-up-or-microsoft-xmlhttp-not-working-in-ie/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/19/ajax-in-internet-explorer-ie-hangs-up-or-microsoft-xmlhttp-not-working-in-ie/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 00:56:41 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[ie hangs up]]></category>
		<category><![CDATA[Microsoft.XMLHTTP in ie]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=385</guid>
		<description><![CDATA[here is the possible solution:
function getHTTPObject() {
var httpObject = null;
// I think the issue has something to do with this area of code&#8230; (1)
if (window.ActiveXObject) { // IE
try {
httpObject = new ActiveXObject(&#8220;Microsoft.XMLHTTP&#8221;);
} catch (e) {
try {
httpObject = new ActiveXObject(&#8220;Msxml2.XMLHTTP&#8221;);
} catch (e) {}
}
}
else if (window.XMLHttpRequest) { // Mozilla, Safari,&#8230;
httpObject = new XMLHttpRequest();
if (httpObject.overrideMimeType) {
httpObject.overrideMimeType(&#8216;text/html&#8217;);
}
}
if (httpObject == [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=385&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>here is the possible solution:</p>
<p>function getHTTPObject() {</p>
<p>var httpObject = null;<br />
// I think the issue has something to do with this area of code&#8230; (1)</p>
<p>if (window.ActiveXObject) { // IE<br />
try {<br />
httpObject = new ActiveXObject(&#8220;Microsoft.XMLHTTP&#8221;);<br />
} catch (e) {<br />
try {<br />
httpObject = new ActiveXObject(&#8220;Msxml2.XMLHTTP&#8221;);<br />
} catch (e) {}<br />
}<br />
}<br />
else if (window.XMLHttpRequest) { // Mozilla, Safari,&#8230;<br />
httpObject = new XMLHttpRequest();<br />
if (httpObject.overrideMimeType) {<br />
httpObject.overrideMimeType(&#8216;text/html&#8217;);<br />
}<br />
}<br />
if (httpObject == null) {<br />
alert(&#8216;Cannot create XMLHTTP instance&#8217;);<br />
}<br />
return httpObject;</p>
<p>}</p>
<p>now add the below given code:</p>
<p>var reqNum = rand(1,1000);<br />
url_add = url_add + &#8220;&amp;reqnum=&#8221; + reqNum;</p>
<p>httpObject.open(&#8220;GET&#8221;, &#8220;levels_dropdown.php?performance_id=&#8221; + url_add, true);</p>
<p>httpObject.send(null);</p>
<p>for the rand() function:</p>
<p>function rand (min, max) {</p>
<p>var argc = arguments.length;<br />
if (argc === 0) {<br />
min = 0;<br />
max = 2147483647;<br />
} else if (argc === 1) {<br />
throw new Error(&#8216;Warning: rand() expects exactly 2 parameters, 1 given&#8217;);<br />
}<br />
return Math.floor(Math.random() * (max &#8211; min + 1)) + min;</p>
<div id="_mcePaste" style="overflow:hidden;position:absolute;left:-10000px;top:670px;width:1px;height:1px;">function rand (min, max) {<br />
// http://kevin.vanzonneveld.net<br />
// +   original by: Leslie Hoare<br />
// +   bugfixed by: Onno Marsman<br />
// %          note 1: See the commented out code below for a version which will work with our experimental (though probably unnecessary) srand() function)<br />
// *     example 1: rand(1, 1);<br />
// *     returns 1: 1</p>
<p>var argc = arguments.length;<br />
if (argc === 0) {<br />
min = 0;<br />
max = 2147483647;<br />
} else if (argc === 1) {<br />
throw new Error(&#8216;Warning: rand() expects exactly 2 parameters, 1 given&#8217;);<br />
}<br />
return Math.floor(Math.random() * (max &#8211; min + 1)) + min;</p>
<p>/*<br />
// See note above for an explanation of the following alternative code</p>
<p>// +   reimplemented by: Brett Zamir (http://brett-zamir.me)<br />
// -    depends on: srand<br />
// %          note 1: This is a very possibly imperfect adaptation from the PHP source code<br />
var rand_seed, ctx, PHP_RAND_MAX=2147483647; // 0&#215;7fffffff</p>
<p>if (!this.php_js || this.php_js.rand_seed === undefined) {<br />
this.srand();<br />
}<br />
rand_seed = this.php_js.rand_seed;</p>
<p>var argc = arguments.length;<br />
if (argc === 1) {<br />
throw new Error(&#8216;Warning: rand() expects exactly 2 parameters, 1 given&#8217;);<br />
}</p>
<p>var do_rand = function (ctx) {<br />
return ((ctx * 1103515245 + 12345) % (PHP_RAND_MAX + 1));<br />
};</p>
<p>var php_rand = function (ctxArg) { // php_rand_r<br />
this.php_js.rand_seed = do_rand(ctxArg);<br />
return parseInt(this.php_js.rand_seed, 10);<br />
};</p>
<p>var number = php_rand(rand_seed);</p>
<p>if (argc === 2) {<br />
number = min + parseInt(parseFloat(parseFloat(max) &#8211; min + 1.0) * (number/(PHP_RAND_MAX + 1.0)), 10);<br />
}<br />
return number;<br />
*/<br />
}</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/385/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/385/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/385/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=385&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/19/ajax-in-internet-explorer-ie-hangs-up-or-microsoft-xmlhttp-not-working-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>redirect url containing &#8220;%20&#8243; or space at end of it .htacess</title>
		<link>http://samsami2u.wordpress.com/2009/09/15/redirect-url-containing-%20-or-space-at-end-of-it-htacess/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/15/redirect-url-containing-%20-or-space-at-end-of-it-htacess/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 15:10:48 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[.htacess]]></category>
		<category><![CDATA[Apache Web Server]]></category>
		<category><![CDATA[space in url]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=382</guid>
		<description><![CDATA[you can use the below given redirect rule in your .htacess file.
redirect 301 &#8220;/about-us &#8221; http://www.avidindiainc.com/about-us
the above one worked for me
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=382&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>you can use the below given redirect rule in your .htacess file.</p>
<p>redirect 301 &#8220;/about-us &#8221; http://www.avidindiainc.com/about-us</p>
<p>the above one worked for me</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/382/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/382/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/382/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=382&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/15/redirect-url-containing-%20-or-space-at-end-of-it-htacess/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>add categories with images on homepage &#8211; magento</title>
		<link>http://samsami2u.wordpress.com/2009/09/15/add-categories-with-images-on-homepage-magento/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/15/add-categories-with-images-on-homepage-magento/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 15:07:32 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[add categories]]></category>
		<category><![CDATA[magento categories]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=380</guid>
		<description><![CDATA[to add categories along with images on homepage
just add the code given below to your homepage from admininstration cms management.
 {{block type="catalog/navigation" name="catalog.category" template="catalog/category/list.phtml"}}

Also you need to create a list.phtml file under &#8220;/app/design/frontend/default/default/template/catalog/category/list.phtml&#8221;

and add the below given code to it:

===========================================

 &#60;?php foreach ($this-&#62;getStoreCategories() as $_category): ?&#62;
&#60;?php $open = $this-&#62;isCategoryActive($_category); ?&#62;
&#60;?php
$cur_category=Mage::getModel('catalog/category')-&#62;load($_category-&#62;getId());
$layer = Mage::getSingleton('catalog/layer');
$layer-&#62;setCurrentCategory($cur_category);
if ($immagine = $this-&#62;getCurrentCategory()-&#62;getImageUrl()):
?&#62;
&#60;div style="float: left; padding-right: 30px; text-align: center;"&#62;
&#60;div class="linkimage"&#62;
&#60;p&#62;
&#60;a href="&#60;?php echo $this-&#62;getCategoryUrl($_category)?&#62;"&#62;
&#60;img src="&#60;?php echo $immagine ?&#62;" alt="&#60;?php echo $this-&#62;htmlEscape($this-&#62;getCurrentCategory()-&#62;getName()) ?&#62;" width="135" height="135" /&#62;
&#60;?php [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=380&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>to add categories along with images on homepage</p>
<p>just add the code given below to your homepage from admininstration cms management.</p>
<div><code> <span style="color:#0000bb;">{{block type</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"catalog/navigation" </span><span style="color:#0000bb;">name</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"catalog.category" </span><span style="color:#0000bb;">template</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"catalog/category/list.phtml"</span><span style="color:#0000bb;">}}</span></code></div>
<div></div>
<div><span style="color:#0000bb;">Also you need to create a list.phtml file under </span>&#8220;/app/design/frontend/default/default/template/catalog/category/list.phtml&#8221;</div>
<div></div>
<div><span style="color:#0000bb;">and add the below given code to it:</span></div>
<div></div>
<div>===========================================</div>
<div>
<div><code> <span style="color:#0000bb;">&lt;?php </span><span style="color:#007700;">foreach (</span><span style="color:#0000bb;">$this</span><span style="color:#007700;">-&gt;</span><span style="color:#0000bb;">getStoreCategories</span><span style="color:#007700;">() as </span><span style="color:#0000bb;">$_category</span><span style="color:#007700;">): </span><span style="color:#0000bb;">?&gt;<br />
&lt;?php $open </span><span style="color:#007700;">= </span><span style="color:#0000bb;">$this</span><span style="color:#007700;">-&gt;</span><span style="color:#0000bb;">isCategoryActive</span><span style="color:#007700;">(</span><span style="color:#0000bb;">$_category</span><span style="color:#007700;">); </span><span style="color:#0000bb;">?&gt;<br />
&lt;?php<br />
$cur_category</span><span style="color:#007700;">=</span><span style="color:#0000bb;">Mage</span><span style="color:#007700;">::</span><span style="color:#0000bb;">getModel</span><span style="color:#007700;">(</span><span style="color:#dd0000;">'catalog/category'</span><span style="color:#007700;">)-&gt;</span><span style="color:#0000bb;">load</span><span style="color:#007700;">(</span><span style="color:#0000bb;">$_category</span><span style="color:#007700;">-&gt;</span><span style="color:#0000bb;">getId</span><span style="color:#007700;">());<br />
</span><span style="color:#0000bb;">$layer </span><span style="color:#007700;">= </span><span style="color:#0000bb;">Mage</span><span style="color:#007700;">::</span><span style="color:#0000bb;">getSingleton</span><span style="color:#007700;">(</span><span style="color:#dd0000;">'catalog/layer'</span><span style="color:#007700;">);<br />
</span><span style="color:#0000bb;">$layer</span><span style="color:#007700;">-&gt;</span><span style="color:#0000bb;">setCurrentCategory</span><span style="color:#007700;">(</span><span style="color:#0000bb;">$cur_category</span><span style="color:#007700;">);<br />
if (</span><span style="color:#0000bb;">$immagine </span><span style="color:#007700;">= </span><span style="color:#0000bb;">$this</span><span style="color:#007700;">-&gt;</span><span style="color:#0000bb;">getCurrentCategory</span><span style="color:#007700;">()-&gt;</span><span style="color:#0000bb;">getImageUrl</span><span style="color:#007700;">()):<br />
</span><span style="color:#0000bb;">?&gt;</p>
<p></span><span style="color:#007700;">&lt;</span><span style="color:#0000bb;">div style</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"float: left; padding-right: 30px; text-align: center;"</span><span style="color:#007700;">&gt;<br />
&lt;</span><span style="color:#0000bb;">div </span><span style="color:#007700;">class=</span><span style="color:#dd0000;">"linkimage"</span><span style="color:#007700;">&gt;<br />
&lt;</span><span style="color:#0000bb;">p</span><span style="color:#007700;">&gt;<br />
&lt;</span><span style="color:#0000bb;">a href</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"&lt;?php echo $this-&gt;getCategoryUrl($_category)?&gt;"</span><span style="color:#007700;">&gt;<br />
&lt;</span><span style="color:#0000bb;">img src</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"&lt;?php echo $immagine ?&gt;" </span><span style="color:#0000bb;">alt</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"&lt;?php echo $this-&gt;htmlEscape($this-&gt;getCurrentCategory()-&gt;getName()) ?&gt;" </span><span style="color:#0000bb;">width</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"135" </span><span style="color:#0000bb;">height</span><span style="color:#007700;">=</span><span style="color:#dd0000;">"135" </span><span style="color:#007700;">/&gt;<br />
</span><span style="color:#0000bb;">&lt;?php </span><span style="color:#007700;">echo </span><span style="color:#0000bb;">$_category</span><span style="color:#007700;">-&gt;</span><span style="color:#0000bb;">getName</span><span style="color:#007700;">()</span><span style="color:#0000bb;">?&gt;<br />
</span><span style="color:#007700;">&lt;/</span><span style="color:#0000bb;">a</span><span style="color:#007700;">&gt;<br />
&lt;/</span><span style="color:#0000bb;">p</span><span style="color:#007700;">&gt;<br />
&lt;/</span><span style="color:#0000bb;">div</span><span style="color:#007700;">&gt;<br />
&lt;/</span><span style="color:#0000bb;">div</span><span style="color:#007700;">&gt;</p>
<p></span><span style="color:#0000bb;">&lt;?php </span><span style="color:#007700;">endif; </span><span style="color:#0000bb;">?&gt;<br />
&lt;?php </span><span style="color:#007700;">endforeach; </span><span style="color:#0000bb;">?&gt;</span></code></div>
<div><span style="color:#0000bb;">================================================<br />
</span></div>
</div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/380/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/380/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/380/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=380&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/15/add-categories-with-images-on-homepage-magento/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>wamp server download &#8211; all versions</title>
		<link>http://samsami2u.wordpress.com/2009/09/08/wamp-server-download-all-versions/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/08/wamp-server-download-all-versions/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 14:17:34 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 4]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[wamp all versions]]></category>
		<category><![CDATA[wamp older versions]]></category>
		<category><![CDATA[wampserver download]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=369</guid>
		<description><![CDATA[you can get all the versions of wamp server from the below given link:
http://sourceforge.net/projects/wampserver/files/
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=369&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>you can get all the versions of wamp server from the below given link:</p>
<p><a href="http://sourceforge.net/projects/wampserver/files/" target="_blank">http://sourceforge.net/projects/wampserver/files/</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/369/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/369/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/369/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=369&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/08/wamp-server-download-all-versions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>Sign-In Configuration Error rpxnow</title>
		<link>http://samsami2u.wordpress.com/2009/09/02/sign-in-configuration-error-rpxnow/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/02/sign-in-configuration-error-rpxnow/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 18:43:15 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 4]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[rpxnow configuration error]]></category>
		<category><![CDATA[rpxnow login issue]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=367</guid>
		<description><![CDATA[Try changing
$_GET['token'];
to $_REQUEST['token'];
because $_GET['token'] gets only the $_GET variables while $_REQUEST['token']
gets $_GET as well as $_POST variables
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=367&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Try changing</p>
<p>$_GET['token'];</p>
<p>to $_REQUEST['token'];</p>
<p>because $_GET['token'] gets only the $_GET variables while $_REQUEST['token']</p>
<p>gets $_GET as well as $_POST variables</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/367/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/367/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=367&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/02/sign-in-configuration-error-rpxnow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>curl not working with https</title>
		<link>http://samsami2u.wordpress.com/2009/09/01/curl-not-working-with-https/</link>
		<comments>http://samsami2u.wordpress.com/2009/09/01/curl-not-working-with-https/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 16:45:44 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 4]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[curl issue]]></category>
		<category><![CDATA[curl with https]]></category>
		<category><![CDATA[https issue with curl]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=364</guid>
		<description><![CDATA[Today i was facing this issue. I had implement rpxnow for open ID on a website a. which used CURL for xml services.
The implementation was working fine on our server. But when client moved teh code to their server it stopped working.
First i checked that CURL is enabled on their server, but CURL was working [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=364&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Today i was facing this issue. I had implement rpxnow for open ID on a website a. which used CURL for xml services.</p>
<p>The implementation was working fine on our server. But when client moved teh code to their server it stopped working.</p>
<p>First i checked that CURL is enabled on their server, but CURL was working perfectly fine for urls like &#8220;http://www.google.com&#8221;. Then i found that the issue was with the &#8220;https&#8221; sites.</p>
<p>So this is what solved my issue:</p>
<p>Add the below code to your curl options:</p>
<p>curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);<br />
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);</p>
<p>This solved my problem.</p>
<p>Regards,</p>
<p>samsami2u</p>
<p><a href="http://www.avidindiainc.com" target="_blank">http://www.avidindiainc.com</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/364/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/364/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/364/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=364&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/09/01/curl-not-working-with-https/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
		<item>
		<title>xml parser in php</title>
		<link>http://samsami2u.wordpress.com/2009/07/09/xml-parser-in-php/</link>
		<comments>http://samsami2u.wordpress.com/2009/07/09/xml-parser-in-php/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 09:27:26 +0000</pubDate>
		<dc:creator>samsami2u</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP 4]]></category>
		<category><![CDATA[PHP 5]]></category>
		<category><![CDATA[xml in php]]></category>
		<category><![CDATA[xml with php]]></category>

		<guid isPermaLink="false">http://samsami2u.wordpress.com/?p=362</guid>
		<description><![CDATA[There is a build in function in php using which you can parse xml file to an array. I have an example created for the same, and it goes as mentioned below:
$xmlString = $raw;
$xmlParser = xml_parser_create();
xml_parse_into_struct($xmlParser, $xmlString, $values, $main);
xml_parser_free($xmlParser);
print_r(&#8216;&#60;pre&#62;&#8217;);
echo &#8220;&#60;b&#62;Main array&#60;/b&#62;&#60;br&#62;&#8221;;
print_r($main);
echo &#8220;&#60;br&#62;&#8221;;
echo &#8220;&#60;b&#62;Values array&#60;/b&#62;&#60;br&#62;&#8221;;
print_r($values);
print_r(&#8216;&#60;/pre&#62;&#8217;);
Thanks,
Sachin (http://www.avidindiainc.com)
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=362&subd=samsami2u&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There is a build in function in php using which you can parse xml file to an array. I have an example created for the same, and it goes as mentioned below:</p>
<p><span style="color:#ff0000;">$xmlString = $raw;<br />
$xmlParser = xml_parser_create();<br />
xml_parse_into_struct($xmlParser, $xmlString, $values, $main);<br />
xml_parser_free($xmlParser);</span></p>
<p><span style="color:#ff0000;">print_r(&#8216;&lt;pre&gt;&#8217;);<br />
echo &#8220;&lt;b&gt;Main array&lt;/b&gt;&lt;br&gt;&#8221;;<br />
print_r($main);<br />
echo &#8220;&lt;br&gt;&#8221;;<br />
echo &#8220;&lt;b&gt;Values array&lt;/b&gt;&lt;br&gt;&#8221;;<br />
print_r($values);<br />
print_r(&#8216;&lt;/pre&gt;&#8217;);</span></p>
<p>Thanks,</p>
<p>Sachin (<a href="http://www.avidindiainc.com" target="_blank">http://www.avidindiainc.com</a>)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/samsami2u.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/samsami2u.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/samsami2u.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/samsami2u.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/samsami2u.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/samsami2u.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/samsami2u.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/samsami2u.wordpress.com/362/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/samsami2u.wordpress.com/362/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/samsami2u.wordpress.com/362/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=samsami2u.wordpress.com&blog=3330904&post=362&subd=samsami2u&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://samsami2u.wordpress.com/2009/07/09/xml-parser-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7221d8d4222619a1a7b49a0c44136271?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">samsami2u</media:title>
		</media:content>
	</item>
	</channel>
</rss>