Good evening. I have already asked about uploading a photo, and Indifferent helped me a lot, saying that because it shows:
Array ( [name] => tamada.gif [type] => [tmp_name] => [error] => 6 [size] => 0 )
It means that there is no temporary folder on the hosting. On the test server, everything is fine:
Array ( [name] => tamada.gif [type] => image/gif [tmp_name] => /tmp\php42E.tmp [error] => 0 [size] => 14702 )
Indeed, the code processes only the [name] variable, which is present, and does not work any further. I thought the hosting would decide this question, but they ask me where the tmp temporary folder should be located, so I myself have no idea. Where should the temporary folder be located on the hosting and how to create it? I tried to create in the root folder, in the www folder, the problem was not solved. What else could be the reasons for the absence of variables: [type], [tmp_name], [size]? Thank. Really looking for answers.