as this does not work for me
the question is how to get the move file function to take the storage path or get the permission to my desired storage folder
I would use the Storage::disk('local') method (or why is it important for you to use the php function?).
Note that the root directory of Storage::disk('local') is storage/app.
So I recommend to create there a subdirectory "uploads" and store your files into it:
Storage::disk('local')->put('uploads/' . $file->getFilename().'.'.$extension, File::get($file));
thanks for the reply but the storage disk path does not work within the mobile devices environment .I can only upload on the desktop, if I use my mobile the file is not uploaded I get error
file does not exists on the path
thats why will prefer to use straight php if you know how or why that is please help