/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php require_once 'domain.class.php'; $domainer = new Randomainer(); $tlds = $domainer->getTlds(); // butun domain uzantilarini alalim... ?> <html> <head> <title>Generate Domain Name</title> </head> <body> <h1> Randomainer </h1> <form action="save.php" method="post"> <h4>Hangi domain uzantilari kontrol etmek istiyorsun?</h4> <? foreach($tlds as $value): ?> <input type="checkbox" name="tlds[]" value="<?=$value;?>" id="tlds"><?=$value;?> <? endforeach; ?> <br><br> <input type="checkbox" name="save" value="1"> Sonuclari kayit etsin mi? <p><input type="submit" value="Generate →"></p> </form> </body> </html>