Using Ajax I'm trying to get data from a php file with no results. Since the php file is in another domain I guess I have to enable Cross-domain. I try header('Access-Control-Allow-Origin: *') but it does not work.
It would be nice to have the source code of a working php file
Does any of you have a working example of that????
Thanks in advance!