Hello
When i upload my page to the server i receive the following error
Parse error: syntax error, unexpected '[' in /home/centreap/public_html/webassist/file_manipulation/helperphp.php on line 74
That's the code on my page
<?php 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' => "../Video/",
'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($_SERVER["REQUEST_METHOD"] == "POST"){
WA_DFP_UploadFiles("WA_UploadResult1", "apasdevant", "0", "", "false", $WA_UploadResult1_Params);
}
?>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Upload Video</title>
</head>
<body>
<form method="post" enctype="multipart/form-data"><input name="apasdevant" type="file" id="apasdevant"></form>
</body>
</html>
Thanks alot