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
The regex caused the error during validation check on Alphaspace Rules regular... read more
Simple structure to pin the flow to developers mind for project IS ... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
Below are the steps: 1) Open File Explorer 2) Click on View Tab 3) Click/Check... read more
One of the reasons why smart phones have become so popular is... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
Leave a Reply