Rejigged the files
Added basic PHP access security