I heard that file_put_contents overwrite the file if it exist ? That's what i want but it doesn't work. What do?
$contentsAonces = file_get_contents("http://website1.fr/file.xml");
$filename = "http://website2.fr/file.xml";
file_put_contents($filename, $contentsAonces);
Error :
Remote file already exists and overwrite context option not specified
برچسب:
نویسنده: استخدام کار