1. endy66's Avatar
    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?
    10-11-2014 10:05 AM
  2. MasoInar's Avatar
    Hi,

    Can you add some logging to your php script to see if there's anything in $_FILES array? Also how big files are you submitting? If you have big files, you might need to increase max file size in php.ini.

    Maybe you can make simple html web page that contains form with file input and check if it works from there?
    10-11-2014 06:48 PM

Similar Threads

  1. I want to unlock a Nokia Lumia 630 from Cricket
    By WPCentral Question in forum Ask a Question
    Replies: 8
    Last Post: 04-08-2018, 08:01 PM
  2. network error connecting to wpcentral app
    By Madam ImAdam in forum Windows Central for Windows Phone - App Support
    Replies: 5
    Last Post: 10-18-2014, 09:41 AM
  3. Windows Insider testing program likely to continue after Windows 10 launch
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 10-11-2014, 09:11 AM
  4. 5 tips to make awesome Color Pop photos with Lumia Creative Studio
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 10-11-2014, 08:50 AM
  5. Shadow Warrior reboot slices its way to the Xbox One October 21
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 10-11-2014, 08:11 AM
LINK TO POST COPIED TO CLIPBOARD