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”));
$this->db->insert('users', $data); # where $data is an array $insert_id = $this->db->insert_id(); # insert_id()... read more
Create a DIR in your laravel app root and name it "myapp", you... read more
Screen Got stuck eventually with this error during CodeIgniter development. Fatal error: Class... read more
Major Differences are: Git and Mercurial are the two most popular Distributed Version... read more
There are certain formal settings (like a conference, meeting or classroom) where... read more
How to check laravel version: Step1: Find Application.php file in your app and... read more
"To Fix ""Error Establishing a Database Connection in WordPress"": Open wp-config.php file and... read more
The character set named utf8 uses a maximum of three bytes per... read more
Simple Syntax: chmod 744 yourfile.ext Below Codes can be helpful to set permissions 400... read more
Leave a Reply