The DFP Script is able to work with Windows servers, and is compatible with PHP 5.2.
The script determines the upload path using the PHP realpath() command.
it first uses:
$scriptName = $_SERVER['SCRIPT_NAME'];
to get the name of the current script
then uses:
$currentFilePath = realpath(basename($scriptName));
to return the path. that code should return the path the your site:
C:\Domains\appmobil\vid.appmobile.mobi\wwwroot\
but instead returns blank. I added the following code to the bottom of the uploader script:
<?php
$scriptName = $_SERVER['SCRIPT_NAME'];
$currentFilePath = realpath(basename($scriptName));
echo("SCRIPT_NAME: ".$scriptName."<br />");
echo("Path: ".$currentFilePath."<br />");
?>
which shows the problem:
SCRIPT_NAME: /uploader.php
Path:
the realpath function is failing on the server.
the host will need to determine why the realpath function is not able to return the path to the script, that is the heart of the problem.