On Thu, 2007-06-21 at 15:04 -0400, Daniel Brown wrote: > On 6/21/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote: > > On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote: > > > On 6/21/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote: > > > > Someone else is doing it too... ;) > > > <snip!> > > > > curl_setopt( $ch, CURLOPT_HEADER, 0 ); > > > > curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 ); > > > > curl_setopt( $ch, CURLOPT_SSL_VERIFYPEER, false ); > > > > curl_setopt( $ch, CURLOPT_TIMEOUT, 45 ); > > > </snip!> > > > > > > Robert, > > > > > > That's just not cool.... > > > > Bah, Tij knows it was for fun :) > > > No, I didn't mean that. I meant that you could've saved time and > run multiple instances like I did: > > <?php > > > while(1) { > $data = array('submit' => "Cool idea!"); > > $ch = curl_init(); > curl_setopt($ch, CURLOPT_URL, 'http://gpcc.tijnema.info/?'); > curl_setopt($ch, CURLOPT_POST, 1); > curl_setopt($ch, CURLOPT_POSTFIELDS, $data); > curl_exec($ch); > } > > ?> *lol* I didnt' want to kill his server :) Cheers, Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php