Reply to thread

Some sample code i used was..

mkdir("/root/path/folder/subfolder");

$root = '/root/path/folder/subfolder/';

$file_name = $root.basename($_FILES['uploadFile'. $x]['name']);

$copy = copy($_FILES['uploadFile'. $x]['tmp_name'],$file_name);


This adds the file to the folder and not the subfolder...

Please help me, im new to PHP


Back
Top