Category : php

14 posts

Cron Dog takes the headache out of scheduling recurring app tasks. Manage all your recurring scheduling via dashboard or API. Visit: https://crondog.io/
Today, i am going to teach you how to maintain log in codeigniter. Update the config file by enable log_threshold as per your need   /* |-------------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------------- | You can enable error logging by setting a threshold over zero. The | threshold determines what gets logged. Threshold options are: | …
Hello friends, today i am going to tell you how to send email by codeigniter via hostgator if you are using hostgator then following instructions would be beneficial for you. first of all create an email account relevant to domain in hostgator then go to manage email accounts then there would be a link config …
Today i’m going to teach you how to get facebook ads insight data, total amount spent day by day actually working on facebook ads project client wanted to get same matrix as showed in facebook ads manager then hardly after spending a lot of time on google i found just simple solution. Look at the …
In this tutorial i am going to teach you how to install Xdebug  in xmapp in windows, after googling i found very short method to install xdebug. Following the following code to install xdebug: Step 1: Download Xdebug for PHP : http://xdebug.org/files/php_xdebug-2.4.0rc3-7.0-vc14.dll Step 2: Copy file ‘php_xdebug-2.4.0rc3-7.0-vc14.dll’ to: C:\xampp\php\ext Step 3: Open file in your editor: …
In this tutorial i am going to teach you how to set options value in dropdown  box basically it is easy with html syntax to select any option but if we have to use codeigniter syntax for any input then it is little complex, for this see the following code that i found in my …
In this tutorial i am going to teach you how to show desktop notification in your browser and now a days it very powerful tool to promote any website and helps the website to get the visitor attention on any particular topic. Today i’ll just teach you how to show desktop notification only and in …
To remove index.php is very simple First of all create .htacess file in the root of your project and paste the below code. RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]  Goto /application/config/config.php and update the following variable. $config['index_page'] = 'index.php'; To $config['index_page'] = '';  
Post data with Curl: $data = array('name' => 'John', 'gender'=>'male'); $url = 'www.demosite.com'; $handle = curl_init($url); curl_setopt($handle, CURLOPT_POST, true); curl_setopt($handle, CURLOPT_POSTFIELDS, $data); curl_exec($handle);  
Recently i resolve the CSRF token issue in ajax request by the following code: place this code before closing head tag <meta name="csrf-token" content="{{ csrf_token() }}"> and now place the below code in js file or in script tag $.ajaxSetup({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }); thanks
PAGE TOP