MySQL Forums
Forum List  »  PHP

Issue with web services response
Posted by: sandeep mashetty
Date: July 02, 2017 03:26AM

I have problem in codeigniter web services, my controller is

$data['status'] = 1;
$data['msg'] = $this->Admin_model->get_all_links();
echo json_encode($data);
exit;

But in my response i am getting like


<html><body><script type="text/javascript" src="/aes.js" ></script><script>function toNumbers(d){var e=[];d.replace(/(..)/g,function(d){e.push(parseInt(d,16))});return e}function toHex(){for(var d=[],d=1==arguments.length&&arguments[0].constructor==Array?arguments[0]:arguments,e="",f=0;f<d.length;f++)e+=(16>d[f]?"0":"")+d[f].toString(16);return e.toLowerCase()}var a=toNumbers("f655ba9d09a112d4968c63579db590b4"),b=toNumbers("98344c2eee86c3994890592585b49f80"),c=toNumbers("c867adbbf6906b5e95678c50c48b866e");document.cookie="__test="+toHex(slowAES.decrypt(c,2,a,b))+"; expires=Thu, 31-Dec-37 23:55:55 GMT; path=/"; location.href="http://******.com?i=2";</script><noscript>This site requires Javascript to work, please enable Javascript in your browser or use a browser with Javascript support</noscript></body></html>

Please help me.

http://atozexams.com/

http://www.atozexams.com/exams/ibps.html

Options: ReplyQuote


Subject
Written By
Posted
Issue with web services response
July 02, 2017 03:26AM
July 02, 2017 08:57AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.