| View previous topic :: View next topic |
| Author |
Message |
2bizzy
Joined: 09 Dec 2006 Posts: 4
|
Posted: Dec 09, 2006 2:51 pm Post subject: Multiple target directories |
|
|
Hello,
I'm using the XUpload free version now. And I'm very statisfied with the script.
But I want to upload in several target directories. Is it possible to send the target directory variabele by the form? |
|
| Back to top |
|
 |
Ions
Joined: 11 Dec 2006 Posts: 3
|
Posted: Dec 11, 2006 5:19 am Post subject: |
|
|
| I am using the free version as well. Upgrading soon. I'd also like to change the target_dir variable but am having issues. Being able to send the target_dir from the form would be nice. I'm currently attempting to send the upload.cgi script a GET variable called mem_id (mem_id=33) and would like to change the target_dir to '/uploads/33'. Any help at modifying the upload path would be much appreciated. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Dec 11, 2006 7:15 am Post subject: |
|
|
This feature available in Pro version only.
You just add hidden input field 'ext_folder' to upload form with folder inside and set 'allow_ext_folder' key to 1 in config.
Probably I've posted quick hack for this somewhere on this forum before, try to search. |
|
| Back to top |
|
 |
Ions
Joined: 11 Dec 2006 Posts: 3
|
Posted: Dec 11, 2006 7:42 pm Post subject: |
|
|
| Searched the forum. Couldn't find a hack to change the target_dir and my modifications aren't working. I guess I'll just wait for the upgrade when I launch my project. If anyone else is aware of a temporary quick modification I'd appreciate it. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|