Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Capture post information from login.

    Scheduled Pinned Locked Moved Captive Portal
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wired-circuit
      last edited by

      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); ?>
      
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.