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
One of the reasons why smart phones have become so popular is... read more
Following Code is required for that: echo $this->Html->image("your_img.png", array( 'url' => array('controller' => 'some_controller',... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Try "keypress" evenHandler in jQuery: Notice Below Code, Although this code is correct... 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
Simple structure to pin the flow to developers mind for project IS ... read more
Leave a Reply