View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

File not uploading....

Thread began 9/01/2009 10:25 am by Rich Petersen | Last modified 9/01/2009 5:21 pm by Rich Petersen | 1667 views | 7 replies

Rich Petersen

File not uploading....

Hello!

New to DFP..... I cannot get the image to upload to server.....no errors reported.

Here is code to page.....hopefully someone can spot where I screwed up....

<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?>
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "uploads/images/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "2",
'ResizeWidth' => "250",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["btnfrmRegister"])){
WA_DFP_UploadFiles("WA_UploadResult1", "busimage", "2", "[NewFileName]_[Increment]", "false", $WA_UploadResult1_Params);
}
?>
<?php require_once('Connections/parentpreneursdb.php');

//let's start the session
session_start();

//now, let's register our session variables
session_register('busna*me');
session_register('busaddr');
session_register('buscity');
session_register('busstate');
session_register('buszipcode');
session_register('busphone');
session_register('busemail');
session_register('buswebsite');
session_register('busindustry');
session_register('busotherindustry');
session_register('busnewspapers');
session_register('busdesc');
session_register('buskeywords');
session_register('busmeaning');

//finally, let's store our posted values in the session variables
$_SESSION['busname'] = $_POST['busname'];
$_SESSION['busaddr'] = $_POST['busaddr'];
$_SESSION['buscity'] = $_POST['buscity'];
$_SESSION['busstate'] = $_POST['busstate'];
$_SESSION['busphone'] = $_POST['busphone'];
$_SESSION['busemail'] = $_POST['busemail'];
$_SESSION['buswebsite'] = $_POST['buswebsite'];
$_SESSION['busotherindustry'] = $_POST['busotherindustry'];
$_SESSION['busnewspapers'] = $_POST['busnewspapers'];
$_SESSION['busdesc'] = $_POST['busdesc'];
$_SESSION['buskeywords'] = $_POST['buskeywords'];
$_SESSION['busmeaning'] = $_POST['busmeaning'];
$_SESSION['buszipcode'] = $_POST['buszipcode'];




Thanks!!!

Rich

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

Content

rating

Layout

rating

Ease of use

rating

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...