Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <center>
- <form action="" method="post">
- <textarea name="silit" style="margin: 0px; height: 232px; width: 476px"></textarea>
- <br><input type="submit" name="mencret" value="Kirim Url"><input type="submit" name="mencrets" value="Remove Clones">
- </form><br>
- <?php
- error_reporting(0);
- if(isset($_POST['mencret'])) {
- echo "<textarea style='margin: 0px; height: 232px; width: 476px;'>";
- $re = "/:\\/\\/(.*?)\\//";
- preg_match_all($re, $_POST['silit'], $cuk);
- foreach ($cuk[1] as $key => $value) {
- echo "http://".$value."\r\n";
- }
- }
- if(isset($_POST['mencrets'])) {
- echo "<textarea style='margin: 0px; height: 232px; width: 476px;'>";
- $fgt = explode("\r\n", $_POST['silit']);
- $fgt = array_unique($fgt);
- foreach ($fgt as $key => $value) {
- echo $value."\r\n";
- }
- }
- echo"</textarea>";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement