I have changed the permissions of my upload folder to 777 and no change.
Also, on the header problem. I am using a template. Could that be causing the problem?
Here is my current code above the body:
<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?><?php
error_reporting(E_ALL);
ini_set('display_errors','on');
// WA_UploadResult1 Params Start
$WA_UploadResult1_Params = array();
// WA_UploadResult1_1 Start
$WA_UploadResult1_Params["WA_UploadResult1_1"] = array(
'UploadFolder' => "upload/",
'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", "upload", "0", "", "false", $WA_UploadResult1_Params);
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/lewisLabel.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="JS/fadeslideshow.js"></script>
<script type="text/javascript">
var mygallery=new fadeSlideShow({
wrapperid: "fadeshow1", //ID of blank DIV on page to house Slideshow
dimensions: [917, 198], //width/height of gallery in pixels. Should reflect dimensions of largest image
imagearray: [
["images/slideshow01.png"],
["images/slideshow02.png"],
["images/slideshow02a.png"],
["images/slideshow03.png"],
["images/slideshow04.png"],
["images/slideshow05.png"],
["images/slideshow06.png"],
["images/slideshow07.png"],
["images/slideshow08.png"],
["images/slideshow08a.png"],
["images/slideshow09.png"],
["images/slideshow10.png"],
["images/slideshow10a.png"]
],
displaymode: {type:'auto', pause:5000, cycles:0, wraparound:false},
persist: false, //remember last viewed slide and recall within same session?
fadeduration: 1000, //transition duration (milliseconds)
descreveal: "ondemand",
togglerid: ""
})
</script>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>lewis label products · the lewis label team</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="CSS/lewisLabel.css" rel="stylesheet" type="text/css" />
</head>