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”));
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
Have you ever read emailed somebody and spent time wondering whether they... 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
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
In simple words, class is a user defined datatype. Which have its... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
This can be achieved using a single query with join. We can... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
"if ( $this->input->is_ajax_request() ) { // your code here... }" read more
Leave a Reply