Jump to content

sclipici

Active Members
  • Posts

    160
  • Joined

  • Last visited

Posts posted by sclipici

  1. Salut.

    Am nevoie de un web developer (php/html/css/js/mysql) pentru niste proiecte destul de basic. Vreau pe cineva serios il mai pot invata eu cate ceva dar macar sa stie chestile basic. Bani se iau pe proiect.

    • Downvote 1

  2. <?php
    /*
    RST
    Visit www.rstforums.com
    Mail Sorter by sclipici
    Use: rst_sort('file_name.extension');

    */
    function rst_sort($n){
    $mails = file_get_contents($n);
    $mails = array_filter(explode("\n", $mails));
    foreach ($mails as $key => $value) {
    $e = explode("@", $value);

    $a[][$e[1]] = $e[0];
    }

    foreach ($a as $key => $value) {
    foreach ($value as $k => $v) {
    file_put_contents($k.'.txt', $v.'@'.$k. PHP_EOL, FILE_APPEND);

    }
    }
    echo 'Visit www.rstforums.com';
    }

×
×
  • Create New...