Files
Testing/movefile.php

11 lines
328 B
PHP
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
<?php
ini_set('display_errors', true);
error_reporting(E_ALL);
ini_set("error_log", $_SERVER["DOCUMENT_ROOT"]."/bwadmin/errors.txt");
if( !copy($serverpath."public_html/uploads_user/8000/7653/154285_thumb.png", $serverpath."public_html/uploads_user/8000/7653/hi.png") )
{
echo "error"; exit;
}
echo "File moved";
?>