I've created a form that will be hosted in a secure area so the users will need to log into the site to complete the form. I need to pass the username of the person who completes the form to the database that is collecting the information. The login for the form is via LDAP and I have no access or control over that area.

I'm a complete PHP novice so please be gentle with your answers.

Thanks in advance,