File upload problem - uploaded file is always 1 bytes

Hello,

I am quite new here, but love the app you made and plan to purchase it really fulfills all my needs.

Have an issue that would need your help.

I used this example to upload files

They are uploaded to my C:\Data\ directory but all the uploaded files are all 1 bytes size and if I check the content they have only “1” number written inside.

Could you please assist on solving the problem ?

Solved my problem by using

$file_tmp =$_FILES[‘image’][‘tmp_name’];

Instead of actually recording file on disk