This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
projects:speedtest [2022/08/02 22:06] admin |
projects:speedtest [2022/08/02 22:06] admin |
||
---|---|---|---|
Line 99: | Line 99: | ||
===== Upload and Download ===== | ===== Upload and Download ===== | ||
This final version tries to download a 10Mb from my server, then tries to upload a 4Mb file to the ''acceptfile.php'' file (written above) hosted on my web server. Then it waits a minute and tries it again in a loop. | This final version tries to download a 10Mb from my server, then tries to upload a 4Mb file to the ''acceptfile.php'' file (written above) hosted on my web server. Then it waits a minute and tries it again in a loop. | ||
- | <code speedtest.php> | + | <code php speedtest.php> |
<?php | <?php | ||
$download_url = "https://www.yourdomain.co.uk/10mb-test-file"; | $download_url = "https://www.yourdomain.co.uk/10mb-test-file"; |