Uploading not working?
Ok. I've read as many posts as I can and still can't make any headway.
I've got a for with a second action page. I've moved your code to that second page's header area assuming that it should run first and without any tests for Submit Buttons, etc.
See below.
How in the world do I query the resulting status object???
I've got error handing on now too.
I get no indication from the receiving page or any images in the uploads folder to help me know what is going on with this tool.
Thanks
Rich
<?php
error_reporting(E_ALL);
require_once("../../../webassist/file_manipulation/helperphp.php");
?>
<?php
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "../../../admin/exhibits/horizon/images/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "120",
'ResizeHeight' => "120",
'ResizeFillColor' => "#FFFFFF" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
WA_DFP_UploadFiles("WA_UploadResult1", "entry_image_1", "0", "", "true", $WA_UploadResult1_Params);
?>