rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: kaler on September 04, 2009, 07:16:05 PM

Title: get folder and user
Post by: kaler on September 04, 2009, 07:16:05 PM
is there anyway to get informations about user and folder...

i will explain...

i want to show an form wich creats a folder for the user who active the form, but i want that the form will be 'disabel'
like:
{.if|?????FOLDER?????|<form>......</form>| The folder exist already  .}

like that...

the second is:

can you set variables, that be there for ever (but you can change it(but no delet)
when yes, how can i make this?
Title: Re: get folder and user
Post by: rejetto on September 05, 2009, 03:25:39 PM
i want to show an form wich creats a folder for the user who active the form, but i want that the form will be 'disabel'
like:
{.if|?????FOLDER?????|<form>......</form>| The folder exist already  .}

if you need to know if the folder exists, then use {.exists|PATH.}

Quote
can you set variables, that be there for ever (but you can change it(but no delet)
when yes, how can i make this?

if you use variable name #X instead of just X, then variable will exists as long as HFS runs.
if you need to go beyond the restart, then you have to save #X on quit, and reload it on start (with events).
Title: Re: get folder and user
Post by: kaler on September 06, 2009, 07:46:29 AM
thank you very much