I've written a script which takes the summary of an order and stores in into an XML file, except the problem is that I don't want people to be able to open the XML file in their browser, obviously.
I'm hosted on a very dodgy shared server with limited abilities: no SSH, for starters.
Is there a place I can put this file so that PHP will still be able to read/write to it, but web browsers won't be able to get to it?
Ordinarily, I'd create a folder outside the document root and put it there, but I get a "Permission denied" message when I try that.
The folders which are there are:
- anon_ftp
- bin
- cert
- cgi-bin
- conf
- error_docs
- etc
- httpdocs
- httpsdocs
- pd
- private
- statistics
- subdomains
- web_users
PHP can't access the file when it's in the private
folder. Would this be possible using .htaccess?