Posts

Codignator event log library. (PHP Framework)

Image
Codeigniter library code (Logs), which creates the log in the database. <?php defined('BASEPATH') OR exit('No direct script access allowed'); class Event_logger { /**      * ci      *      * @param instance object      */ protected $CI;     /**      * log table name      *      * @param string      */     private $_log_table_name = 'event_logs'; // We'll use a constructor, as you can't directly call a function // from a property definition. public function __construct() { // Assign the CodeIgniter super-object $this->CI =& get_instance();     $this->CI->load->database(); $this->_log_table_name = 'event_logs'; } /* Logger Function */ public function log_event($event,$data,$table,$unique_identifier="",$unique_identifier_value=''){ if(!$this->CI->db->table_exists($table) ) { echo "Event Logger : Table - $table  does

How to Add a Godaddy domain or any other custom domain in Vultr Cloud VPS server

Image
Sign in to your My Vultr Dashboard  After sign into your dashboard, It demonstrating the rundown of server's you Installed you can discover the DNS menu in the Servers dashboard  Presently open DNS segment  Presently you can discover the Add space catch on that page  Simply Click include catch  Simply enter your Domain name and your Cloud server's IP address (you can discover your IP in servers segment)  In the wake of giving your everything points of interest Just snap Add  That is all effectively your area was added to the Vultr VPS server  After that login to your area overseeing board and enter the Vultr nameserver points of interest

How to start learn cake PHP framework

Image
Here i will explain how to start learn cake framework. (version 2.0) Cake php is open source web framework.It follows the model–view–controller approach and is written in PHP. CONTROLLER: Controllers handle requests and help co-ordinate and prepare responses for the client. VIEW: Views are the presentation layer in CakePHP. They convert the data fetched from Models into the output format requested by the client. MODEL: Models are the heart of your application. They handle the validation, storage and retrieval of your data. Important Points to be know before start work on cake framework. CakePHP Conventions -> Controller Conventions -> Model and Database Conventions -> View Conventions -> File and Class Name Conventions The Controller class KissesAndHugsController would be found in a file named KissesAndHugsController.php The Component class MyHandyComponent would be found in a file named MyHandyComponent.php The Model class OptionValue would

PHP Developers?

Image
PHP developer creates projects, applications, and sites utilizing the dynamic scripting dialect PHP. PHP is known for web advancement and business applications. Contingent upon occupation work, PHP engineers might be delegated programming designers or web designers. Since the dialect is so universal in site improvement and business, PHP can be a decent decision for independently employed or contract designers. A PHP web designer may make UIs or work off camera. The PHP dialect is often utilized in mix with SQL for databases. It is likewise utilized for fundamental site capacities like tolerating usernames and passwords and overseeing visitor books. It can show photograph or thumbnail displays and different kinds of dynamic substance. A developer activity obligations can likewise incorporate site organization, programming testing, and client preparing. Programming engineers in some cases make models in PHP notwithstanding when they will utilize another dialect later. Favora

How to start blogging

Image
You want to start your own blog and you want to earn money with your blog. Creating a blog is very easy, you can make money from blogs First of all , select the topic on which you have to start your blog. Please choose the topic which you are interested in. Express your words in front of world, express your feeling in words. If you have no idea, but you want to do blogging, but you do not have a topic, then no need to worry. I will share the list of the trending topics :-) Below are the trending topics for the blog. 1.Travel 2.Technologies 3.Digital Marketing 5.Health & Fitness for Busy People 6. Body-weight training 7. Sports Photography you can also find the topic from google trend, here I am sharing the link of the Google trend Then, Pick a web hosting have for your blog List of the company, from where you can buy the hosting. Bluehost. hostinger Godaddy 1&1 A2 HOSTING Then, install the WordPress, WordPress is very easy to lear

How to become rich.

Image
Invest early and often to become rich The absolute most pivotal thing you can do to guarantee your money related future is contributing — and the sooner you begin, the simpler it is to get rich.  This isn't BS. There's over 100 years of proof in the share trading system that proposes this.  Still don't trust me? We should take a gander at a true case of how to wind up rich by contributing.  Let's assume you're 25 years of age and you choose to contribute $500/month in a minimal effort, broadened list support. On the off chance that you do that until you're 60, what amount of cash do you think you'd have? $1,116,612.89 Tap into “hidden income” I'm not discussing heaps of trade covered some place out your lawn — this is the cash that you can be sparing right presently by arranging your bills.  It's hard to believe, but it's true. With only a couple of one-time, 5-minute telephone calls, you can spare HUNDREDS per

Add-money-to-paytm-wallet with PHP

Image
How to add money to paytm wallet with help of PHP If any developer wants to add the feature to the app or website to transfer money to paytm wallet. They can transfer with help of API. Here I will tell how to create an API which helps you to transfer money to paytm wallet. 1. Paytm will provide the access to you for money transfer, you need to contact with paytm. Paytm Gratification wallet Gratification wallet is made for your advantage so you can easily store your digital money and pay your clients in different structures like cashback, reward, devotion point. It could likewise be utilized to pay your representatives or anybody you need as repayment, R&R, gifting and so forth 2. You need to open the bank account. They will interlink your account with gratifiction dashboard. Gratification Dashboard Panel If you successfully create the api which help you to transfer money, Paytm will provide the gratification dashboard to you for manage the digital money transfer