503 with cURL


#1

Hello:
I new to this forum, and i need some help regarding cURL.
This code was working just a couple of days ago, now everytime i tried to update it i get a 503 page. “Service Temporarely Unavailable”…

<?php // Get Random Image - Curl Security rather than @openfile() $curl_handle = curl_init(); // Where should we get the data? curl_setopt ($curl_handle, CURLOPT_URL, "http://example.com/gallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_maxSize=150&g2_show=views"); // Setup the Curl Options. curl_setopt ($curl_handle, CURLOPT_RETURNTRANSFER, 1); curl_setopt ($curl_handle, CURLOPT_CONNECTTIMEOUT, 1); // Make the call. $buffer = curl_exec($curl_handle); // Close Curl curl_close($curl_handle); print $buffer ?> I also read this post: http://forum.dreamhosters.com/troubleshooting/46146-503-on-cURL.htm
Nothing is working. Thanks.