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”));
Fork a Repo. A fork is a copy of a repository. Forking... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
After a lots of headache, I find the solutions. I am using... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Fix spanish translations (email sent sep 10) login mods (email sent march 2) add... read more
Try "keypress" evenHandler in jQuery: Notice Below Code, Although this code is correct... read more
$this->session->mark_as_flash('item'); # Version 3.x only $this->session->mark_as_flash(array('item', 'item2')); # Version 3.x only Array to... read more
Leave a Reply