Skip to content

Tag: laravel-5

Access File Uploaded Attributes in Laravel 5

I upload a file In my controller, I did this I see this I want to pathname: “/private/var/tmp/phpb73hcy”, I’ve tried I just want this /private/var/tmp/phpb73hcy Any hints for me ? Answer Use $this->getPathname(). The Laravel UploadedFile class extends the Symfony UploadedFile class, which…

Resource Controller Concept

I am unable to find the issue. It is showing 404|Not Found update.blade.php PostController.php (a resource controller) route: please tell me what is the issue in this. one of the advice I got is to change the name of view file i.e update.blade.php to edit.blade.php. I don’t know how does it help Answer …