I'm making direction using this method to upload my image
mkdir(public_path().'/website/'.$path,0777, true);
It's supposed to create it on the root folder (Public_html) , but i found it created on new folder with name (public ) , so now i can't get the path of the image using this code
<img src="" />
how to get the correct path of the image or even create the folder on the public_html root path ?
via Dina Shaldoum