Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (10 sloc) 0.459 kb
0b3c3ba @DaveChild Initial Import
authored
1 <?php
2
3 // Visit http://www.example.com/modem-emulator-usage-example.php?speed=56000&url=http%3A%2F%2Fwww.google.com to see Google at 56k
4
5 // Try uncommenting following line if getting "failed to open stream" errors
6 //ini_set('allow_url_fopen', true);
7
8 require_once('modem-emulator.php');
9
10 $file = $_REQUEST['url'];
11 $speed = $_REQUEST['speed'];
12 $emulator = new ModemEmulator($file, $speed);
13 $emulator->run();
14
15 ?>
Something went wrong with that request. Please try again.