limiting

How to limit speed of outgoing response from php script?

How to limit speed of outgoing response from php script? So I have a script generating data in keep-alive connection. It just opens file and reads it. How to limit outgoing speed (By now i have such code) if(isset($_GET[FILE])) { $fileName = $_GET[FILE]; $file = $fileName; if (!file_exists($file)) { print('<b>ERROR:</b> p...

Very complex Group By / Unique / Limit by SQL-command

Hi there, I actually don't even know how to call this :P, but... I have one table, let's call it "uploads" id owner date ----------------------------- 0 foo 20100101120000 1 bar 20100101120300 2 foo 20100101120400 3 bar 20100101120600 .. .. .. 6 foo 20100101120800 Now, when ...