require_once ("/00_PHP/src/f/i/file2array.inc"); function wwwgroups2AssocArray ($groupfile) { $y = array(); $arr = file2array ($groupfile); foreach ($arr as $entry) { $lineParse = split (":", $entry); $groupName = $lineParse[0]; $members = split (" ", $lineParse[1]); if (!isset ($y[$groupName])) $y[$groupName] = array(); $y[$groupName] = array_merge ($y[$groupName], $members); } // print_r ($y); return ($y); } function stdgroups2AssocArray ($groupfile) { print ("*** Not implemented"); exit (1); } function groups2AssocArray ($groupfile, $passwdfile) { if ($passwdfile == "www") { $y = wwwgroups2AssocArray ($groupfile); } else { $y = stdgroups2AssocArray ($groupfile, $passwdfile); } return ($y); } ?>
University of Cologne
Faculty of Mathematics and Natural Sciences
Department of Mathematics and Computer Science, Division of Mathematics
Home
|
Sitemap
|
Disclaimer
|
Contact
|
A-Z
|
Deutsch
|
Location Map
All
Prospective Students
Students
Scientists
Alumni
Employees
... /
Employees
/
People
/
Faculty and Staff
/
Staff listed alphabetically
/
Staff
Jascha Knepper, Dr.
email:
++49 (0)221 470 7860
++49 (0)221 470 7871
Adresse
Universität zu Köln
Mathematisches Institut
Weyertal 86-90
50931 Köln
Office 010
Calendar
Studies
Research
People
Gender
Service
© Mathematisches Institut der Universität zu Köln