What happens when I need to post code & want it’s syntax highlighted?
I install WP-Syntax and go to town is what! It uses GeSHI, which I’ve heard of but never used - piece of cake to use!
In fact, here’s a little of example straight from the curl_setopt page in the php manual
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <?php // create a new cURL resource $ch = curl_init(); // set URL and other appropriate options curl_setopt($ch, CURLOPT_URL, "http://www.example.com/"); curl_setopt($ch, CURLOPT_HEADER, false); // grab URL and pass it to the browser curl_exec($ch); // close cURL resource, and free up system resources curl_close($ch); ?> |
