snippet to check username / password against a text file
compares fields seperated by a pipe "|" to strings sent via POST variables

copy the code of string handling / string compare

click here to select all the code