Re: Traffic throttling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/7/21 Michelle Konzack <linux4michelle@xxxxxxxxxxxxxxx>:
> since I have not the file store in my webspace  for  security  reason,  I
> use a php5 script to push it out.  It even support "resumeing".
>
> some times ago, there was someone who told me to send out the  files  in
> chunks of, e.g. 1 kByte, which let me know to count the REAL  traffic  a
> client produce...
>
> OK, now the script works perfectly and I am able to  delay  the  sending
> between two chunks, but what I need is a milisecond timer, because 1s is
> definitively to long.
>
> Is there something in php5 I can use?

http://php.net/usleep

-Stuart

-- 
http://stut.net/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux