video upload not working
I start with a blank php page and add digital upload but nothing happens. I'm testing locally so I have permissions and the file size is 10 mb. Without changing anything here is what the wizard produces.
No errors show 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' => "../videos/",
'FileName' => "[FileName]",
'DefaultFileName' => "",
'ResizeType' => "0",
'ResizeWidth' => "0",
'ResizeHeight' => "0",
'ResizeFillColor' => "" );
// WA_UploadResult1_1 End
// WA_UploadResult1 Params End
?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["upload"])){
WA_DFP_UploadFiles("WA_UploadResult1", "video", "2", "[NewFileName]_[Increment]", "false", $WA_UploadResult1_Params);
}
?>
<?php require_once('../Connections/dbc.php'); ?><?php
// start session varible
if (!isset($_SESSION)) {
session_start();
}
?>
<?
error_reporting(E_ALL);
ini_set('display_errors','on');
?>