n8w Posted April 16, 2009 Share Posted April 16, 2009 I am using an api and I need to get the results into a variable? how I takes the results from the web page and turn it into a php variable? something like $bit_request = geturl('http://api.bit.ly/shorten?return_results'); Link to comment https://forums.phpfreaks.com/topic/154375-web-page-to-a-php-variable/ Share on other sites More sharing options...
premiso Posted April 16, 2009 Share Posted April 16, 2009 file_get_contents or curl Link to comment https://forums.phpfreaks.com/topic/154375-web-page-to-a-php-variable/#findComment-811625 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.