Jump to content

Does something like HTTP_GET_RESPONSE exist?


Recommended Posts

I was curious about getting the result of this  http://api.hostip.info/country.php?ip= (Result = DE) into a variable i can use to write into my DB (last thing is easy for me but i am curious about getting an answer how to do the first thing. beneath the snippet i had in my mind :-) 

$in = HTTP_GET_RESPONSE('http://api.hostip.info/country.php?ip=');
echo $in;
/*write to DB*/

thanks for the help in advance!

P.S.: I don't know much about java/python/C(+/++/#)

P.P.S.: http://kater.selfhost.me/stats/test.php that's the result :-(

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.