DwZone Forum DwZone Forum
Welcome to the DwZone-it Forum
 
  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  
    RegisterRegister -->   LoginLogin  
Multiple file upload  
DwZone Forum Index -> Multiple file upload

Moderators: AdministratorsModerators 
Hint: For improved responsiveness, use Internet Explorer 4 (or above) with Javascript enabled, choose 'Dynamic' from the View dropdown and hit 'Set Options' to save your changes.
New Topic Search for
 View     Per page     Messages Since 
Messages 81 to 90 of 195 (Total: 181) First |  Prev |  Next |  Last  
 Subject Author Date  
   Re: Error 302  
View this persons public profile  Gianluigi   10:07 1 Dec 2011  
   Re: Error 302  
View this persons public profile  EligioRosa   0:09 5 Dec 2011  
   Re: Error 302  
View this persons public profile  Gianluigi   5:23 6 Dec 2011  
   Re: Error 302  
View this persons public profile  Gianluigi   5:23 6 Dec 2011  
   Re: Error 302  
View this persons public profile  Gianluigi   5:39 8 Dec 2011  
   Re: Error 302  
View this persons public profile  EligioRosa   15:51 8 Dec 2011  
   Re: Error 302  
View this persons public profile  Gianluigi   12:13 9 Dec 2011  
    Upload Failing  
View this persons public profile  Paul   20:26 21 Jul 2011  
 
Sorry for all the uploads. The forum was giving me error messages that indicated my post had failed.

I have tried uploading files without success both on my local and web servers. I have used relative paths for testing. Both the upload folder and the temp folder exist. Hopefully someone can help me figure out what I've done wrong. Ultimately, I need to have the extension create the necessary image folder dynamically.

Here's the code from my page. Nothing on it except the extension.



<?php
//**********************
// Multiple File Upload
//**********************
if("Void" != "Void"){
require_once("Connections/Void.php");
}
require_once("dwzMultipleUpload/dwzMultiUpload.php");
?>
<?php
//****************************
// http://www.DwZone-it.com
// MultipleFileUpload
// Version 1.0.2
//****************************
set_time_limit(5400);
$dwzUpload_1 = new dwzMultiUpload();
$dwzUpload_1->SetInstance("1");
$dwzUpload_1->SetExtraInfo("Vista|_|5400|_|block|_|800,400|_|true|_|");
$dwzUpload_1->SetRedirectUrl("index.html");
$dwzUpload_1->SetPath("/images/event_2/|_|1");
$dwzUpload_1->SetTempPath("/upload_log/|_|1");
$dwzUpload_1->TestEnvironment();
$dwzUpload_1->Init();
$dwzUpload_1->SetRootPath("");
$dwzUpload_1->SetConnPar(@$hostname_Void, @$database_Void, @$username_Void, @$password_Void);
$dwzUpload_1->SetTexts("<b>Multiple upload files</b>|_|Upload|_|Start upload files|_|Remove all|_|Remove queued files|_|Stop|_|Stop upload process|_|Total progress|_|Total file size|_|Uploaded size|_|Time elapsed|_|Time remaining|_|Total speed|_|Current speed");
$dwzUpload_1->SetMessages("The file cannot be removed|_|Upload in progress|_|Upload complete|_|Remove file from queue|_|SwfUpload not defined|_|No files selected|_|Upload complete with error|_|Total file size exceed limit");
$dwzUpload_1->SetButtonParameters("/dwzMultipleUpload/Graphics/Vista/BrowseButton.png|_|110|_|20|_|Browse...|_|font-family:Arial, Helvetica, sans-serif;font-size:12px;font-weight:bold;|_|font-family:Arial, Helvetica, sans-serif;font-size:12px;font-weight:bold;color:#cccccc;|_|20|_|3");
$dwzUpload_1->SetOverwriteMode("0");
$dwzUpload_1->SetAllowedExtensions("*.jpg|_|*.jpeg");
$dwzUpload_1->SetAllowedExtensionsDescription("Jpg Images|_|Jpeg Images");
$dwzUpload_1->SetSizes("0,0,0");
$dwzUpload_1->SetInsertParameters("0|_||_||_||_|0|_||_||_||_||_||_||_||_|");
$dwzUpload_1->SetResizeParameters("0|_|0|_||_||_|80|_|1|_|0|_||_||_|80|_|1|_|_m|_|2|_|0|_||_||_|80|_|1|_|_s|_|2");
if($dwzUpload_1->IsPostBack()){
$dwzUpload_1->Save();
}
//****************************
// MultipleFileUpload
//****************************
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php
//****************************
// MultipleFileUpload
//****************************
$dwzUpload_1->JsIncludes();
//****************************
// MultipleFileUpload
//****************************
?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<?php
//****************************
// MultipleFileUpload
//****************************
$dwzUpload_1->JsConstructor();
//****************************
// MultipleFileUpload
//****************************
?>
</head>

<body>
<?php
//****************************
// MultipleFileUpload
//****************************
$dwzUpload_1->DomConstructor();
//****************************
// MultipleFileUpload
//****************************
?>
</body>
</html>


 
Reply to this current thread  View this persons public profile  Send Private Message
   Re: Upload Failing  
View this persons public profile  Gianluigi   4:12 22 Jul 2011  
   Re: Upload Failing  
View this persons public profile  Paul   8:24 22 Jul 2011  
Last Visit: Thursday 9 Jan, 2025 10:28 pm First |  Prev |  Next |  Last  
 Login
Username:  Password:    
Read Message Read Message   Unread message Unread message
Read message [popular] Read message [popular]   Unread message [popular] Unread message [popular]
Read message [locked] Read message [locked]   Unread message [locked] Unread message [locked]
All times are GMT-1

Jump to: