views:

22

answers:

1

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 xyz web page) and have to redirect it to the web page based on the content which i fetched.

thank u

A: 

Providing you're using PHP:

  • To fetch data from a URL use curl.
  • To redirect use header()
Danten
thank u......................
manjula ravindran
Ask a broad question, get a broad answer. The links will tell you everything you need to know.
Danten