Solution using session variables
Hi Alex
I'm using the following solution for PHP:
1. Configure your upload folder settings in the HTMLEditor user interface like this:
/images/business/'.$_SESSION["your_session_variable_name"].'/
You could even append several variables for more sophisticated security settings:
/images/business/'.$_SESSION["your_session_variable_name"].'/'.$_SESSION["your_second_session_variable_name"].'/
Just make sure you are using the above syntax.
2. Add this line:<?php session_start(); ?> on top of the following pages:
i: --> Your HTMLEditor form page
ii: --> /HTMLEditor/editor/filemanager/connectors/php/config.php
iii: --> /HTMLEditor/editor/plugins/kfm/configurtion.php
Make sure, you backup these files for your own safety, before you make any changes...
The settings get stored in the HTMLEditor GUI, so I can use them for all my forms.
Of course the user must be logged in properly.
HTH
Willi