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?
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: