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”));
With our data increasingly moving to the cloud, chances are that whenever... read more
"if ( $this->input->is_ajax_request() ) { // your code here... }" read more
Most popular browsers like Google Chrome and Mozilla Firefox allow you to... read more
While Google is quite generous in giving each user a lot of... read more
As per official bootstrap documentation about "sr-only CSS class": Always add labels Screen readers... 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
Login to Admin panel Click on People Click on Roles and create Custom Role... read more
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
ERROR - 2017-02-18 14:17:00 --> Could not find the specified $config['composer_autoload'] path:... read more
One of the reasons why smart phones have become so popular is... read more
Leave a Reply