High I was wondering if I could also use a htaccess file to affect the "owner" of files written by a php search script on my site.
Currently I have a search engine script set in the root folder. When a search is conducted it automatically writes folders and files relating to the variables entered for the search.
Then if exactly the same search is entered again at a subsequent time, the script automatically fpassthru()the relevant file.
The problem I have is that when the script writes the folders and files, the owner is always "www", which leaves me without the usual access for deleting, changing perms etc etc.
Is there something I can put in a htaccess file so that any script on my site that writes folder and files, always makes the owner "myself" rather than "www".




. .. OR use a script which runs as the web user to delete files ...
Bookmarks