Currently, my scripts have no way of returning a user back to the page they navigated away from when say they type their user/pass to login. I've tried using
header("location:page.php");
but that just gives me the following error: Warning: Cannot add header information - headers already sent by (output started ...(my script name here)
it's doing it in my functions incude somewhere, so I can't get around that. Is there a way to fix this or is there a different method I could use to direct a user to their orignial page??