13-14 karakteres városnevek szkript


SUBMITTED BY: Guest

DATE: Dec. 18, 2013, 5:20 p.m.

FORMAT: PHP

SIZE: 260 Bytes

HITS: 836

  1. <?php
  2. $telepulesek = file("telepulesek.txt");
  3. foreach ($telepulesek as $telepules) {
  4. $telepules = str_replace("\n","",$telepules);
  5. if ((strlen($telepules) == 13) || (strlen($telepules) == 14))
  6. echo $telepules."\n";
  7. }
  8. ?>

comments powered by Disqus