Комментарии:
That's the great tutorial but my problem is that when i make any database in laravel or create table using php artisan make:migration in localhost cmd line but in line server how is this make possible please explain sir.
Ответитьhello my friend , very good tutorial .I had done like this example .
It worked ok , the laravel folder I created at one place and the public folder , I created in the public folder . It worked ok .
But the probleme is when I gonna make a upload of a image , in my admin area . The image was suppose to go to my public folder/assets/images/myimage.jpg
but is goint to my laravel application ->
laravel/public/assets/images/myimage.jpg .
It seams that I need to change as well the public path directory to laravel make the upload outside the laravel structure folder ,and make the upload inside the root folder that I created ( the public ) do you know how I can do it ?
I make upload like this -
$file->move(public_path('/assets/temp'), $main_image_filename);
(It was supose to go to assets , but is going to local/laravel/public/assets.... )
Thanks my friend .
your doing it wrong
ОтветитьThis is awesome!! how did you learn those things? can you please tell me how to be like you. xD
Ответить