class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
form name="form2" enctype="multipart/form-data" method="post" action="upload.php?upload_dir="
$dir = $_GET['upload_dir'];
$handle->Process('./jGallery/albums/$dir');
I am retrieving this value in upload.php like this:
Then I want the image to be uploaded to the correct directory using the value of $dir. Something like this:
But this doesn't work.
Can anyone help me out on this ?
Kins regards,
Rene