Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Tags
    3. php
    Log in to post
    • All categories
    • lkdev

      How to add custom registration fields to Woocommerce checkout ?
      Back-End Development • woocommerce wordpress php • • lkdev

      3
      2
      Votes
      3
      Posts
      1139
      Views

      lkdev

      @Pasindu_7

      how to add manual ?

    • kushanshanuka

      Laravel passport එක්ක role/permission භාවිතා කරන්නේ කොකොමද
      Web Development • laravel passport php • • kushanshanuka

      4
      1
      Votes
      4
      Posts
      1728
      Views

      root

      @Harsha-Sampath

      Yes. easy package ekak , onama widiyakata permission denna puluwan meken

    • lkdev

      How to secure my Woocommerce site in Nginx server ?
      Information Security • wordpress nginx php mysql security • • lkdev

      4
      1
      Votes
      4
      Posts
      1571
      Views

      lkdev

      Thnaks yo very much @root , this is awesome

    • lkdev

      Nginx: connect() failed (111: Connection refused) while connecting to upstream
      Linux • nginx php server ubuntu • • lkdev

      7
      0
      Votes
      7
      Posts
      6862
      Views

      crxssrazr93

      @lkdev said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      @crxssrazr93 said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      @lkdev

      Make sure php-fpm is already running on the background...

      Then, change your listen 80; to listen 127.0.0.1; .

      @ciaompe said in Nginx: connect() failed (111: Connection refused) while connecting to upstream:

      Simply, open the following path to your php5-fpm (if you php 7 then open php 7 fpm)

      Php 5

      sudo nano /etc/php5/fpm/pool.d/www.conf

      Php 7

      sudo nano /etc/php/7.2/fpm/pool.d/www.conf

      Then find this line and uncomment it:

      listen.allowed_clients = 127.0.0.1

      Also comment below line

      Php 5

      ;listen = /var/run/php5-fpm.sock

      Php 7

      ;listen = /run/php/php7.2-fpm.sock

      and add

      listen = 9000 after you make the modifications, all you need to restart or reload both Nginx and Php fpm

      Php 5

      sudo service php5-fpm restart

      Php 7

      sudo service php7.2-fpm restart

      Nginx

      sudo service nginx restart

      Guys this works. thanks aganin and lankadevelopers thank you very much

      Anytime mate xD

    • Rajithst

      Sinhala Tutorials
      Web Development • angular nodejs php java react-js • • Rajithst

      9
      3
      Votes
      9
      Posts
      3945
      Views

      Harsha Sampath

      මචන් මට දැනගන්න පුලුවන්ද අපි හදපු dynamic website එකක් SEO කරන විදිහ. Angular Universal පාවිච්චි කරල serverside render කරද්දි dynamic data වලින් එන meta data සෙට් කරාට seo tools වල පෙන්නන්නෙ එවා දාල නෑ කියලනේ. Server side render කරද්දි first page එක load වෙන්නෙ ගොඩක් slow.

    • akashmanujaya

      I want to change map icon as location condition
      Back-End Development • php api googlemaps javascript jquery • • akashmanujaya

      7
      3
      Votes
      7
      Posts
      2137
      Views

      dev_lak

      @akashmanujaya welcome bro...

    • S

      ඇයි ගොඩක් Developers ලා PHP වලට අකමැති?
      General Discussion • php • • sudo

      13
      5
      Votes
      13
      Posts
      4531
      Views

      KrissSachintha

      to my knowledge, comparing java and php is pointless, cuz java is a general purpose language and php is a server side language, aynway f*** society, anybody can say anything, it's your call to choose which language you're mastering and what to do with it, anyway if you are good at any programming language their are lots of opportunities in the world as a developer.

      respect programmers :pray: peace!

    • akashmanujaya

      I want to Enter my radio button value to the database in php
      Back-End Development • php googlemap api javascript • • akashmanujaya

      9
      4
      Votes
      9
      Posts
      2664
      Views

      dev_lak

      @akashmanujaya i have done small change to code, try this

      function saveData() { var confirmed = document.getElementById('confirmed').checked ? 1 : 0; var id = document.getElementById('id').value; var Condition=$('input[name="Condition"]:checked').val(); //check this line var fd = new FormData(); fd.append('confirmed', confirmed); fd.append('id', id); fd.append('Condition',Condition); //uncomment this line }
    • ciaompe

      Laravel Bulk Update By Index ID
      Back-End Development • php laravel mysql orm eloquent • • ciaompe

      22
      1
      Votes
      22
      Posts
      2045
      Views

      Leon Takumisan

      I've enjoyed every massage experience recommended by 오피가이드.

    • root

      PHP Logic problem
      Back-End Development • php • • root

      4
      1
      Votes
      4
      Posts
      1549
      Views

      isuru mahesh perera

      <?php $permissions = ['create_user', 'create_post','edit_post', 'delete_post', 'edit_user', 'delete_user']; $permission_categories = []; foreach ($permissions as $value) { $name = explode("_", $value); # hasn't key if(!array_key_exists($name[1], $permission_categories)){ $permission_categories[$name[1]] = []; } $permission_categories[$name[1]][] = $name[0]; } print_r($permission_categories);
    • Nubelle

      Laravel Permission library
      Back-End Development • laravel php • • Nubelle

      5
      2
      Votes
      5
      Posts
      4916
      Views

      ciaompe

      @kushanshanuka
      Ou machan puluwan, meka godak advanced widiyata use karanna puluwan

    • Nubelle

      Laravel ORM
      Back-End Development • laravel php mysql • • Nubelle

      11
      3
      Votes
      11
      Posts
      3426
      Views

      kushanshanuka

      @ciaompe ow bro niyamai site eka superb.

    • 1
    • 2
    • 3
    • 4
    • 4 / 4