I wish to create a php userlist using flat files and reading all usernames from username.txt however i do not know how to tell PHP to read from the text file this is what I have so far
$arry_txt = preg_split("/--NEXT--/", join('', file("userlist.txt")));
I also need to be able to have a PHP SCRIPT WHICH GOES TO THE END OF THE FILE AND ADDS NEW USERS OR ADDS THEM TO THE TOP OF THE FILE AND THEN ADDS THE PREG_SPLIT
THANX IN ADVANCE FOR THE HELP AND i HAVE USED THE PHP Manual.😃