From 70797bdad6cb8807aa26606320d1622b9d6404e6 Mon Sep 17 00:00:00 2001 From: Carlos Mogas da Silva Date: Mon, 22 Oct 2018 18:13:30 +0100 Subject: [PATCH] print the file name --- share_v2.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share_v2.php b/share_v2.php index 3860a9b..24c2770 100644 --- a/share_v2.php +++ b/share_v2.php @@ -77,6 +77,8 @@ header('Access-Control-Allow-Headers: Content-Type'); header('Access-Control-Max-Age: 7200'); header('Access-Control-Allow-Origin: *'); +error_log($upload_file_name); + if(array_key_exists('v2', $_GET) === TRUE && $request_method === 'PUT') { // error_log(var_export($_SERVER, TRUE)); $upload_file_size = $_SERVER['CONTENT_LENGTH'];