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
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
"There may be several other possible ways, but I know one simple... read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
One of the reasons why smart phones have become so popular is... read more
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
List of popular and most used search engines based on web research: ... read more
Leave a Reply