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”));
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
Below are the steps: 1) Open File Explorer 2) Click on View Tab 3) Click/Check... read more
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
"if ( $this->input->is_ajax_request() ) { // your code here... }" read more
This can be achieved using a single query with join. We can... read more
With our data increasingly moving to the cloud, chances are that whenever... read more
While Google is quite generous in giving each user a lot of... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
Leave a Reply
You must be logged in to post a comment.