I am using Ubuntu Linux. I have a web server(Apache). In my localhost I kept my php code and one json file. Through my php code i want to load my json file. My problem is nither I load my json file nor I getting any error. Every time It is showing my json file loaded successfully. But i can not see the data.
After couple of days searching in the net I am assuming that this is because of Apache's same origin policy. May be i could not set it up properly. Now, How should I do it?
This is not possible to load any json file from localhost to my script directly. Is this true? If so how should I solve this?