• Member Avatar
    knarfs

    Replied To a Post in determine file type

    You can try something like this... <? php . . . $i = 0; while($table[$i]) { if(preg_match('/@/', $table[$i]) { // do email process } else if (preg_match('/http:\/\//', $table[$i]) { // …

The End.