Hi ich versuche einen txt sortierer zu coden aber komme nicht weiter vlt kann jemand weiterhelfen..
PHP-Code:
<html>
<body>
<?php
$datei = "C:\Users\Security\Desktop\dump.txt";
$array = file($datei);
foreach ($array as &$a) {
$bla = explode(" ",$a);
echo $bla[45].":".$bla[61];
}
?>
</body>
</html>
45 => email
61 => md5 hash
was ich will ?
die ganze txt in
email:hash
email:hash
email:hash
email:hash
email:hash
wie sieht dump.txt aus ?
PHP-Code:
1 NULL NULL 0 NULL 0 m Oliver Rieckmann 1974-05-10 00:00:00 xxx@web.de 1 01636859600 NULL 8453417a5ba88c875357e20e9183bea4 1 0 0 0 0 NULL NULL NULL 0 0000-00-00 00:00:00 2009-04-16 08:59:09 Delete Edit
3 NULL NULL 0 NULL 2 m Gunther Philler 1948-09-27 00:00:00 xxxx@gmx.net 3 03641444294 NULL 333e3d046d6e3ae64711f951593596d7 0 0 0 1 0 NULL NULL NULL 0 2007-12-04 12:13:17 2007-12-04 12:13:17 Delete Edit
4 NULL NULL 0 NULL 2 m J?rg P?tschke 1969-02-20 00:00:00 xxxxx@aol.com 4 05202998531 05219204609 f57a11af8b1cb2c1d6f01159fe9c2049 0 0 0 1 0 NULL NULL NULL 0 2007-12-24 11:19:20 2007-12-24 11:19:20 Delete Edit
5 NULL NULL 0 NULL 2 f Hildegard Guder 1935-12-05 00:00:00 xxxxxx@t-online.de 6 05346946515 NULL f5bb1024c1531d31c8c027e9e6ccc342 0 0 0 1 0 NULL NULL NULL 0 2007-12-27 12:48:52 2007-12-27 12:48:52 Delete Edit