jeudi 5 novembre 2015

PHP does not copy the file properly

im copying a file from another domain. It does not give me any errors but the files does not get recognized and its different size from the original file. Its the same extension i checked. so im kinda clueless.

if (!copy(' - Juvenile and Infant/1440.jpg', $_SERVER['DOCUMENT_ROOT'].'/resources/categories/tttt6.jpg')) {
echo "failed";

any ideas?

Aucun commentaire:

Enregistrer un commentaire