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
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... read more
Fork a Repo. A fork is a copy of a repository. Forking... read more
Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their... read more
"Add this in your component public function initialize(Controller $controller) { $this->controller = $controller;... read more
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
It requires two main steps: Add Virtual Host Entries to vhosts Configuration file. Assign... read more
Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Class 'App\Http\Requests\Input' not found Laravel" Stacktrace: #0 Symfony\Component\Debug\Exception\FatalThrowableError in C:\Server\nigix\www\mi\app\Http\Requests\RegistrationForm.php:33 read more
"if ( $this->input->is_ajax_request() ) { // your code here... }" read more
Leave a Reply