Level 18
Sorry, I'm a little bit aggressive to find the solution. I found the solution here.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I've hosted my website on shared hosting. Moved all folders and files inside the public folder to public_html path rest of the files outside the public_html folder. I'm having trouble with file upload.
first I'm moving my uploaded file to uploads folder under public folder and then I compress the size of the image and move to the desired destination. When tried to access the uploads folder using public_path() function it returns the path outside the public_html folder. How to fix this?.
Sorry, I'm a little bit aggressive to find the solution. I found the solution here.
Please or to participate in this conversation.