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
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
List of popular and most used search engines based on web research: ... read more
"There may be several other possible ways, but I know one simple... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
Leave a Reply