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”));
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
How to check laravel version: Step1: Find Application.php file in your app and... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
The regex caused the error during validation check on Alphaspace Rules regular... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... 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