hi,
the log on process compiles of 3 files: dataprocess.php, secure.php, user.log - the form integrated in with index.php
when secure.php loads it opens the log file to see if a valid user name is found. it also erases the log and display the content. The reason the code wipes the log clear is so no one (including the original visitor) can access the page again without re-logging on.
If someones goes directly to secure.php without signing in the code will read an empty log and display an error to the visitor. It is not this error in the script I am trying to get rid off, but the one above it (shown in attachment)
Thanks for looking!
[attachment deleted by admin]