Setting current upload_dir in process.php

All others add-ons (Secure FTP, SCP, Flickr, scripts ...).
Post Reply
Bounder
Posts: 1
Joined: Fri Nov 26, 2010 11:25 am

Setting current upload_dir in process.php

Post 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?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: Setting current upload_dir in process.php

Post 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">

Post Reply