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”));
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... 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
Below are the steps: 1) Open File Explorer 2) Click on View Tab 3) Click/Check... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
In simple words, class is a user defined datatype. Which have its... read more
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
Leave a Reply