Welcome Guest, Not a member yet? Register   Sign In
Missing CI_Output::set_content_type()
#4

[eluser]InsiteFX[/eluser]
Then you better read up on jsonp! and how it works with json to do cross domain server requests using a call_back function!

json using cross domains is not safe from xss attacks thats why you use jsonp.

JSONP is a means by which to get JSON data from another domain than the one your page is on. If you try and use Ajax to request data from a different domain than the page, you'll get a security error.

He can use json but I would not because it is not safe. and he should be calling $.getJSON
not get.

InsiteFX


Messages In This Thread
Missing CI_Output::set_content_type() - by El Forum - 03-21-2011, 12:07 PM
Missing CI_Output::set_content_type() - by El Forum - 03-21-2011, 04:36 PM
Missing CI_Output::set_content_type() - by El Forum - 03-21-2011, 05:30 PM
Missing CI_Output::set_content_type() - by El Forum - 03-21-2011, 10:55 PM
Missing CI_Output::set_content_type() - by El Forum - 03-22-2011, 02:10 AM
Missing CI_Output::set_content_type() - by El Forum - 03-22-2011, 11:56 AM
Missing CI_Output::set_content_type() - by El Forum - 03-22-2011, 07:25 PM
Missing CI_Output::set_content_type() - by El Forum - 03-23-2011, 05:23 AM
Missing CI_Output::set_content_type() - by El Forum - 03-24-2011, 06:01 PM
Missing CI_Output::set_content_type() - by El Forum - 03-24-2011, 06:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB