Sending File for Download to browser in CakePHP
Below code can be helpful
$this->response->file($this->DIR.$file, array(‘download’ => true, ‘name’ => “$file”));
Below code can be helpful
$this->response->file($this->DIR.$file, array(‘download’ => true, ‘name’ => “$file”));
How to check laravel version: Step1: Find Application.php file in your app and... read more
Best method to change Laravel's default timestamps: Step 1: Override const in specific... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
The regex caused the error during validation check on Alphaspace Rules regular... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
In simple words, class is a user defined datatype. Which have its... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
As per official bootstrap documentation about "sr-only CSS class": Always add labels Screen readers... read more
Leave a Reply