Shrander Posted October 18, 2008 Share Posted October 18, 2008 Alright, to explain what I am doing, I am working on a voting rewards page for a game server. Currently, my main worry is security. If there is a way to do so, how would I check if the page has been included by some external site, and if it has been, have it take action such as clearing variables? Quote Link to comment Share on other sites More sharing options...
Acs Posted October 18, 2008 Share Posted October 18, 2008 Use the get_included_files function -> http://pt2.php.net/manual/en/function.get-included-files.php Quote Link to comment Share on other sites More sharing options...
philipolson Posted October 19, 2008 Share Posted October 19, 2008 Included by another site? If that's even possible then you have larger problems to worry about. Maybe I (or we) are misunderstanding the question? Quote Link to comment Share on other sites More sharing options...
Bendude14 Posted October 19, 2008 Share Posted October 19, 2008 look into .htaccess files for stopping people hotlinking your site if thats what there doing? Quote Link to comment Share on other sites More sharing options...
Shrander Posted October 19, 2008 Author Share Posted October 19, 2008 Acs, got a method worked out with that, thanks. Philipolson, I don't know PHP too well, I guess I am just too paranoid trying to prevent any issues I can think of arrises for people grabbing database information and using it. And Bendude14, it's a Windows server with no .htaccess files. Thanks for helping. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.