I need a PHP script that does the following.
1. Create a simple HTML page i.e. [url removed, login to view] with a single textarea on the page along with a Submit button.
2. When the user submits text a random HTML page is created. The URL should look like a URL created at Tiny URL for example localhost/[url removed, login to view]
4. Script should create an HTML page with the text entered into the textarea in step #1.
5. The script doesn't need a database but your code should make sure to check for the existence of any of the pages created in step #2.