I'm having an issue. I've been trying for 2 days to solve but until now I didn't have success :
The Problem :
I have a RSS Parser that is fully functional on Localhost but on Hostgator domain it does not allow to make request. Is there something else I can do?
I already tried headers :
header('Access-Control-Allow-Origin: *');
header('content-type: application/json; charset=utf-8');
Changed file permissions on the server, changed .htaccess ( same headers above and other more ) and then, I came here : )
Any of you had this problem ? Thanks already !
Pastebin of the PHP AJAX_getNews
Edit: Actually it is forbidden to me to even access the file directly, ajax calls returns forbidden also.