I am trying to create a way to store data in an ini file. mysql would be easier but tis a client request.
i can create the file, write to it, read from it, but i can't work out how to edit it.
anyway my problem is that I always get this error.
Warning: parse_ini_file(): SAFE MODE Restriction in effect. The script whose uid is 925 is not allowed to access mydata.txt owned by uid 48 in /home/virtual/site414/fst/var/www/html/work/charles/admin/textdata.php on line 17
what i want to know is there a way that i can alter any environment variables so that parse_ini_file will work. this will allow me to do what i want, which is to get the data into a 2 dimensional array.
the owner of the file is apache.
how can I get my script the permissions needed to parse that file?
I am sure there are ways i can process a string of the data to get what i need into variables, but since parse_ini_file exists and is what i need i would prefer to use it.
any help would be appreciated.
cheers