Haha, no im not trying to access files outside my account
it is actually for changing files on my server when I do not have access to an ftp client. I have found that online ftp clients are not easy to use at all, compared with eXtplorer.
I wasnt entirely sure how the protection worked, but thanks for clearing that up. I ended up going through a couple of the main files replacing
and similar with
in addition to using the changed code you provided
and it now works and doesn't spam me with errors
I also didn't know you could manage databases with it thats awesome