<?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>dashingmagazine.com &#187; Javascript</title>
	<atom:link href="http://dashingmagazine.com/category/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://dashingmagazine.com</link>
	<description></description>
	<lastBuildDate>Sat, 28 Aug 2010 10:23:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ajax special characters problem</title>
		<link>http://dashingmagazine.com/ajax-special-characters-problem/mahesh/</link>
		<comments>http://dashingmagazine.com/ajax-special-characters-problem/mahesh/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 20:57:43 +0000</pubDate>
		<dc:creator>mahesh</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[ajax posting]]></category>
		<category><![CDATA[Ajax Special Character Problem]]></category>
		<category><![CDATA[escape]]></category>

		<guid isPermaLink="false">http://dashingmagazine.com/?p=385</guid>
		<description><![CDATA[

For some time from now, I was wondering if there was a way, so that I can handle special characters {{!@#$%^&#38;*()_&#8217;/&#8221; }} while posting the data using AJAX.
Then suddenly I came to the conclusion that if we can URL ENCODE the data before posting through AJAX in JAVASCRIPT then it should be possible.
This is can [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>For some time from now, I was wondering if there was a way, so that I can handle special characters {{!@#$%^&amp;*()_&#8217;/&#8221; }} while posting the data using AJAX.</p>
<p>Then suddenly I came to the conclusion that if we can URL ENCODE the data before posting through AJAX in JAVASCRIPT then it should be possible.</p>
<p>This is can be achieved by using JavaScript’s’ function escape();</p>
<p>escape() :- converts a string to URL-encoding</p>
<p>This native function converts a string to URL-encoded form suitable for transmitting a query string (or part of the URL).</p>
<p>This native function works as follows:</p>
<p>Digits, Latin letters and the characters {{+ &#8211; * /. _ @}} remains unchanged and all other characters in the original string will be replaced by escape-sequences %XX, where XX is the ASCII code of the original character. Example:</p>
<p>escape(&#8220;The month of October Mahesh’s &amp; Raghu’s Birthday&#8221;)<br />
// result: The%20month%20of%20October%20Mahesh%27s%20%26%20Raghu%27s%20Birthday</p>
<p>To know more about the ASCII Codes, I refer the following URL:</p>
<p>http://www.ascii.cl/htmlcodes.htm</p>
<p>In Unicode-aware browsers (that support JavaScript 1.3) the function escape has a more complex behavior. If the input is a Unicode string, then Unicode characters will be converted to the Unicode escape-sequences %uXXXX.</p>
<p><strong>Ajax example of posting special character using escape:</strong></p>
<p>Var strData = escape(“Mahesh’s &amp; Raghu’s”)<br />
$.ajax({<br />
type: &#8220;POST&#8221;,<br />
url: HTTP_SERVER+DIR_WS_HTTP+&#8221;xxxx.php&#8221;,<br />
data: &#8220;actionType=&#8221;+actionType+&#8221;&amp;userName&#8221;+strData,<br />
success: function(msg)<br />
{<br />
Alert(msg);<br />
}<br />
});</p>
]]></content:encoded>
			<wfw:commentRss>http://dashingmagazine.com/ajax-special-characters-problem/mahesh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>.htaccess settings for osCommerce 2.2 on LAMP Architecture</title>
		<link>http://dashingmagazine.com/htaccess-settings-for-oscommerce-22-on-lamp-architecture/hiteshinde/</link>
		<comments>http://dashingmagazine.com/htaccess-settings-for-oscommerce-22-on-lamp-architecture/hiteshinde/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 16:18:04 +0000</pubDate>
		<dc:creator>hiteshinde</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://dashingmagazine.com/?p=74</guid>
		<description><![CDATA[

Last week, we had project where we have to install and customize the new osCommerce 2.2rc2a on one of our client server having php5 and apache 2.2
The problem here is that the apache 2.2 by default does not takes the long arrays that is $HTTP_GET_VARS, $HTTP_POST_VARS
So, in order to run the osCommerce on the apache2.2 [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>Last week, we had project where we have to install and customize the new osCommerce 2.2rc2a on one of our client server having php5 and apache 2.2</p>
<p>The problem here is that the apache 2.2 by default does not takes the long arrays that is $HTTP_GET_VARS, $HTTP_POST_VARS<span id="more-74"></span></p>
<p>So, in order to run the osCommerce on the apache2.2 and php 5.0, we did a lot of googling, this is could be helpful to others to integrate osCommerce 2.2 on apache 2.2 with php5, we just need to add or update the .htaccess file with the following information.</p>
<p># Explorer browsers</p>
<p>&lt;IfModule mod_setenvif.c&gt;<br />
&lt;IfDefine SSL&gt;<br />
SetEnvIf User-Agent “.*MSIE.*” \<br />
nokeepalive ssl-unclean-shutdown \<br />
downgrade-1.0 force-response-1.0<br />
&lt;/IfDefine&gt;<br />
&lt;/IfModule&gt;</p>
<p># PHP configuration values<br />
#    php_value register_globals On</p>
<p>&lt;IfModule mod_setenvif.c&gt;<br />
&lt;IfDefine SSL&gt;<br />
SetEnvIf User-Agent “.*MSIE.*” \<br />
nokeepalive ssl-unclean-shutdown \<br />
downgrade-1.0 force-response-1.0<br />
&lt;/IfDefine&gt;<br />
&lt;/IfModule&gt;</p>
<p># PHP configuration values</p>
<p>&lt;IfModule mod_php5.c&gt;<br />
php_flag register_long_arrays On<br />
php_flag register_globals On<br />
php_flag display_errors Off<br />
&lt;/IfModule&gt;</p>
<p>&lt;IfModule mod_php4.c&gt;<br />
php_value session.use_trans_sid 0<br />
php_value register_globals 1<br />
php_flag display_errors On<br />
php_flag track_errors Off<br />
&lt;/IfModule&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://dashingmagazine.com/htaccess-settings-for-oscommerce-22-on-lamp-architecture/hiteshinde/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
