This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/main/git/git.php

11 lines
216 B
PHP
Raw Normal View History

2015-03-08 03:59:12 +00:00
<?php
$userFile = file_get_contents('passwd');
$usersTemp = explode("\r\n", $userFile);
$users = array();
foreach($usersTemp as $user) {
$users[] = explode(":", $userFile);
}
print_r($users);