digital file uploads not working
I have been through the support section, made sure all my bases were covered, but still have gotten nowhere with the file upload function. Simple page, 1 form, a file form and 2 buttons. No error messages come up, but the file doesnt upload. The php.ini file is good. Filesize is not a problem, and it is set to accept uploads. The target folder permissions are set to read write and execute, but to no avail.
Here is the page.
<?php require_once("WA_DigitalFilePro/HelperPHP.php"); ?>
<?php
WA_DFP_SetupUploadStatusStruct("WA_UploadResult1");
if(isset($_POST["submit"])){
WA_DFP_UploadFile("WA_UploadResult1", "upload", "client_upload", "/uploads", "[FileName]", "0", "[FileName]_[Increment]", "24000", "false", "0", "0");
}
?><!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>upload page</title>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
<label>
<div align="center">Upload File
<input type="file" name="upload" id="upload" />
</div>
</label>
<p align="center">
<label></label>
<input type="submit" name="submit" id="submit" value="Submit" />
<input type="reset" name="reset" id="reset" value="Reset" />
</p>
</form>
</body>
</html>
Please let me know what i am missing.
Thanks
Sean