Gho§t Posted August 19, 2007 Share Posted August 19, 2007 Can i do multiple curl_exec()'s with one curl_init() handler? Like... <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://google.com'); curl_exec(); //Will this code work or do I have to make a new handler? curl_setopt($ch, CURLOPT_URL, 'http://yahoo.com'); curl_exec(); curl_close($ch); ?> Link to comment https://forums.phpfreaks.com/topic/65707-curl-question/ Share on other sites More sharing options...
phpknight Posted August 19, 2007 Share Posted August 19, 2007 Just try it and see if it works, lol. Link to comment https://forums.phpfreaks.com/topic/65707-curl-question/#findComment-328189 Share on other sites More sharing options...
shag Posted August 20, 2007 Share Posted August 20, 2007 Yes you can do multiple, it should work fine. Link to comment https://forums.phpfreaks.com/topic/65707-curl-question/#findComment-328405 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.