Thread: cURL
View Single Post
Old 10-25-2007, 07:30 PM   #11 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Quote:
i tried it and it just constantly fails
what exactly do you mean, does it produce an error? also ive just noticed somthing a bit 'iffy' in your for loop (didnt actually check it through when i looked last, i just replaced file_get_content() with cURL)
PHP Code:
 for( $i 1$c <= $this->conf['tries']; $c++ ) 
should that not read:
PHP Code:
 for( $i 1$i <= $this->conf['tries']; $i++ ) 
dunno if that was your problem, i dunno what the rest of your script looks like so i might be off the mark so to speak.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote