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”));
In simple words, class is a user defined datatype. Which have its... 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
There are certain formal settings (like a conference, meeting or classroom) where... read more
After a lots of headache, I find the solutions. I am using... read more
Simple structure to pin the flow to developers mind for project IS ... read more
The character set named utf8 uses a maximum of three bytes per... read more
Fix spanish translations (email sent sep 10) login mods (email sent march 2) add... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
Leave a Reply