Hello, I install the tool and it works very well.
Now i must upload the Dokuments into a dynamic path. For this Path I use two Parameters and write it into a Variable. But i dont know, where I can put this Variable.
My code:
//******Get variable for the Path <?php $jahr = "-1"; if (isset($_GET['jahr'])) { $jahr = $_GET['jahr']; } $nr = "-1"; if (isset($_GET['nr'])) { $nr = $_GET['nr']; } $myUploadFolder = "../DOKS/$jahr/$nr/"; ?> //*****End Path-variable
<?php //**************************** // http://www.DwZone-it.com // MultipleFileUpload // Version 1.0.15 //**************************** set_time_limit(5400); $dwzUpload_1 = new dwzMultiUpload(); $dwzUpload_1->SetInstance("1"); $dwzUpload_1->SetExtraInfo("Vista|_|5400|_|block|_|500,150|_|false|_|"); $dwzUpload_1->SetRedirectUrl(""); $dwzUpload_1->SetPath($myUploadFolder); //*******My Path-Variable $dwzUpload_1->SetTempPath("../DOKS/temp|_|1");
But it does not work.
How can I fix the Problem? |
|
|