Setting current upload_dir in process.php

All others add-ons (Secure FTP, SCP, Flickr, scripts ...).

Setting current upload_dir in process.php

Postby Bounder » Fri Nov 26, 2010 11:48 am


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?
Posts: 1
Joined: Fri Nov 26, 2010 11:25 am

Re: Setting current upload_dir in process.php

Postby support » Sun Nov 28, 2010 4:36 pm

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">
User avatar
Posts: 1501
Joined: Sun Jan 27, 2008 6:19 pm

Return to Others


Sitemap | Privacy Statement | Java and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
in the U.S. and other countries. All other company and/or product names are the property of their respective owners.