Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // validasi form
- $msg = "";
- $eurl = "";
- // Cek form sudah di klik submit/belum
- if(isset($_POST['submit'])){
- $url = htmlspecialchars($_POST['url']);
- $message = htmlspecialchars($_POST['message']);
- $count = htmlspecialchars($_POST['count']);
- //cek site secreto atau bukan
- $cek = strpos($url, "https://secreto.site/");
- if ($cek !== false) {
- echo "ada";
- } else {
- $eurl = '<p class="font-italic text-danger">* url ERROR</p>';
- }
- }
- ?>
Add Comment
Please, Sign In to add comment