Page is a not externally linkable
- Hardware and OS Related Technologies
-- Linux, Unix, and *nix like Operating Systems
---- File being writen to the wrong directory.


steven420 - 7:52 pm on Feb 5, 2008 (gmt 0)


Hi, I've been having problems writing to a text file on my server. I am using php to write the file. I have created a directory above my document root and I want to store a cache file in there. The problem I am having is that the file is still being writen to the document root even though I have defined the absolute path to where the file is supposed to go. I have no idea why this would happen. The php script can find the file but can't open it or read it. The permissions on the file are 775.

rehat linux.
apache 2.0.52
php 5.1.2


Thread source:: http://www.webmasterworld.com/linux/3567033.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com