登录 | 注册 | FAQ
Anonymous

Communicating with external servers

+ 发表回复

3 篇帖子 分页: 1 / 1


Communicating with external servers

juliusijie » 周一 6月 23, 2014 6:59 pm

Is it possible to send requests to scripts on external servers on the server-side using php just as requests can be made from javascript using ajax.
头像

juliusijie

  • 帖子: 19
  • 注册: 周六 2月 08, 2014 7:56 am
  • 地址: Lagos, Nigeria

Re: Communicating with external servers

XainPro » 周二 6月 24, 2014 6:38 am

yes it is possible this method called cross server calls or it's just an example of API

you can also use curl library of php for this read below topics for further understainding

http://www.php.net//manual/en/book.curl.php

http://msdn.microsoft.com/en-us/library ... 85%29.aspx
头像

XainPro

  • 帖子: 3933
  • 注册: 周五 2月 17, 2012 8:10 pm

Re: Communicating with external servers

juliusijie » 周二 6月 24, 2014 11:32 am

Thanks a lot XainPro. It really helped.
头像

juliusijie

  • 帖子: 19
  • 注册: 周六 2月 08, 2014 7:56 am
  • 地址: Lagos, Nigeria


+ 发表回复

分页: 1 / 1