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'); Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.