The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.39 / 5.00 38,635 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 15,161 ViewsBecause I was dump, I messed around with curl and now I have a problem.
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
// don't download content
curl_setopt($ch, CURLOPT_NOBODY, 1);
curl_setopt($ch, CURLOPT_FAILONERROR, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_exec($ch);
I executed that code, where the URL is a remote image url. I deleted the code, but the page still exists whenever the function I put this in is run. How can I get rid of this nasty thing? Apparently deleting it out of the code does not work....
So, I want to delete the dang curl session so it will stop exiting my script every time it wants to execute.