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
Have you ever read emailed somebody and spent time wondering whether they... read more
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
This can be achieved using a single query with join. We can... read more
Leave a Reply
You must be logged in to post a comment.