close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Upload problem

Thread began 8/10/2011 3:53 am by timothy.farrell429144 | Last modified 8/10/2011 8:16 pm by Jason Byrnes | 971 views | 3 replies |


Upload problem

Tryinng to make a basic upload page. Have followed the getting started guide but no luck. any help is appreciated. the file is below and it's online at:


Many thanks.

<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?>
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "dpx/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
WA_DFP_UploadFiles("WA_UploadResult1", "upload", "0", "", "false", $WA_UploadResult1_Params);
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<script src="WA_DigitalFilePro/jquery-blockui-formprocessing.js" type="text/javascript"></script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>


<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="">
<label>upload file
<input type="file" name="upload" id="upload" />
<div id="form2_ProgressWrapper">
<form id="form2" name="form2" method="post" action="">
<input type="submit" name="submit" id="submit" value="Submit" />

<div id="form2_ProgressMessageWrapper" class="blockUIOverlay" style="display:none;">
<script type="text/javascript">
WADFP_SetProgressToForm('form2', 'form2_ProgressMessageWrapper', WADFP_Theme_Options['BigSpin:Slate']);
<div id="form2_ProgressMessage" >

<p style="margin:10px; padding:5px;" ><img src="WA_DigitalFilePro/images/slate-largespin.gif" alt="" title="" style="vertical-align:middle;" />&nbsp;&nbsp;Please wait</p>



Sign in to reply to this post

Jason ByrnesWebAssist

you have 2 separate forms, one for the file field and one for the submit button.

the file field and submit button should be in the same form:

<form id="form1" name="form1" enctype="multipart/form-data" method="post" action="">
<label>upload file
<input type="file" name="upload" id="upload" />
<input type="submit" name="submit" id="submit" value="Submit" />

Sign in to reply to this post


Thanks Jason. Small files worked but a 9MB file didn;t seem to work. Here is my php.ini.
I added the upload_max_filesize = 20M and changed max_input_time = 60 to 600 but no luck.
Big thanks again

register_globals = off
allow_url_fopen = off

expose_php = Off
upload_max_filesize = 20M
max_input_time = 600
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="

; Only uncomment zend optimizer lines if your application requires Zend Optimizer support


; -- Be very careful to not to disable a function which might be needed!
; -- Uncomment the following lines to increase the security of your PHP site.

;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru,
; phpinfo, exec, system, dl, fsockopen, set_time_limit,
; popen, proc_open, proc_nice,shell_exec,show_source,symlink"

Sign in to reply to this post

Jason ByrnesWebAssist

there are other php directives that effect large file uploads, like post max size.

see the following page for a full list of php directives that effect upload file size:

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...