PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
$var
Forum Contributor
Posts: 317 Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto
Post
by $var » Tue Nov 01, 2005 7:44 am
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?
Jenk
DevNet Master
Posts: 3587 Joined: Mon Sep 19, 2005 6:24 am
Location: London
Post
by Jenk » Tue Nov 01, 2005 7:47 am
You could use the http referer, but that is not reliable.
$var
Forum Contributor
Posts: 317 Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto
Post
by $var » Tue Nov 01, 2005 7:56 am
sometimes it doesn't go back?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Tue Nov 01, 2005 8:30 am
sometimes it doesn't exist....