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

4

1 回答 1

0

use the following code to find error

echo "<pre>";
print_r($_FILES);
于 2013-10-20T10:15:25.737 回答