upload json file with Ajax

Discussion and feedback on Construct 2

Post » Tue Feb 07, 2017 12:05 pm

Hi all,

I am trying to upload a json file with Ajax

http://iprojects.orgfree.com/json/index.html

This is my codes

Image

Code: Select all
<?php
   if(isset($_FILES['fileUpload']))
   {
      move_uploaded_file($_FILES['fileUpload']['tmp_name'], jsontest.json); //Fazer upload do arquivo
   }
?>


In brownser console the result message is 200/Ok, but the json file is not updated!

Any help!
B
110
S
12
G
8
Posts: 180
Reputation: 8,878

Return to Construct 2 General

Who is online

Users browsing this forum: sunisa2532, taker7 and 24 guests