[PHP] pobierz, plaintext <?php$short = htmlentities($_POST['short'], ENT_COMPAT, 'UTF-8'); $short = trim($short); $short = addslashes($short); $short = strtolower($short); $short = strip_tags($short); $short = str_replace('ą', 'a', $short); $short = str_replace('ę', 'e', $short); $short = str_replace('ć', 's', $short); $short = str_replace('ż', 'z', $short); $short = str_replace('ź', 'z', $short); $short = str_replace('ś', 's', $short); $short = str_replace('ł', 'l', $short); $short = str_replace('ó', 'o', $short); $short = str_replace(' ', '-', $short);?>[PHP] pobierz, plaintext
[PHP] pobierz, plaintext <?php$short=$_POST['short']; $short = str_replace('ą', 'a', $short); $short = str_replace('ę', 'e', $short); $short = str_replace('ć', 's', $short); $short = str_replace('ż', 'z', $short); $short = str_replace('ź', 'z', $short); $short = str_replace('ś', 's', $short); $short = str_replace('ł', 'l', $short); $short = str_replace('ó', 'o', $short); $short = str_replace(' ', '-', $short); $short = htmlentities($short, ENT_COMPAT, 'UTF-8'); $short = trim($short); $short = addslashes($short); $short = strtolower($short); $short = strip_tags($short);?>[PHP] pobierz, plaintext