Commented-out Code is rotting code

One of the things I really hate, and programmers should really avoid is commenting-out code. Do NOT do this! <?php $ch = curl_init(); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); //curl_setopt($ch, CURLOPT_COOKIESESSION, TRUE); curl_setopt($ch, CURLOPT_HEADER, 0); //curl_setopt($ch, CURLOPT_COOKIEFILE, "cookiefile"); //curl_setopt($ch, CURLOPT_COOKIEJAR, "cookiefile"); //curl_setopt($ch, CURLOPT_COOKIE, session_name() . '=' . session_id()); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_URL, 'http://www.testingsite.com'); $result1 …

Read more