Posted By

GeekOfWeb on 01/03/11


Tagged


Versions (?)

Kod Savas round 1 - index


 / Published in: PHP
 

  1. <?php
  2. require_once 'domain.class.php';
  3. $domainer = new Randomainer();
  4. $tlds = $domainer->getTlds(); // butun domain uzantilarini alalim...
  5. ?>
  6.  
  7. <html>
  8. <head>
  9. <title>Generate Domain Name</title>
  10. </head>
  11. <body>
  12. <h1>
  13. Randomainer
  14. </h1>
  15.  
  16. <form action="save.php" method="post">
  17. <h4>Hangi domain uzantilari kontrol etmek istiyorsun?</h4>
  18. <?
  19. foreach($tlds as $value):
  20. ?>
  21. <input type="checkbox" name="tlds[]" value="<?=$value;?>" id="tlds"><?=$value;?>
  22. <?
  23. endforeach;
  24. ?>
  25. <br><br>
  26. <input type="checkbox" name="save" value="1"> Sonuclari kayit etsin mi?
  27. <p><input type="submit" value="Generate &rarr;"></p>
  28. </form>
  29. </body>
  30. </html>

Report this snippet  

You need to login to post a comment.