PHP Security Issues

Associate
Joined
1 May 2006
Posts
810
Location
Bristol, UK
Following on from This Thread a mate of my mate has just been slagging me off because I've left a whacking great security hole in the includes!
Sure enough, he's right.

Homepage Oh Crap

As the site is database driven, I can't make a validation table within the code of index.php as links are added/updated/removed etc.
What I *think* I need is a bit of code that only opens pages from "/" as all the pages are in the same directory as index.php

Can anyone help?
 
Last edited:
You guys were right all along.

It was me uploading the file to the wrong place :o lmao.

At any rate any time someone tries to alter the URL now they end up right back at the blog page :D

Thanks for your help. I can always count on the good people of OcUK forums :D
 
Last edited:
Aside from being incredibly annoying, who is going to care about the recursion?

Navbars were invented for a reason. The links work. I'm happy :p
 
Back
Top Bottom