0

I am developing a mobile jquery application that uses HTML/CSS/PHP languages. I am trying to upload image wither by storing image in the server or in a directory but in both cases the following statement does not run although the code is correct

$file = @$_FILES['image']['tmp_name'] ;

Should I change something in server configuration to be able to upload images ? or there is another reason to this problem ?

Please help me

Najd
  • 35
  • 1
  • 8

1 Answers1

0

use the following code to find error

echo "<pre>";
print_r($_FILES);
user2092317
  • 3,226
  • 5
  • 24
  • 35