On 6/21/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 6/21/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2007-06-21 at 14:50 -0400, Daniel Brown wrote:
> > On 6/21/07, Robert Cummings <[EMAIL PROTECTED]> 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 :)
>
> 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. |
> `------------------------------------------------------------'
>
>
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);
}
?>
php vote.php >> /dev/null &
php vote.php >> /dev/null &
php vote.php >> /dev/null &
php vote.php >> /dev/null &
php vote.php >> /dev/null &
....
Over 250316 now.... guess I should cut it.
--
Daniel P. Brown
It says 18 for me now ... :P
Fixed the script so it's working fine now :)
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php