Forum Moderators: coopster
$ref=@$HTTP_REFERER;
$truepageref = substr($ref, -10);
to build a link back to the original page, BUT when I go to the next page of results, the back link (I want it to go to the original page) goes back to the page it just came from IE the first results set. Originally I was using javascript history -1 but now too many results on one page so I have split them then this problem showed its head.
The original page is created in cgi using a template, I can get it to write most things there to use in php BUT cant get the page name from it.
How do I keep $truepageref as a permanent change to $ref for the next pages?