开发者

how to get a data from a url and redirect based on the content

HI.. i want to know how to fetch or get a data from a url (for ex : in the following url http://abc.xyz.com i need to fetch only xyz and have to redirect to that xy开发者_JAVA百科z web page) and have to redirect it to the web page based on the content which i fetched.

thank u


Providing you're using PHP:

  • To fetch data from a URL use curl.
  • To redirect use header()
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜