A few possible improvements, on your form: 1. Add email validation on the email input. (Return an error message if it is'nt valid, you could possibly use regular expressions) 2. Check if the domain of the 'File Link' exists before creating the unique url. (Return an error message if it doesn't exist, you can possibly use php's parse_url() then -> checkdnsrr() function for this) 3. The visitor shouldn't have to input the file size, - it can sometimes be wrong (you could possibly use php's filesize() function, on the 'File Link' location, which is more reliable) 4. Validate the 'File Link' format (Return an error message if it is'nt valid, you could possibly use regular expressions) 5. Use php's strip_tags() function on all your input fields, I was able to make the 'File Name' as html. Suggestion: 1. You can use .htaccess to make your url/s smaller and possibly even seo friendly; like http://t6wer-serv.net/pl/index.php?77451487 would turn into -> http://t6wer-serv.net/out/77451487 (example url format)