Hi
I have used http_get to get a string from another webserver. The "response" (string) which I receive also contains the http header information. Is there a way I can directly strip off the header information and use the actual string data.
http_get
Moderator: General Moderators
- Ambush Commander
- DevNet Master
- Posts: 3698
- Joined: Mon Oct 25, 2004 9:29 pm
- Location: New Jersey, US
Re: http_get
Use
Code: Select all
http_parse_message(http_get($url))->body;