I have tried that, but I am trying to incorporate it as part of a form..I don't know how I would insert that to the form header, the way that I attempted first just reloaded my login page (same page) but minus the form???
I had:
<form action="<?=$HTTP_SERVER_VARS['HTTP_REFERER']?>" method="POST">
any ideas...I have a header() to redirect me to the login page, but after logging in I need to bounce them back to where they were trying to go.
Any ideas?