OK, I have had a look at code on another Insert page that I created some time ago that works...
It seems that it was the DFP form that I was getting wrong.....
In the original page I had;
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Insert_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "".((isset($_POST["unit_logo"]))?$_POST["unit_logo"]:"") ."", "2", "[NewFileName]_[Increment]", "PNG:5", $WA_UploadResult1_Params);
}
?>
But I should have had this;
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["Insert_x"])){
WA_DFP_UploadFiles("WA_UploadResult1", "unit_logo", "2", "[NewFileName]_[Increment]", "PNG:5", $WA_UploadResult1_Params);
}
?>
The images upload, but the only problem now is that I am getting these errors:
Warning: unlink(/home/sites/lsdogs.org.uk/public_html/Members/../images/unit_logos/3ddc849e072b9aec8473e02b496c76a3.png) [function.unlink]: No such file or directory in /home/sites/lsdogs.org.uk/public_html/WA_DigitalFilePro/HelperPHP.php on line 212 
Warning: Cannot modify header information - headers already sent by (output started at /home/sites/lsdogs.org.uk/public_html/WA_DigitalFilePro/HelperPHP.php:212) in /home/sites/lsdogs.org.uk/public_html/Members/Unit_Insert.php on line 94 


