I am curious why you did not include [code]curl_close($ch)[/code] at the end of your code snippet for good measure. I get that it isn't exactly necessary but I am a firm believer that it is good coding practice.