File Upload in Laravel

laravel

file upload in laravel This article is about the file upload in laravel It can be done by using two files one in controller and another in view does the job. First have to create a view file where user can upload files under(resources/views/upload.blade.php)

Create a controller called uploads under app/Http/Controllers/UploadController.php which will validate the file uploaded and process it.

Now finally dont forget to define your routes to make it work.

Make Sure you create a directory  public/uploads with 0777 permissions where script storing files. Useful…

Remove index.php in the url of Yii website

Yii

Complete URL management for a Web application involves two aspects: When a user request comes in terms of a URL, the application needs to parse it into understandable parameters. The application needs to provide a way of creating URLs so that the created URLs can be understood by the application. For a Yii application, these are accomplished with the help of CUrlManager. Yii is one of favourite php framework of all time. Here we give another one hidden secret of Yii which is very helpful for changing the URL structure…

Future of PHP MVC Frameworks

php-frameworks

The advent of Internet on the face of the world has made working easier and efficient, now we need not to move out of our houses to get our works done, one click and our work is done. Internet has also leveraged us with various options of entertainment. the world has started admiring the unique work of Apple, the company is trying to innovate like never before and serve the customers across the globe with something new and unique every time.