Reply to Re: Uploading to variable folder

Re: Uploading to variable folder new!
by colin, 16 years, 12 months ago
When you call process(), you set the name of the destination directory. The class will also create the directory for you if it can.

So for instance, you can do:
$name = $_SESSION['name'];
$handle->process('/home/' . $name . '/pics/')
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