I have a big problem, I have written code in mobile application to upload file to server, but the problem that I have set dot inside $_Files['User.file'];
When I invoke $_Files['User.file']
to upload the file, then it's seem there is no such $_Files['User.file']
and I think the problem because I have wrote dot inside the key, and the server cannot recognize the file as invalid key
I know that it's possible to change the dot from key but it's take more time in mobile application.
There is any way to deal with that problem? Such as upload files without knowing any keys?
Any suggestions?
This is my code, there is no files:
<?php
$new_image_name = "YEAH.jpg";
move_uploaded_file($_FILES["User.file"]["tmp_name"], "/var/www/TEST/".$new_image_name);
?>