STEP 3: Get the client IP addresss

For audit trail, module security, and control reasons, the variable called 'ip' is set to the remote client ip address.