[pmwiki-users] Work files (was: data from wiki page rather than file)
Patrick R. Michaud
pmichaud at pobox.com
Thu May 5 12:12:50 CDT 2005
On Thu, May 05, 2005 at 06:38:17PM +0200, Joachim Durchholz wrote:
> On a tangent:
>
> I need to give out IDs that are handles for internal (user-invisible)
> data. The ID->data mappings must be stored in a file; the question is
> where to store the file?
>
> Currently I'm using $WorkDir/.foo (where foo.php is the recipe PHP). Is
> that a good choice, or are there better ones?
$WorkDir/.foo/ should be fine, except that it'll make it difficult
for people to see the .foo/ directory from FTP and other places.
I'm guessing that when you say "The ID-data mappings must be stored
in a file" that precludes using PHP sessions to hold the handles/data?
Pm
More information about the pmwiki-users
mailing list