Once I run my authentication script, I thought that the variable $PHP_AUTH_USER was set. I need this variable to exist because I want to be able to use it in a query to insert it in a table column.
ie: user logs on with password, username is employee number. they are presented with a form to fill out ie: what did you do today, etc. when they click submit I need the query to automatically insert their number in an employee_num column in my table.
I don't want them to have to enter their number (saves on errors) and I fugured since the $PHP_AUTH_USER exists once they've signed in, I can just pass that. It won't let me?
Any workarounds?
Thanks,
Dave