Skip to main content

Posts

Use Of Search Engine Optimization

SEO is Process of improving the visibility of your website in Search Engines. That means improving the traffic for the website. In addition, it’s a great way to increase the quality of your website by making your website user- friendly, faster and easier to navigate. It’s a Combination of a technical, analytical and creative process. Technical SEO : This can ensure that search engines can crawl and index your website without any issues. On-Page SEO : In this, there are few rules to apply on your site, content to make it search engine friendly. Off-site SEO : Procedures to promote your website or blog so that it can rank higher in search results. Technical SEO In this method, you can Crawl and Index your Website pages manually and you can correct it if any errors otherwise it may negatively impact on your website rankings. On-site SEO On page SEO process is working on Keywords and content of the website. Unlike technical and off-page SEO, the main f

What is Digital Marketing ?

digital marketing is the marketing of products and services through Digital Channels such as search engines, social media, email, and their websites to connect with current and prospective customers. It is also called internet marketing. There are 2 main groups of digital marketing are online and offline. While offline marketing involves things like radio, television and phone advertising and online marketing has 7 major categories:  Search engine optimization (SEO) Search engine marketing (SEM)/Pay-per-click advertising (PPC) Content marketing Social Media Marketing (SMM) Affiliate marketing Email marketing SEO : the process of getting traffic as free or organic or natural search results on search engines. the process includes web content optimization is called as ON page optimization and another one about backlinking is OFF line Optimization.  To understand briefly, how search engines rank websites and optimize a website t

Sending HTTP Requests through Proxy Server using Python

In most cases, you have sent a request using the proxy to connect client server. because you do not have direct access to connect those servers. Or they can accept only the requests of their country. First, we need to import Requests library.  Requests is an elegant and simple HTTP library for Python. import requests proxies = { "https": "171.255.192.118:8080", "http" : "171.255.192.118:8080" } #Check your present IP address url = "http://httpbin.org/ip" ip = requests.get(url) r = ip.json() print (r) #Connect Proxy server ip = requests.get(url, proxies=proxies) r = ip.json() print (r) #OUTPUT {'origin': '125.62.194.242'} {'origin': '171.255.192.118'} If you want proxy server ip address and port numbers, you can follow this link proxies

How to check business hour, non-business hour, weekend and holiday using PHP?

At times, you may have faced problem in finding the solution where you have date&time as input and should check whether the date falls on Weekend, Holiday or Weekday & the time is between Business hours or Non-business hours. Here is a code snippet to find the input(i.e date and time) comes under Holiday, Weekend, Business Hours and Non-Business Hours. <?php # Getting Workday Type # Suppose I consider the date with time 2018-12-25 19:28:00 # You need to find out this date&time among the list of the Business hour, Non-business hour, Weekends, And Holidays # Holidays list & Weekdays are in Array # Consider Business works 9:00 AM to 6:00PM $holidays = ['01-01-2018','25-12-2018','10-07-2019','15-08-2019']; $weekdays = [0,1,2,3,4,5,6]; //['mon','tue','wed','thu','fri'] $input_date = '2018-12-25 19:28:00'; //'YYYY-MM-DD h:i:s' $business_start_time = "09:00";

How to calculate per hour cost using PHP?

As we know so many times. You need to calculate an hour price in your PHP applications. Here I coded a small script to achieve it. <?php # Hours to cost Calculation # My hour cost is = 200 # Suppose I consider total hours 03:20:45 # Formula $total_cost = ($amount_per_hour*($consumed_hours*3600 + $consumed_mins*60 + $consumed_secs))/3600; $h = 3; $m = 20; $s = 45; $amount_per_hour = 200; $consumed_hours = $h; $consumed_mins = $m; $consumed_secs = $s; $total_cost = ($amount_per_hour*($consumed_hours*3600 + $consumed_mins*60 + $consumed_secs))/3600; echo $total_cost; //output: 669.16666666667 ?>

Debug the PHP Application with Xdebug, WinCacheGrind and Windows

The Xdebug extension encourages you to troubleshoot your content by giving a great deal of profitable investigate data. Installing Xdebug for XAMPP with PHP 7.x Basic Requirements XAMPP for Windows: https://www.apachefriends.org/download.html The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 installed The VC15 builds require to have the Visual C++ Redistributable for Visual Studio 2017 x64 or x86 installed Setup Download Xdebug for: PHP 7.0.x: https://xdebug.org/files/php_xdebug-2.5.5-7.0-vc14.dll PHP 7.1.x: https://xdebug.org/files/php_xdebug-2.5.5-7.1-vc14.dll PHP 7.2.x: https://xdebug.org/files/php_xdebug-2.6.0-7.2-vc15.dll Copy the file php_xdebug-2.6.0-7.2-vc15.dll to C:\xampp\php\ext Open the file C:\xampp\php\php.ini with Notepad++ Disable output buffering: output_buffering = Off Scroll down to the [ XDebug ] section (or create it) and copy this lines [XDebug] zend_extension = "c:\xamp

Best way to represent Many-to-many, One-to-many, and many-to-multiple relationship

Visualization is the best part to show many-to-multiple, many-to-many and one-to-many. Definitely, it will help us understand complex data in the right direction. It will help us to make presentations and dashboards. Simple to understand. And it is not difficult or you shouldn't need to learn new things. There are many communities to help you. I prepared this article with the help of  D3.JS Example -  1                               Demo           Download Example - 2                               Demo         Download