<?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 Crustiz.com</title>
	<atom:link href="http://www.crustiz.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.crustiz.com</link>
	<description>Techie news</description>
	<lastBuildDate>Mon, 22 Aug 2011 15:30:55 +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 jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by 101 google images</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-774</link>
		<dc:creator>101 google images</dc:creator>
		<pubDate>Mon, 22 Aug 2011 15:30:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-774</guid>
		<description>&lt;strong&gt;google images...&lt;/strong&gt;

jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it &#124; Crustiz.com...</description>
		<content:encoded><![CDATA[<p><strong>google images&#8230;</strong></p>
<p>jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it | Crustiz.com&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by Ivan</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-773</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Fri, 12 Aug 2011 05:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-773</guid>
		<description>Great!
I just thinking about changing the fancy and you save me a time.
Fancy 1.3.4 have the same issue.</description>
		<content:encoded><![CDATA[<p>Great!<br />
I just thinking about changing the fancy and you save me a time.<br />
Fancy 1.3.4 have the same issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by Gabriel Somoza</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-772</link>
		<dc:creator>Gabriel Somoza</dc:creator>
		<pubDate>Thu, 28 Jul 2011 11:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-772</guid>
		<description>Beautiful! This helped me!</description>
		<content:encoded><![CDATA[<p>Beautiful! This helped me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by ussy1649</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-771</link>
		<dc:creator>ussy1649</dc:creator>
		<pubDate>Wed, 27 Jul 2011 18:53:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-771</guid>
		<description>I love you man! Finally works, thanks! :D</description>
		<content:encoded><![CDATA[<p>I love you man! Finally works, thanks! <img src='http://www.crustiz.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by Sums</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-770</link>
		<dc:creator>Sums</dc:creator>
		<pubDate>Sun, 12 Jun 2011 12:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-770</guid>
		<description>I have Fancybox 1.3.4 and it worked fine in several browsers. Only bug was that the background shadow was not shown in Internet Explorer Browsers.
After above-mentioned corrections of the paths in the respective jquery.fancybox-1.3.4.css for IE (IE 7+ beginning line 349) now also in the IEs the (3D) background shadows are shown :-D
THANKS A LOT for this post!!!!</description>
		<content:encoded><![CDATA[<p>I have Fancybox 1.3.4 and it worked fine in several browsers. Only bug was that the background shadow was not shown in Internet Explorer Browsers.<br />
After above-mentioned corrections of the paths in the respective jquery.fancybox-1.3.4.css for IE (IE 7+ beginning line 349) now also in the IEs the (3D) background shadows are shown <img src='http://www.crustiz.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /><br />
THANKS A LOT for this post!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Youtube library for CodeIgniter by Navvy</title>
		<link>http://www.crustiz.com/php-jquery/youtube-library-for-codeigniter/comment-page-1/#comment-769</link>
		<dc:creator>Navvy</dc:creator>
		<pubDate>Sat, 21 May 2011 08:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=308#comment-769</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-768&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Navvy:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 Hi , first of all Thanks for this great Library u really put great effort . My problem is  this library working fine but on my web page it only show me link like 
&lt;a href=&quot;http://www.youtube.com/watch?v=EYUSlnXcYeU&amp;feature=youtube_gdata&quot; rel=&quot;nofollow&quot;&gt;http://www.youtube.com/watch?v=EYUSlnXcYeU&amp;feature=youtube_gdata&lt;/a&gt; 
and *can&#039;t see any video …. M i missing some setting !
thanks
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-768" rel="nofollow"><br />
<strong><em>Navvy:</em></strong><br />
</a><br />
 Hi , first of all Thanks for this great Library u really put great effort . My problem is  this library working fine but on my web page it only show me link like<br />
<a href="http://www.youtube.com/watch?v=EYUSlnXcYeU&amp;feature=youtube_gdata" rel="nofollow">http://www.youtube.com/watch?v=EYUSlnXcYeU&#038;feature=youtube_gdata</a><br />
and *can&#8217;t see any video …. M i missing some setting !<br />
thanks
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Youtube library for CodeIgniter by Navvy</title>
		<link>http://www.crustiz.com/php-jquery/youtube-library-for-codeigniter/comment-page-1/#comment-768</link>
		<dc:creator>Navvy</dc:creator>
		<pubDate>Sat, 21 May 2011 08:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=308#comment-768</guid>
		<description>Hi , first of all Thanks for this great Library u really put great effort . My problem is  this library working fine but on my web page it only show me link like 

http://www.youtube.com/watch?v=EYUSlnXcYeU&amp;feature=youtube_gdata 

and can see any video .... M i missing some setting !

thanks</description>
		<content:encoded><![CDATA[<p>Hi , first of all Thanks for this great Library u really put great effort . My problem is  this library working fine but on my web page it only show me link like </p>
<p><a href="http://www.youtube.com/watch?v=EYUSlnXcYeU&#038;feature=youtube_gdata" rel="nofollow">http://www.youtube.com/watch?v=EYUSlnXcYeU&#038;feature=youtube_gdata</a> </p>
<p>and can see any video &#8230;. M i missing some setting !</p>
<p>thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Youtube library for CodeIgniter by aditya menon</title>
		<link>http://www.crustiz.com/php-jquery/youtube-library-for-codeigniter/comment-page-1/#comment-767</link>
		<dc:creator>aditya menon</dc:creator>
		<pubDate>Sat, 07 May 2011 20:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=308#comment-767</guid>
		<description>Excellent! Thanks for the library! Why not post it all in a single easy download though... I thought Frameworks were meant to be cushions for the lazy? :)</description>
		<content:encoded><![CDATA[<p>Excellent! Thanks for the library! Why not post it all in a single easy download though&#8230; I thought Frameworks were meant to be cushions for the lazy? <img src='http://www.crustiz.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by graham</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-766</link>
		<dc:creator>graham</dc:creator>
		<pubDate>Tue, 03 May 2011 09:36:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-766</guid>
		<description>You have a Planet Sized Brain...</description>
		<content:encoded><![CDATA[<p>You have a Planet Sized Brain&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Highcharts Library for CodeIgniter by Maxime</title>
		<link>http://www.crustiz.com/php-jquery/highcharts-library-for-codeigniter/comment-page-1/#comment-765</link>
		<dc:creator>Maxime</dc:creator>
		<pubDate>Mon, 25 Apr 2011 11:29:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=271#comment-765</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-764&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;Amit Shah:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 &lt;p&gt;Hi dudes,&lt;/p&gt;
&lt;p&gt;Thanks for the wonderful library work done by you. But surely there is a lot of stuff needed to go in the same, Can i get access to the github on the project as i had downloaded and have had made quite a few changes myself for my own purpose. Will be great to have an update from you.&lt;/p&gt;
&lt;/blockquote&gt;

Hey mate, feel free to update the library. It has been a couple of months (year maybe) since I&#039;ve done it. I pretty sure there heaps of stuffs to update and modify. I know that Ronan start a GitHub repository for this lib: https://github.com/ronan-gloo/codeigniter-highcharts-library you might want to fork it or work with him to keep it up to date ;) 

@everyone you are more than welcome.</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-764" rel="nofollow"><br />
<strong><em>Amit Shah:</em></strong><br />
</a></p>
<p>Hi dudes,</p>
<p>Thanks for the wonderful library work done by you. But surely there is a lot of stuff needed to go in the same, Can i get access to the github on the project as i had downloaded and have had made quite a few changes myself for my own purpose. Will be great to have an update from you.</p>
</blockquote>
<p>Hey mate, feel free to update the library. It has been a couple of months (year maybe) since I&#8217;ve done it. I pretty sure there heaps of stuffs to update and modify. I know that Ronan start a GitHub repository for this lib: <a href="https://github.com/ronan-gloo/codeigniter-highcharts-library" rel="nofollow">https://github.com/ronan-gloo/codeigniter-highcharts-library</a> you might want to fork it or work with him to keep it up to date <img src='http://www.crustiz.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>@everyone you are more than welcome.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Highcharts Library for CodeIgniter by Amit Shah</title>
		<link>http://www.crustiz.com/php-jquery/highcharts-library-for-codeigniter/comment-page-1/#comment-764</link>
		<dc:creator>Amit Shah</dc:creator>
		<pubDate>Mon, 25 Apr 2011 10:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=271#comment-764</guid>
		<description>Hi dudes,

Thanks for the wonderful library work done by you. But surely there is a lot of stuff needed to go in the same, Can i get access to the github on the project as i had downloaded and have had made quite a few changes myself for my own purpose. Will be great to have an update from you.</description>
		<content:encoded><![CDATA[<p>Hi dudes,</p>
<p>Thanks for the wonderful library work done by you. But surely there is a lot of stuff needed to go in the same, Can i get access to the github on the project as i had downloaded and have had made quite a few changes myself for my own purpose. Will be great to have an update from you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Highcharts Library for CodeIgniter by yen</title>
		<link>http://www.crustiz.com/php-jquery/highcharts-library-for-codeigniter/comment-page-1/#comment-763</link>
		<dc:creator>yen</dc:creator>
		<pubDate>Tue, 05 Apr 2011 07:33:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=271#comment-763</guid>
		<description>Hi, have you tried to change the legend icon before using the renderer. I would like to have a some examples for this. thanks.</description>
		<content:encoded><![CDATA[<p>Hi, have you tried to change the legend icon before using the renderer. I would like to have a some examples for this. thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Highcharts Library for CodeIgniter by vaibhav</title>
		<link>http://www.crustiz.com/php-jquery/highcharts-library-for-codeigniter/comment-page-1/#comment-762</link>
		<dc:creator>vaibhav</dc:creator>
		<pubDate>Thu, 31 Mar 2011 07:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=271#comment-762</guid>
		<description>&lt;blockquote&gt;
&lt;a href=&quot;#comment-748&quot; rel=&quot;nofollow&quot;&gt;
&lt;strong&gt;&lt;em&gt;ronan:&lt;/em&gt;&lt;/strong&gt;
&lt;/a&gt;
 hi, i’ve tested your lib, and found that some parameters from highcharts API was not available.
So i’ve decided to write my own (&lt;a href=&quot;https://github.com/ronan-gloo/codeigniter-highcharts-library&quot; rel=&quot;nofollow&quot;&gt;https://github.com/ronan-gloo/codeigniter-highcharts-library&lt;/a&gt;) to have more flexibility.
Thanks for inspiration  
&lt;/blockquote&gt;

10000000000000000000 thanks for your library</description>
		<content:encoded><![CDATA[<blockquote><p>
<a href="#comment-748" rel="nofollow"><br />
<strong><em>ronan:</em></strong><br />
</a><br />
 hi, i’ve tested your lib, and found that some parameters from highcharts API was not available.<br />
So i’ve decided to write my own (<a href="https://github.com/ronan-gloo/codeigniter-highcharts-library" rel="nofollow">https://github.com/ronan-gloo/codeigniter-highcharts-library</a>) to have more flexibility.<br />
Thanks for inspiration
</p></blockquote>
<p>10000000000000000000 thanks for your library</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery UI 1.8 autocomplete : how to fix issues/bugs with label and value by Echo</title>
		<link>http://www.crustiz.com/php-jquery/jquery-ui-1-8-autocomplete-how-to-fix-issues-bugs-with-label-value/comment-page-1/#comment-761</link>
		<dc:creator>Echo</dc:creator>
		<pubDate>Thu, 24 Mar 2011 23:07:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=250#comment-761</guid>
		<description>Hi ,
I am trying to make simple JQuery application with Auto complete .
I need when the user types each character --&gt; go to server and do some logic there --&gt;then render a list from the server .

I succeeded to do that .However, the only thing that BUGS me that once the response comes from the server , I must type another character in order to be able to render the list .

How could I render the list whenever it comes from the server without the need to type any thing .

$(document).ready(function() { 


       $(&#039;#autocomplete&#039;).keydown(function() {
 if ($(&#039;#autocomplete&#039;).val()) {

 $.getJSON(&quot;../x/foo&quot;, { name: $(&#039;#autocomplete&#039;).val()}, function(result) {

                          $(&quot;input#autocomplete&quot;).autocomplete({source:result.fooList});
                     });

 }
    });

});

</description>
		<content:encoded><![CDATA[<p>Hi ,<br />
I am trying to make simple JQuery application with Auto complete .<br />
I need when the user types each character &#8211;&gt; go to server and do some logic there &#8211;&gt;then render a list from the server .</p>
<p>I succeeded to do that .However, the only thing that BUGS me that once the response comes from the server , I must type another character in order to be able to render the list .</p>
<p>How could I render the list whenever it comes from the server without the need to type any thing .</p>
<p>$(document).ready(function() { </p>
<p>       $(&#8216;#autocomplete&#8217;).keydown(function() {<br />
 if ($(&#8216;#autocomplete&#8217;).val()) {</p>
<p> $.getJSON(&#8220;../x/foo&#8221;, { name: $(&#8216;#autocomplete&#8217;).val()}, function(result) {</p>
<p>                          $(&#8220;input#autocomplete&#8221;).autocomplete({source:result.fooList});<br />
                     });</p>
<p> }<br />
    });</p>
<p>});</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by Julian</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-760</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Wed, 23 Mar 2011 06:16:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-760</guid>
		<description>Hi James I tried to fix this issue on the 1.3.4, still haven&#039;t found any solutions. That&#039;s why I am still using the 1.3.1 for IE6 and IE7.
Sorry mate, I write a post about it few months ago, I let you know if I found a solution.</description>
		<content:encoded><![CDATA[<p>Hi James I tried to fix this issue on the 1.3.4, still haven&#8217;t found any solutions. That&#8217;s why I am still using the 1.3.1 for IE6 and IE7.<br />
Sorry mate, I write a post about it few months ago, I let you know if I found a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by santosh</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-759</link>
		<dc:creator>santosh</dc:creator>
		<pubDate>Tue, 22 Mar 2011 15:24:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-759</guid>
		<description>thank, i wasted almost 2 days to fix this problem
at last got your solution

Thanks again</description>
		<content:encoded><![CDATA[<p>thank, i wasted almost 2 days to fix this problem<br />
at last got your solution</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jQuery Fancybox 1.3.1 plugin images not working on IE : How to fix it by James McGill</title>
		<link>http://www.crustiz.com/php-jquery/jquery-fancybox-plugin-images-not-working-on-ie-how-to-fix/comment-page-1/#comment-758</link>
		<dc:creator>James McGill</dc:creator>
		<pubDate>Sun, 20 Mar 2011 02:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=263#comment-758</guid>
		<description>I am running into a similar problem in IE, but the above solution did not work.  I am unsure if this is due to 1.3.4.

Any help you can provide would be greatly appreciated!</description>
		<content:encoded><![CDATA[<p>I am running into a similar problem in IE, but the above solution did not work.  I am unsure if this is due to 1.3.4.</p>
<p>Any help you can provide would be greatly appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to secure your ajax controller for codeigniter/php by Julian</title>
		<link>http://www.crustiz.com/php-jquery/how-to-secure-ajax-controller-codeigniter-php/comment-page-1/#comment-757</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Tue, 08 Mar 2011 08:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=191#comment-757</guid>
		<description>Hi Chris,

You can use it here, that&#039;s fine. this code is useful only for Ajax functions where you pass the parameters in GET, POST is already protected so no need to worry. It is to avoid your ajax functions to be called via a basic HTTP request. 
This function will only allow XMLHTTPRequest. 
Example: let&#039;s take this URL &lt;strong&gt;http://www.website.com/ajax/myfunction/myparam1/myparam2&lt;/strong&gt;
if you call this URL via your browser, it will not work but if you call it via $.ajax() it will! 

You can protect your ajax controller like that, obviously as said previously it does not prevent from header spoofing.</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>You can use it here, that&#8217;s fine. this code is useful only for Ajax functions where you pass the parameters in GET, POST is already protected so no need to worry. It is to avoid your ajax functions to be called via a basic HTTP request.<br />
This function will only allow XMLHTTPRequest.<br />
Example: let&#8217;s take this URL <strong><a href="http://www.website.com/ajax/myfunction/myparam1/myparam2" rel="nofollow">http://www.website.com/ajax/myfunction/myparam1/myparam2</a></strong><br />
if you call this URL via your browser, it will not work but if you call it via $.ajax() it will! </p>
<p>You can protect your ajax controller like that, obviously as said previously it does not prevent from header spoofing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Highcharts Library for CodeIgniter by Chris D - in AU</title>
		<link>http://www.crustiz.com/php-jquery/highcharts-library-for-codeigniter/comment-page-1/#comment-756</link>
		<dc:creator>Chris D - in AU</dc:creator>
		<pubDate>Wed, 02 Mar 2011 01:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=271#comment-756</guid>
		<description>Very nice, thank you. Adjusted it a bit to work in my CI. 
1. $this-&gt;library-&gt;load ?
I had to change to $this-&gt;load-&gt;library
2. tpl file... the demo should just echo out to screen
3. demo should echo html head and head script loaders.

After doing those 3 things, I managed to run the demo script in a test controller perfectly!
Thank you.</description>
		<content:encoded><![CDATA[<p>Very nice, thank you. Adjusted it a bit to work in my CI.<br />
1. $this-&gt;library-&gt;load ?<br />
I had to change to $this-&gt;load-&gt;library<br />
2. tpl file&#8230; the demo should just echo out to screen<br />
3. demo should echo html head and head script loaders.</p>
<p>After doing those 3 things, I managed to run the demo script in a test controller perfectly!<br />
Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to secure your ajax controller for codeigniter/php by Chris D - in AU</title>
		<link>http://www.crustiz.com/php-jquery/how-to-secure-ajax-controller-codeigniter-php/comment-page-1/#comment-755</link>
		<dc:creator>Chris D - in AU</dc:creator>
		<pubDate>Tue, 01 Mar 2011 23:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.crustiz.com/?p=191#comment-755</guid>
		<description>Hey Julian, Thanks for sharing, not sure if code covers my use, hopefully it can be added to it : )

I use this method - and so may others reading this:
  $ . post ( test.php , $( #testform ).serialize() ); // removed quotes
Would your code work with that?

I thought jQuery would just simulate a normal page load with post data versus an xml http request. (?) Please correct me.

How do I secure Ajax and Form submits:
1: i usually keep data in a hidden form and ajax post all the form data.
2: Each form has a form key hash, made from lots of pepper, salt, and secret idetifiers. A CI security library is used to check form key (). The library can check the key without much fuss as there is a simple way of generating it.
3: php must check all variables

Worst case: a hacker somehow works out how to reproduce the hash, so change the salt and pepper. 

Extra Security Note: salt and pepper can be changed weekly or daily if you are inclined. If changing daily; I suggest having the check function support the previous day&#039;s key too, so that a form generated before key change and submitted just after key change, will still submit without any error.

Disclaimer Note: i am not a security expert, just an exceptionally good problem solver ; )

- There are 2 types of people in this world.... those who understand binary,.... and those who don&#039;t. - :D</description>
		<content:encoded><![CDATA[<p>Hey Julian, Thanks for sharing, not sure if code covers my use, hopefully it can be added to it : )</p>
<p>I use this method &#8211; and so may others reading this:<br />
  $ . post ( test.php , $( #testform ).serialize() ); // removed quotes<br />
Would your code work with that?</p>
<p>I thought jQuery would just simulate a normal page load with post data versus an xml http request. (?) Please correct me.</p>
<p>How do I secure Ajax and Form submits:<br />
1: i usually keep data in a hidden form and ajax post all the form data.<br />
2: Each form has a form key hash, made from lots of pepper, salt, and secret idetifiers. A CI security library is used to check form key (). The library can check the key without much fuss as there is a simple way of generating it.<br />
3: php must check all variables</p>
<p>Worst case: a hacker somehow works out how to reproduce the hash, so change the salt and pepper. </p>
<p>Extra Security Note: salt and pepper can be changed weekly or daily if you are inclined. If changing daily; I suggest having the check function support the previous day&#8217;s key too, so that a form generated before key change and submitted just after key change, will still submit without any error.</p>
<p>Disclaimer Note: i am not a security expert, just an exceptionally good problem solver ; )</p>
<p>- There are 2 types of people in this world&#8230;. those who understand binary,&#8230;. and those who don&#8217;t. &#8211; <img src='http://www.crustiz.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

