Category: php

  • mysql service stops automatically

    The most common reason why MySQL is not running is that it stopped or failed to start as a result of not enough memory. This can usually be seen by attempting to start the mysql server (“service mysql start” on Ubuntu and some other systems) and then reviewing the mysql error log (usually in /var/log/mysql/error.log […]

  • Say Hello World In 27 Different Coding Languages

    Around 95% Programmer/Coder starts their programming life with a simple program that says ā€œHello, Worldā€œ. Iā€™m one of those 95% Programmer/Coder, and today Iā€™ll show you how you can say ā€œHello, Worldā€ in 27 coding languages. 1. Bash echo “Hello World” 2. Basic PRINT “Hello, world!” 3. C #include int main(void) { puts(“Hello, world!”); } […]

  • Free DigitalOcean server

    Free DigitalOcean server

    DigitalOcean server Digitalocean is a popular Cloud computing company, Digitalocean provide solid state drives (SSD) in Simple Pricing, starts from $5/mo include 512MBMemory 1 CoreProcessor 20GBSSD Disk 1TBTransfer All Plans Include Solid-State Drives (SSD) Global Image Transfer DNS Management Private Networking 99.99% Uptime SLA US, Europe & Asia Locations Here we describe how to setup […]

  • How to Create a Custom Validation Rule in Laravel

    Step 1 : Define the rule:   Validator::extend(‘gmail’, function($attribute, $value) { $domain = explode(‘@’, $value); return (isset($domain[1]) && $domain == ‘gmail.com’) ? true : false; }); In the above code,Ā gmailĀ is the name of the of our newly created validation rule. The method will return returnĀ TRUEĀ if the validation is passed else it will returnĀ FALSE.Ā  StepĀ 2 : […]

  • Best php frameworks

    Best php frameworks

    If you develop applications in PHP, here are some of the most important PHP frameworks and libraries that you should know about   Laravel –Ā  The PHP Framework For Web Artisans   Whether you’re a solo developer or a 20 person team, Laravel is a breath of fresh air. Keep everyone in sync using Laravel’s […]