w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
php file upload and move to folder

You need a / after $title to use the new folder.

move_uploaded_file($_FILES["file"]["tmp_name"],
"upload/".$title."/".$_FILES["file"]["name"]);




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.