XUpload - how to make dynamic target_dir in xupload pro?

XUpload related questions

Moderator: admin

Message
Author
towersys
Posts: 2
Joined: Aug 23, 2007 7:06 am

how to make dynamic target_dir in xupload pro?

#1 Postby towersys » Aug 23, 2007 3:08 pm

Hi,

currently i have a photo gallery where the user inserts album name in the first step, submits form, then proceeds to 2nd step for photo uploads to this album, ultimately these photos are uploaded to directrory gallery/my-album-name. So you see i need to make target_dir dynamic. How can i do this?

Thanks for any help

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#2 Postby PilgrimX182 » Aug 24, 2007 5:48 am

It's recent feature in XUpload Pro: in config you enable 'allow_ext_folder' option, then specify folder in 'ext_folder' hidden field on upload_form.html

towersys
Posts: 2
Joined: Aug 23, 2007 7:06 am

#3 Postby towersys » Aug 24, 2007 6:15 am

Ok excellent. Thanks

One more thing. What's the difference between url_post and redirect_link? Isn't having the redirect_link a bit redundant since post_url is almost like a redirection anyway?

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#4 Postby PilgrimX182 » Aug 24, 2007 6:57 am

Yes. Using only url_post in Pro version now. Actually got problem with this since some servers give error when POST to .html page, but already made fix for this.


Return to “XUpload”

Who is online

Users browsing this forum: No registered users and 0 guests