-
Notifications
You must be signed in to change notification settings - Fork 1
port8000/sleep.php
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
sleep.php
introduce an artificial delay for resources
Works by issuing an HTTP redirect to the GET parameter 'u'
after an amount of time (GET param 's' or random #).
Copyright (c) 2012 Port 8000 GmbH
This code can be used under the terms of the GPL and MIT licenses.
Usage:
Copy sleep.php to the docroot (or any other place accessible for
your server).
Then put this in your HTML file:
<img src="sleep.php?u=cat.jpg&s=10" alt="" />
and the nice cat image will be loaded after 10 seconds.
About
introduce an artificial delay for resources
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published