cancel
Showing results for 
Search instead for 
Did you mean: 

[PAYH] Where to store file based, web alterable data

gilbertG
Dabbler
Posts: 23
Registered: 16-01-2009

[PAYH] Where to store file based, web alterable data

I have a site that uses files to store the data and php to serve it up.
The files act like a database (yes i know I could use a database but I don't and it's a lot of work to change that now) what I want is a place to store these files so that they are readable and writable by the php runnig in the webserver but not directly accessable via the webserver.
Currently on my dev site they are in a dir under the equivalent of httpdocs but protected using .htaccess so direct access is not allowed.
This doesn't work on the PAYH platform due to SAFE MODE disallowing the php any kind of useful write access and I can't see a way around it.
I considered putting the data in the root dir, so they would not be under httpdocs but I can't create a dir there and I am not sure whether SAFE MODE would kick in there too anyway.
So how do I go about setting this up under the PAYH platform or is it impossible?