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”));
A recent research report has revealed that more than 90% of all... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
After a lots of headache, I find the solutions. I am using... read more
Simple structure to pin the flow to developers mind for project IS ... read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
The character set named utf8 uses a maximum of three bytes per... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Leave a Reply