How to copy fakepath using php with filename only. Is't posible? : I'm using javascript to get the file path but it returns C:\fakepat\ **fileName**, then I replace the fakepath to get fileName only. Then ajax to php. And execute this line;
___
copy(***filename***, $targetPath);
___
it returns this error no directory or file. Please help me on this otherwise have another way. :) Thanks!