Page 1 of 1

header question

Posted: Tue Nov 01, 2005 7:44 am
by $var
is there a Header attribute that will take you to the previous page?
usually i user,

header("Location: http://www.blah_blah_blah");

is there anything that i could do to make a page refresh to the page it came from?

Posted: Tue Nov 01, 2005 7:47 am
by Jenk
You could use the http referer, but that is not reliable.

Posted: Tue Nov 01, 2005 7:56 am
by $var
sometimes it doesn't go back?

Posted: Tue Nov 01, 2005 8:30 am
by feyd
sometimes it doesn't exist....