rejetto forum

get folder and user

kaler · 3 · 3069

0 Members and 1 Guest are viewing this topic.

Offline kaler

  • Occasional poster
  • *
    • Posts: 94
    • View Profile
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?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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).