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”));
With our data increasingly moving to the cloud, chances are that whenever... read more
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
Simple structure to pin the flow to developers mind for project IS ... read more
After a lots of headache, I find the solutions. I am using... read more
"There may be several other possible ways, but I know one simple... read more
This can be achieved using a single query with join. We can... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
Leave a Reply