I am having a hard time getting $HTTP_REFERER to work. Does anyone have an alternative way of referring back to the previous page?
Here is how I call my header.
header("Location: $HTTP_REFERER");
I get an error message that says the header cant be sent and that it was already sent by my error function. When I remove the error function from the script the script just hangs.
Is there another way to refer back to the referring page?
Greg