START
STEP 1 : opening a file called creds_log.txt
STEP 2: we use each variable and value submitted by users via POST requests made on our web page’s form input fields
STEP 3: Creates an open handle for a text file called creds_log.txt
STEP 4: The function takes two parameters first
It takes in a string and second, it takes to write out text
STEP 5: Exit