With a caveat

Works fine ONLY when the file being transferred is on the local server. fread(), when connected to a stream, only reads until a packet becomes available (it pays no attention to the value of SPEED) so, your delays won't work as intended.

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <img> <center> <table> <tr> <th> <td>
  • Lines and paragraphs break automatically.

More information about formatting options

Powered by Drupal - Design by artinet