Hi everybody
I need some help with uploading a File from a Javascript / HTML App to a PHP Server using WinJS. Everything looks good, the Server gives me a "200 OK" answer, but no File was saved on the Server. The upload application is built on the sample from
MS.
I dont know why the file wont be stored on the Server. Im started with a simple PHP-Script on the Serverside:
<?php
$uploaddir = '/home/app/uploads/';
$uploadfile = $uploaddir . basename($_FILES['Filename']['name']);
move_uploaded_file($_FILES['Filename']['tmp_name'], $uploadfile);
?>
Sorry for my bad english!
Can somebody help me out of my problem?
I need some help with uploading a File from a Javascript / HTML App to a PHP Server using WinJS. Everything looks good, the Server gives me a "200 OK" answer, but no File was saved on the Server. The upload application is built on the sample from
MS.
I dont know why the file wont be stored on the Server. Im started with a simple PHP-Script on the Serverside:
<?php
$uploaddir = '/home/app/uploads/';
$uploadfile = $uploaddir . basename($_FILES['Filename']['name']);
move_uploaded_file($_FILES['Filename']['tmp_name'], $uploadfile);
?>
Sorry for my bad english!
Can somebody help me out of my problem?