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
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
Below are the steps: 1) Open File Explorer 2) Click on View Tab 3) Click/Check... read more
A recent research report has revealed that more than 90% of all... read more
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
One of the reasons why smart phones have become so popular is... read more
Fix spanish translations (email sent sep 10) login mods (email sent march 2) add... read more
BrowserModifier:Win32/Neobar is malware which changes various browser data without notifying you. Windows... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
Leave a Reply