Page 1 of 1

Setting current upload_dir in process.php

Posted: Fri Nov 26, 2010 11:48 am
by Bounder
Hi,

I'm using JFileUpload with process.php. Everything works fine. Now I'm trying to set the upload_dir dynamically to the directory relative to index.php or other PHPs with build in applet_http_php.js.

I don't know how to call the one process.php from different PHPs (each calling applet_http_php.js) and deliver the upload_dir as a variable. :?

Any ideas?

Re: Setting current upload_dir in process.php

Posted: Sun Nov 28, 2010 4:36 pm
by support
Why not using "account" extra parameter for remote relative folder? It is designed for that purpose:
<PARAM NAME="param5" VALUE="account">
<PARAM NAME="value5" VALUE="folder/subfolder">