title: Use PHP to detect which htaccess user signed in?
body: <p>I'm constructing an upload so people I know can send me files securely, and with ease. But I want to design it just so, that when one of my friends sign in with <em>their</em> sign-in (it's going to an <code>.htaccess</code> login), I can establish that in PHP and log their file into a database associated with their account.</p>
  
  <p>In short, I need PHP to be able to detect who is signed in so I can pass that data to a database.</p>
  
  <p>Is there any possible way of doing that?</p>