Reply to Re: Upload to different directories

Re: Upload to different directories new!
by colin, 15 years ago
You should use a hidden field for upload_dir. But really, it is a very unsecure way to do. You'd better have a list of possible directories in your form, in a select list for instance, and then in your PHP code translate the user's choice into a real directory.

In any case, this is a PHP issue, and doesn't really belong here.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important