Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>IBAN CHECK</title>
- </head>
- <body>
- <h2>ВАЛИДАЦИЯ НА IBAN - БЪЛГАРИЯ</h2>
- <form action="#" method="post">
- IBAN: <input type="text" name="iban">
- <input type="submit" name="validate" value="ПРОВЕРИ">
- </form>
- <?php
- include("ibanchecker.php");
- if (isset($_POST["validate"])){
- if(checkIBAN($_POST["iban"])){
- echo "<p style='color: green;'>". $_POST["iban"] . " е валиден IBAN<p>";
- } else {
- echo "<p style='color: red;'>". $_POST["iban"] ." е невалиден IBAN<p>";
- }
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement