2

is there a way to send a AJAX post to a PHP page that is in a server that I don't have access? The server always send Access Control Allow Origin error, because I'm sending a post from my server (that I have access) to another server (that I don't' have access). It seems that this server that I don't own only accepts post from it.

Any code, tip? I found easyxdm to do that but I don't' know how to use it.

Selvakumar Arumugam
  • 79,297
  • 15
  • 120
  • 134
user1864255
  • 105
  • 2
  • 2
  • 6

1 Answers1

0

Yes, send the post using your php server(not javascript). That's your only option if you don't have access to the other server and they aren't returning proper CORS headers.

Kevin B
  • 94,570
  • 16
  • 163
  • 180