move_uploaded_file do not work and don't know what else to check

132
December 01, 2017, at 12:14 PM

I have a problem,

my move_uploaded_file does not work. the file size is less then what php.ini let me upload. It is in TMP memory, print_r($_FILES) shows me everything is fine and the path is right.

I don't know what else can go wrong? (considering it works fine on my other pages)

<?php
$bannername='banner_'.strtolower($_GET["system"]).'.'.$uploadformat;
$destination='style/pictures/'.$bannername;
$move=move_uploaded_file($_FILES["banner"]["tmp_name"], $destination);
if($move) {
}
?>

Edit : The function give me a result = False, however it still move the picture correctly....

READ ALSO
PHP logging text from text area with with random class [on hold]

PHP logging text from text area with with random class [on hold]

I am working on a php and chat room and it works by typing in what you want and when you press enter it logs your name that you chose in a tag and after the tag what your message is

114
How add new arrray Row in multidimensional Array PHP

How add new arrray Row in multidimensional Array PHP

I have 2 array I would like add new row in the first with informtion from the secondMy 2 arrray

319
How to move Wordpress admin files to wp-uploads to use as Email attachment?

How to move Wordpress admin files to wp-uploads to use as Email attachment?

I am working with WeForms to create an event registration formThe plugin automatically generates a PDF-File, which can be downloaded in the backend area (under /wp-admin/admin-post

191
javascript to connect to local RestfulApi fail

javascript to connect to local RestfulApi fail

So i'm try to create an social webSo in my html i have this scrip

224