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”));
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... 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
If you are a victim of Browser Modifier Virus ( malware ) Browser... read more
While Google is quite generous in giving each user a lot of... read more
List of popular and most used search engines based on web research: ... read more
Have you ever read emailed somebody and spent time wondering whether they... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
"if ( $this->input->is_ajax_request() ) { // your code here... }" read more
How to check laravel version: Step1: Find Application.php file in your app and... read more
Leave a Reply