Capture post information from login.



  • Hi all, simple thing… maybe... I want to capture an e-mail address on login to the captive portal.  The problem is when the form submits it does not pass the information to the redirect page when the collection is.  So there must be another page processing the form login data before it gets there. Anyone know what that file name is?

    Form for login:

    Success Page after login:

    
                echo $email;
           file_put_contents('/usr/local/captiveportal/captiveportal.txt', $email, FILE_APPEND); ?>
    
    

Log in to reply