One of the things I really hate, and programmers should really avoid is commenting-out code. Do NOT do this!
$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 = curl_exec($ch);
You all have seen code like this. Commented-out code you do [...]
Hello potential lost soul,
Developers everywhere in the world love using a linux variant.
I decided to use Ubuntu 8.10 Intrepid Ibex. But during install I had a lot of troubles getting it on my system.
I always got the initramfs and the busybox console. This made installing a real problem. As my system was new and I
I know it has been a while, no excuses.
But I have something important to tell the PHP community. Upcoming Saturday 08 November 2008 it is Bug hunting day. This BHD is organized by phpBelgium and phpGG, and sponsored by Zend, iBuildings and ServerGrove. If you would like to learn more about Zend Framework this [...]