not sure if I should be surprised or not surprised, but the better way to do this is probably with .htaccess and ReWrites.
that way, you just rewrite
site.com/X [where X is a digit]
to sitefiles/pages/x.html or whatever you want.
No PHP, no exploits, and no overhead.
|