<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Suhail Kaleem</title>
	<atom:link href="http://www.suhailkaleem.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.suhailkaleem.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 08:01:32 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on &#8220;Object expected&#8221; error in IE. when using $(document).ready(function() by TRan Manh Dung</title>
		<link>http://www.suhailkaleem.com/2010/11/13/object-expected-error-in-ie-when-using-document-readyfunction/comment-page-1/#comment-1848</link>
		<dc:creator>TRan Manh Dung</dc:creator>
		<pubDate>Tue, 31 Jan 2012 08:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=201#comment-1848</guid>
		<description>I got the same problem but when I load html content to an iframe. I tried your solution but still not work

Code loading html content to iframe:

 $.ajax({
            url: proxyBEUrl,
            type: &#039;POST&#039;,
            //jsonp: &#039;callback&#039;,
            dataType: &#039;text&#039;,
            data: { ... },
            success: function (result) {
 $(&#039;#frame-content&#039;).ready(function () {
                    var content = result;
                    var doc = $(&#039;#frame-content&#039;)[0].contentWindow.document;
                    doc.open();
                    doc.write(content);
                    doc.close();
                });
            }
        });


adayimportant@yahoo.com (TMDUng)</description>
		<content:encoded><![CDATA[<p>I got the same problem but when I load html content to an iframe. I tried your solution but still not work</p>
<p>Code loading html content to iframe:</p>
<p> $.ajax({<br />
            url: proxyBEUrl,<br />
            type: &#8216;POST&#8217;,<br />
            //jsonp: &#8216;callback&#8217;,<br />
            dataType: &#8216;text&#8217;,<br />
            data: { &#8230; },<br />
            success: function (result) {<br />
 $(&#8216;#frame-content&#8217;).ready(function () {<br />
                    var content = result;<br />
                    var doc = $(&#8216;#frame-content&#8217;)[0].contentWindow.document;<br />
                    doc.open();<br />
                    doc.write(content);<br />
                    doc.close();<br />
                });<br />
            }<br />
        });</p>
<p><a href="mailto:adayimportant@yahoo.com">adayimportant@yahoo.com</a> (TMDUng)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encrypt in VB.NET  and Decrypt in PHP and Vice Versa by David Eaton</title>
		<link>http://www.suhailkaleem.com/2010/02/13/encrypt-in-vb-net-and-decrypt-in-php-and-vice-versa/comment-page-1/#comment-1844</link>
		<dc:creator>David Eaton</dc:creator>
		<pubDate>Sun, 18 Dec 2011 02:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=135#comment-1844</guid>
		<description>Using the PHP Decrypt code above I was getting some weird values.  From using the php encrypt to php decrypt.

Here is an example.
&lt;code&gt;78xd5cxeohi21qg�����������������&lt;/code&gt;

To prevent this I added this line of code to fix it..
&lt;code&gt;
$rtn = str_replace(&quot;&quot;,&#039;&#039;,$rtn);
&lt;/code&gt;

Here is the entire function.

&lt;code&gt;
function decryptRJ256($key,$iv,$string_to_decrypt)
{
 
$string_to_decrypt = base64_decode($string_to_decrypt);
 
$rtn = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $string_to_decrypt, MCRYPT_MODE_CBC, $iv);
 
$rtn = rtrim($rtn, &quot;\4&quot;);

/* Replace ASCII NULL with empty string */
 $rtn = str_replace(&quot;&quot;,&#039;&#039;,$rtn);

return($rtn);
}
&lt;/code&gt;


Thanks.</description>
		<content:encoded><![CDATA[<p>Using the PHP Decrypt code above I was getting some weird values.  From using the php encrypt to php decrypt.</p>
<p>Here is an example.<br />
<code>78xd5cxeohi21qg�����������������</code></p>
<p>To prevent this I added this line of code to fix it..<br />
<code><br />
$rtn = str_replace("",'',$rtn);<br />
</code></p>
<p>Here is the entire function.</p>
<p><code><br />
function decryptRJ256($key,$iv,$string_to_decrypt)<br />
{</p>
<p>$string_to_decrypt = base64_decode($string_to_decrypt);</p>
<p>$rtn = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $string_to_decrypt, MCRYPT_MODE_CBC, $iv);</p>
<p>$rtn = rtrim($rtn, "\4");</p>
<p>/* Replace ASCII NULL with empty string */<br />
 $rtn = str_replace("",'',$rtn);</p>
<p>return($rtn);<br />
}<br />
</code></p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encrypt in VB.NET  and Decrypt in PHP and Vice Versa by David Eaton</title>
		<link>http://www.suhailkaleem.com/2010/02/13/encrypt-in-vb-net-and-decrypt-in-php-and-vice-versa/comment-page-1/#comment-1843</link>
		<dc:creator>David Eaton</dc:creator>
		<pubDate>Sat, 17 Dec 2011 06:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=135#comment-1843</guid>
		<description>I was having the same VB.net Decryptor issue as Vural Acar above and used his code to fix my problem.  There seems to be a small error, in his solution.

Here is the corrected version.

&lt;code&gt;
        Dim decryptor As ICryptoTransform = myRijndael.CreateDecryptor(key, IV)
        Dim sEncrypted As Byte() = Convert.FromBase64String(sEncryptedString)

        Dim msDecrypt As New MemoryStream(sEncrypted)
        Dim csDecrypt As New CryptoStream(msDecrypt, decryptor, CryptoStreamMode.Read)
        Dim fromEncrypt() As Byte = New Byte(sEncrypted.Length) {}
        csDecrypt.Read(fromEncrypt, 0, fromEncrypt.Length)
        Dim fromEncryptCache() As Byte = {}
        Dim i% = 0, count_serve% = 0

        &#039;clean the free memory
        While i &lt; (fromEncrypt.Length - 1)
            If Not fromEncrypt(i) = 0 Then
                ReDim Preserve fromEncryptCache(count_serve)
                fromEncryptCache(i) = fromEncrypt(i)
                count_serve = count_serve + 1
            End If
            i = i + 1
        End While

        Return (System.Text.Encoding.ASCII.GetString(fromEncryptCache))
&lt;/code&gt;


Thanks!</description>
		<content:encoded><![CDATA[<p>I was having the same VB.net Decryptor issue as Vural Acar above and used his code to fix my problem.  There seems to be a small error, in his solution.</p>
<p>Here is the corrected version.</p>
<p><code><br />
        Dim decryptor As ICryptoTransform = myRijndael.CreateDecryptor(key, IV)<br />
        Dim sEncrypted As Byte() = Convert.FromBase64String(sEncryptedString)</p>
<p>        Dim msDecrypt As New MemoryStream(sEncrypted)<br />
        Dim csDecrypt As New CryptoStream(msDecrypt, decryptor, CryptoStreamMode.Read)<br />
        Dim fromEncrypt() As Byte = New Byte(sEncrypted.Length) {}<br />
        csDecrypt.Read(fromEncrypt, 0, fromEncrypt.Length)<br />
        Dim fromEncryptCache() As Byte = {}<br />
        Dim i% = 0, count_serve% = 0</p>
<p>        'clean the free memory<br />
        While i &lt; (fromEncrypt.Length - 1)<br />
            If Not fromEncrypt(i) = 0 Then<br />
                ReDim Preserve fromEncryptCache(count_serve)<br />
                fromEncryptCache(i) = fromEncrypt(i)<br />
                count_serve = count_serve + 1<br />
            End If<br />
            i = i + 1<br />
        End While</p>
<p>        Return (System.Text.Encoding.ASCII.GetString(fromEncryptCache))<br />
</code></p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encrypt in VB.NET  and Decrypt in PHP and Vice Versa by Pedro</title>
		<link>http://www.suhailkaleem.com/2010/02/13/encrypt-in-vb-net-and-decrypt-in-php-and-vice-versa/comment-page-1/#comment-1838</link>
		<dc:creator>Pedro</dc:creator>
		<pubDate>Thu, 24 Nov 2011 23:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=135#comment-1838</guid>
		<description>One more saved!!!Thank you.....because of i think to create a blog  to help others!! you save a lot of needed hours</description>
		<content:encoded><![CDATA[<p>One more saved!!!Thank you&#8230;..because of i think to create a blog  to help others!! you save a lot of needed hours</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The view at &#8216;~/Views/Home/Index.aspx&#8217; must derive from ViewPage, ViewPage, ViewUserControl, or ViewUserControl. by asp.net, c#,javascript</title>
		<link>http://www.suhailkaleem.com/2010/01/17/the-view-at-viewshomeindex-aspx-must-derive-from-viewpage-viewpage-viewusercontrol-or-viewusercontrol/comment-page-1/#comment-1830</link>
		<dc:creator>asp.net, c#,javascript</dc:creator>
		<pubDate>Fri, 30 Sep 2011 04:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=126#comment-1830</guid>
		<description>&lt;strong&gt;asp.net, c#,javascript...&lt;/strong&gt;

[...]The view at &#8216;~/Views/Home/Index.aspx&#8217; must derive from ViewPage, ViewPage, ViewUserControl, or ViewUserControl. &#124; Suhail Kaleem[...]...</description>
		<content:encoded><![CDATA[<p><strong>asp.net, c#,javascript&#8230;</strong></p>
<p>[...]The view at &#8216;~/Views/Home/Index.aspx&#8217; must derive from ViewPage, ViewPage, ViewUserControl, or ViewUserControl. | Suhail Kaleem[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on how to make asp.net textbox readonly when using jquery calendar by Website</title>
		<link>http://www.suhailkaleem.com/2009/09/16/how-to-make-asp-net-textbox-readonly-when-using-jquery-calendar/comment-page-1/#comment-1826</link>
		<dc:creator>Website</dc:creator>
		<pubDate>Thu, 28 Jul 2011 19:19:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=84#comment-1826</guid>
		<description>&lt;strong&gt;Website...&lt;/strong&gt;

how to make asp.net textbox readonly when using jquery calendar &#124; Suhail Kaleem...</description>
		<content:encoded><![CDATA[<p><strong>Website&#8230;</strong></p>
<p>how to make asp.net textbox readonly when using jquery calendar | Suhail Kaleem&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to Make a Full Screen IPhone Web applications by Adnan</title>
		<link>http://www.suhailkaleem.com/2011/03/15/full-screen-iphone-web-applications/comment-page-1/#comment-1825</link>
		<dc:creator>Adnan</dc:creator>
		<pubDate>Wed, 20 Jul 2011 01:29:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=215#comment-1825</guid>
		<description>I added gmail to my home screen but bottom tool bar still appearing ;(</description>
		<content:encoded><![CDATA[<p>I added gmail to my home screen but bottom tool bar still appearing ;(</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The view at &#8216;~/Views/Home/Index.aspx&#8217; must derive from ViewPage, ViewPage, ViewUserControl, or ViewUserControl. by Ben</title>
		<link>http://www.suhailkaleem.com/2010/01/17/the-view-at-viewshomeindex-aspx-must-derive-from-viewpage-viewpage-viewusercontrol-or-viewusercontrol/comment-page-1/#comment-1823</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sun, 12 Jun 2011 03:26:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=126#comment-1823</guid>
		<description>Thanks, worked great!!!</description>
		<content:encoded><![CDATA[<p>Thanks, worked great!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encrypt in VB.NET  and Decrypt in PHP and Vice Versa by Vural Acar</title>
		<link>http://www.suhailkaleem.com/2010/02/13/encrypt-in-vb-net-and-decrypt-in-php-and-vice-versa/comment-page-1/#comment-1822</link>
		<dc:creator>Vural Acar</dc:creator>
		<pubDate>Sun, 05 Jun 2011 22:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=135#comment-1822</guid>
		<description>@jorgetuck

You are getting this error, because base64_decode() can not decode the + sign correctly.

Solution: just do this in php


function cleanGetQuery($_data)
{
    return str_replace(&#039; &#039;, &#039;+&#039;, $_data);
}

$myData = decryptRJ256(cleanGetQuery($_GET[&#039;myData&#039;]));

thats all.</description>
		<content:encoded><![CDATA[<p>@jorgetuck</p>
<p>You are getting this error, because base64_decode() can not decode the + sign correctly.</p>
<p>Solution: just do this in php</p>
<p>function cleanGetQuery($_data)<br />
{<br />
    return str_replace(&#8216; &#8216;, &#8216;+&#8217;, $_data);<br />
}</p>
<p>$myData = decryptRJ256(cleanGetQuery($_GET['myData']));</p>
<p>thats all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Encrypt in VB.NET  and Decrypt in PHP and Vice Versa by jorgetuck</title>
		<link>http://www.suhailkaleem.com/2010/02/13/encrypt-in-vb-net-and-decrypt-in-php-and-vice-versa/comment-page-1/#comment-1821</link>
		<dc:creator>jorgetuck</dc:creator>
		<pubDate>Thu, 02 Jun 2011 05:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.suhailkaleem.com/?p=135#comment-1821</guid>
		<description>Hi I have problem with the script when I get the string encrypt in VB.net from URL in php the decrypt in php doesnt work, I print the variable and show me this 

Â`Y×®=-RÒí¶’Á³û%Œ&#039;£²«/ÔñÊ µÍ 

I dont know why 

any idea?

thanks, help please</description>
		<content:encoded><![CDATA[<p>Hi I have problem with the script when I get the string encrypt in VB.net from URL in php the decrypt in php doesnt work, I print the variable and show me this </p>
<p>Â`Y×®=-RÒí¶’Á³û%Œ&#8217;£²«/ÔñÊ µÍ </p>
<p>I dont know why </p>
<p>any idea?</p>
<p>thanks, help please</p>
]]></content:encoded>
	</item>
</channel>
</rss>

