You wanted: $requested_url"; # You wanted: /fdfds/blah.html #exit(); #$requested_url = "$_SERVER[REQUEST_URI]"; if ( ( (isset($_REQUEST["orig"])) && (!empty($_REQUEST["orig"])) ) ) { #$HTTP_REFERER = $_SERVER["HTTP_REFERER"]; $orig = $_REQUEST["orig"]; #PRINT "
orig: '$orig'"; $orig_decode = urldecode($orig); #PRINT "
orig_decode: '$orig_decode'"; $HTTP_HOST = $_SERVER["HTTP_HOST"]; $page_requested = str_replace("http://$HTTP_HOST/", '', $orig_decode); #PRINT "
page_requested: $page_requested"; $new_url = "http://www.stentongallery.com/$page_requested"; #PRINT "
going to load '$new_url' in the frameset"; #exit(); PRINT " Stenton Gallery <BODY BGCOLOR=\"#FFFFFF\"> <P><I>This document requires a browser that can view frames.</I></P> <P>Click <A HREF=\"http://www.stentongallery.com\">here</A> for main Stenton Gallery page</P> </BODY> "; } else { PRINT " "; PRINT "\"{short"; PRINT "

Sorry, we were trying to be helpful and load the page you were interested in, with our normal web site"; PRINT " buttons/navigation on the left hand side, but we could not as your web browser didn't sent us something called the 'referer'"; PRINT "

The referer is the name/address of the page you just came from, which we need, in order to do this."; PRINT "

Perhaps some software on your computer called a personal firewall on your machine blocked it."; PRINT "
There are instructions for fixing this, for different software/personal firewalls here"; PRINT "

In the meantime, please see our home page at http://www.stentongallery.com"; PRINT " and hopefully, you can find what you are looking for from there."; PRINT "

Technical notes:"; if ( (isset($_SERVER["HTTP_USER_AGENT"])) && (!empty($_SERVER["HTTP_USER_AGENT"])) ) PRINT "
Your web browser is: $_SERVER[HTTP_USER_AGENT]"; if ( (!isset($_SERVER["HTTP_REFERER"])) || (empty($_SERVER["HTTP_REFERER"])) ) { PRINT "
The problem we encountered was: HTTP_REFERER was missing or empty"; } PRINT ""; } ?>