Invalid captcha!
"; } } $content_len = strlen($content); if ($content_len > 1048576 || 15 > $content_len) { $valid_upload = false; echo "Content must be between 15 and 1048576 chars!
"; } if ($valid_upload) { if (!file_exists("p")) mkdir("p"); $file_name = NULL; do { $file_name = random_string(); } while (file_exists("p/" . $file_name)); file_put_contents("p/" . $file_name, $content); header("Location: index.php?p=" . $file_name); } ?>