how to fix Warning: Use of undefined constant _ – assumed ‘_’ (this will throw an Error in a future version of PHP) June 3, 2022 by Tarik Billa Problem lies in this line: $filename = $acak._.$file; It should be $filename = $acak.'_'.$file;