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”));
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
Best method to change Laravel's default timestamps: Step 1: Override const in specific... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
One of the reasons why smart phones have become so popular is... read more
As per official bootstrap documentation about "sr-only CSS class": Always add labels Screen readers... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
List of popular and most used search engines based on web research: ... read more
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
Leave a Reply