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”));
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
After a lots of headache, I find the solutions. I am using... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Below are the steps: 1) Open File Explorer 2) Click on View Tab 3) Click/Check... read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
$this->session->mark_as_flash('item'); # Version 3.x only $this->session->mark_as_flash(array('item', 'item2')); # Version 3.x only Array to... read more
Leave a Reply