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”));
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
The regex caused the error during validation check on Alphaspace Rules regular... read more
List of popular and most used search engines based on web research: ... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
How to check laravel version: Step1: Find Application.php file in your app and... read more
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
Leave a Reply
You must be logged in to post a comment.