07-01-2009, 06:14 PM
|
#2 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
strpos will only act on strings, so your code is effectively looking for the username in the string user_list.txt and not in the contents of the file! You'll need to get the contents of the file (perhaps with the file_get_contents function) and then look for the username in those contents.
|
|
|
|