--
-- You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
For more info on PhoneGap or to download the code go to www.phonegap.com
---
You received this message because you are subscribed to the Google Groups "phonegap" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phonegap+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Lobos Studios | Phone: 877.919.4WEB | LobosStudios.com | Facebook.com/LobosStudios | @LobosStudios Web Development - Mobile Development - Helpdesk/Tech Support - Computer Sales & Service Acer Authorized Reseller - Computers, Windows and Android Tablets, Accessories Steve Sobol - CEO, Senior Developer and Server Jockey st...@LobosStudios.com
...
Ø You need to configure your server to return the appropriate headers, not the client.
That’s generally done on the server page you are requesting. You can generally do that using the server side language:
<?php header("Access-Control-Allow-Origin: *"); ?>
Robert Harrison
Full Stack Developer
AIMG
rhar...@aimg.com
Main Office: 704-321-1234 ext.118
Direct Line: 516-302-4345
www.aimg.com

--
I suspect you still need to do that on the server side… otherwise what would be the point in having a security block if you could just walk around it by sending a header from the client?
http://enable-cors.org/server_expressjs.html
http://stackoverflow.com/questions/7067966/how-to-allow-cors-in-express-node-js