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”));
Create a DIR in your laravel app root and name it "myapp", you... read more
While Google is quite generous in giving each user a lot of... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... 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
"There may be several other possible ways, but I know one simple... read more
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
Leave a Reply