User altered URL bar
Posted: Thu Apr 21, 2005 5:39 pm
Is there a way in PHP to sense if the user typed something into the URL bar instead of clicking a link? A friend of mine who uses ASP gave me this code that he uses, but I know nothing about ASP.
Code: Select all
If Left(Request.ServerVariables("e;HTTP_REFERER"e;), Len(GameRootURL)) <> GameRootURL And Left(Request.ServerVariables("e;HTTP_REFERER"e;), Len(GameRootURL2)) <> GameRootURL2 Then