Menu
Hi when I display a page with a broken photo, the $_SERVER[‘REQUEST_URI’] becomes that photo url for some reason.
So if I’m on mysite.com/article.html
function page_echo($html)
{
//somewhere in $html is <img src=’mysite.com/photothatdoesntexist.jpg’ />
echo $html
//This is the only place that I ever call REQUEST_URI or ever set last_url.
$_SESSION[‘last_url’] = $
}
And somehow on the next pageload $_SESSION[‘last_url’] becomes “/photothatdoesntexist.jpg” instead of “/article.html”
Anyone know how that is possible?