WordPress post xmlrpc.php attack Prevention Date Posted: 17-07-2017 This post explains on how to prevent xmlrpc.php attack on wordpress website. If we seen below error or continuous POST request to xmlrpc.php on access log will be best way to identify attack. 2017/07/17 06:25:46 [error] 14858#14858: *411668 connect() to unix:/run/php/php7.0-fpm.sock failed… Continue Reading WordPress post xmlrpc.php attack Prevention

Posted Date:11-07-2017 In this post we will explain PHP ternary operator. Example: In this example we are using if else condition <?php $a=16; if($a>18) { echo “Eligible For Vote”; } else { echo “Not Eligible For Vote”; } ?> In the above example $a value is greater than 18 eligible… Continue Reading PHP ternary operator

Install PHP with WebPI Open WebPI search for PHP Select required versions and click on Add Click on Install Accept the license Click Finish Installation path would be C:\Program Files (x86)\PHP\%version To quickly verify its working, place info.php under docroot C:\inetpub\wwwroot.  You can verify it using http://localhost/info.php <?php phpinfo(); ?>

Download webPI from https://www.microsoft.com/web/downloads/platform.aspx Install MySQL Launch the Web PI application by running the wpilauncher.exe file that you downloaded in the preceding section. In the Web Platform Installer window, search for MySQL in the search box. Select MySQL Windows 5.1 (or current version), click Add, and then click Install to start the… Continue Reading mysql installation on windows server 2012

Generate CSR  Start screen Open IIS Manager Click on server name From the center menu, double-click the “Server Certificates” button in the “IIS” section (it is in the middle of the menu). From the “Actions” menu (on the right), click on “Create Certificate Request…” This will open the Create Certificate… Continue Reading SSL installation on windows server 2012

Posted Date:11-07-2017 In this we will explain mysql_query insert using custom user created function Stpe 1:Create basic html page with form <form method=”POST” action=”” id=”addproduct-form”> <label for=”hd-desc”>Select Category</label> <select name=”cat_id” id=”cat-id”> <option value=”” selected=””>Select Category</option> <option value=”8″>mobile</option> <option value=”9″>Tv</option> <option value=”10″>XYZ</option> <option value=”11″>mobile2</option> <option value=”12″>Tv2</option> <option value=”13″>Tv 3</option> </select> <label… Continue Reading insert query in php using function

When you integrate angular2 with laravel on top of nginx, you may see empty page while accessing angular2 end point on browser. say http://server-ip/angularclient if you dig little deeper using inspect element, you may see 404 for all files(css,html,js,etc). You just need to verify the href base is as same… Continue Reading laravel and angular2 setup shows empty page on nginx

What is SquirrelMail? SquirrelMail is a standards-based webmail package written in PHP. It includes built-in pure PHP support for the IMAP and SMTP protocols,   #1 Add epel repo wget http://epel.mirror.net.in/epel/5/i386/epel-release-5-4.noarch.rpm rpm -Uvh epel-release-5-4.noarch.rpm #2 Install Squirrelmail yum install squirrelmail -y Navigate to /usr/share/squirrelmail/config/ directory and run the command conf.pl:… Continue Reading install Squirrelmail On CentOS

Posted Date:11-07-2017 In this post we will fix the issue of Select2 search input not working in Bootstrap Modal. If you are implementing  select2 plugin in boostarp  modal, First remove tabindex=”-1″ and add style=”overflow:hidden;”

Install Jenkins on Ubuntu 16 Date Posted: 02-07-2017 Jenkins is a deployment application tool which is used for continuous integration and deployment. In this post, we will explain on how to install jenkins on Ubuntu 16. Prerequisites: Ubuntu Host Allow Incoming port 8080. Implementation: Consider this is a fresh ubuntu server… Continue Reading Install Jenkins on Ubuntu 16