logo
logo
Sign in
Paritosh Pandey
Followers 3 Following 0
Paritosh Pandey 2018-07-31
img

It is supported by almost all latest Browsers.

However, every CSS3 Property uses some predefined prefix for individual browsers, some of them are mentioned below.

-moz- Prefix is used for Mozilla Firefox, so the final code would be -moz-column-count

-o- is used for Opera, so the final code would be -o-column-count

-webkit- is used for Safari, so the final code would be -webkit-column-count

Chrome doesn’t need any prefix, so you can use directly as column-count

collect
0
Paritosh Pandey 2018-07-31

Today I’m going to show you how you can add an autocomplete address search module on your website using Google Place API web service.

In our autocomplete address search module we have used a Jquery plugin named Select2, for type and search feature to our module.

Steps to implement an autocomplete address search module

The first step is to grab a google’s API Key, you can find it here.

placeholder: "Search for your city",

results: $.map(data, function (item) {

collect
0
Paritosh Pandey 2018-07-31
img

In my previous post we have learnt How to close a DIV container when clicking outside using Jquery, I know it’s kinda off topic, because in this topic we are going to learn to convert timestamp to time ago in PHP, but it is my duty to expose all those interesting articles so that you can learn more.

Guys If you have used Facebook and you update status on your wall, upload photo or share something on Facebook then after uploading it, It display time as Just Now or you can also see your previous post time, it show like one week or month or year or day ago.

Importance of this System (Facebook like time ago system in PHP)

It is common to show dates on the Web in the format such as Published on January 12th, 2017, or 05/17/2017, 09:40:25 and 2017-09-12.

Each of the above examples shows the full date or time of some kind of activity on web applications – be it a published blog article, or a visitor comment, or perhaps an uploaded video.

After all, they are informative and human readable!

collect
0
Paritosh Pandey 2018-07-31
img

Hello developer fellows, in this article, we are going to learn how you can install IonCube Loader in Localhost.

Installing an IonCube PHP extension can be quite hard for beginners, but it is not impossible of course.

IonCube PHP encoder was founded in 2002.

IonCube’s encryption system is used by PHP developers to protect their program’s source code so that any unauthorized person could not use the program illegally or couldn’t make any changes to files.

IonCube Loader is a PHP extension that reads and executes those files that are encrypted by IonCube.

Nowadays almost all server computers can be found IonCube installed by default.

collect
0
Paritosh Pandey 2018-07-31
img

In this article, we are about to learn how you can capture your website visitor’s Real IP Address using PHP.

Track Real IP address of website visitors using PHP

Following snippet of PHP code would help you to catch the visitor’s real IP address even they are surfing your website through a proxy.

IP stands for Internet Protocol.

IP gets allotted to every machine (computer device) which is connected to computer networks which use the Internet Protocol (TCP/IP) for their communications.

An IP is a unique identification that almost every computing device (personal computers, smartphones, tablets etc.)

collect
0
Paritosh Pandey 2018-07-31
img

This tutorial is prepared for those Developers who want to get users latitude and longitude.

This can be done by many methods, here I’m going to use Google Place API to make such things easier.

The method and logic I’m going to use is when user fills the registration form up, we’d capture his city value (Note: city value would be Google Place Search), before proceeding further you have to read my previous post Auto complete Address Search Module Using Google API and PHP, this is the module from which we ask user to enter their location, further this location is used to capture user’s coordinates using another Google API.

Latitude and Longitude are the entity that represents the coordinates at the geographic coordinate system.

For example, every actual house has its own address (which includes the house number, the street name, city, country, etc), every single dot on the surface of the earth can be specified by the latitude and longitude coordinates.

Therefore, by using these coordinates we can specify virtually any point on earth.

collect
0
Paritosh Pandey 2018-07-31
img

In this article, we are going to learn how you can directly post into facebook page using PHP from your website or through your own platform.

This SDK is a library with powerful features that enable PHP developers to easily integrate Facebook login and make requests to the Graph API.

1.4 – again in “Settings” you will see the App Secret, to grab it you have to click on show button and have to enter your facebook password.

2.2 – create an init.php file and paste below code into it, and replace APP_ID & APP_SECRET with your’s one (see 1.3 & 1.4).

echo 'No OAuth data could be obtained from the signed request.

User has not authorized your app yet.

collect
0
Paritosh Pandey 2018-07-31
img

This is a walkthrough of how to setup and use DocRaptor’s PHP library:

DocRaptor can be installed via the Composer dependency manager or by downloading the files directly.

Simply include autoload.php to get access to the DocRaptor library:

Unlimited watermarked test documents can made using the “YOUR_API_KEY_HERE” key.

If you’re ready to make non-watermarked documents, you can get your own API key by creating an account.

If you want to use an existing website page, just input the URL like this:

collect
0
Paritosh Pandey 2018-07-31
img

Hello, today we are going to discuss on multi level category system in CodeIgniter which is a very common and essential module or feature of any e-commerce websites or any website.

Creating nested category system is not as easy as you think, but it is not impossible too.

Here I am going to deliver full step by step tutorial on how you can create such kind of module using Codeigniter & MySql.

How to create Multi Level Category System in Codeigniter

This module is based on the recursive function concept.

So let’s get started to develop multi level nested category system, carefully read below steps mentioned.

collect
0
Paritosh Pandey 2018-07-31

By this article “resize an image without stretching in CodeIgniter” I’m going to show you the mathematics and logic of resizing an image to a different width and height without squeezing or stretching the original image.

If the destination image contains a different aspect ratio than the source image, then the source image will be cropped in the same ratio of destination image have.

How to resize image without stretching in CodeIgniter

I’m not going to explain about uploading an image as I’m focusing only resizing an image here.

In this article the step or module I’m going to explain you have to apply this module after uploading an image, so let’s get started.

paste bellow function in your controller

collect
0
Paritosh Pandey 2018-07-31
img

In this article, you are going to learn that, how to create a distance calculator sort of module which can find distance between two addresses.

We are going to use google map API and PHP to accomplish this task.

The format for origin location and destination location could be one of the following:

to know more about permissible formats please visit Google’s official documentation page.

Step 2: source code Origin: Destination: Distance: rows[0]->elements[0]->distance->value / 1000).'

Km'; ?> Travel Time: rows[0]->elements[0]->duration->text; ?>

collect
0
Paritosh Pandey 2018-07-31
img

Probably, every PHP programmer had to create his own framework or library, and it was necessary to work quickly and do everything practically from scratch.

Often we need to test some of our ideas or algorithms and we write code for interacting with databases directly, without using ORM frameworks.

We bring to your attention an article in which the SQL-manager built-in in CodeLobster PHP IDE will be considered.

Creating and configuring a connection to MySQL

Go to the main menu "Tools" -> "MySQL" -> "SQL Manager".

Also, do not forget that the real data insertion will occur only after clicking the "Post Edit" button.

collect
0
Paritosh Pandey 2018-07-31
img

There are a couple of social networks which are popular around the world.

Nowadays website visitors or users are getting lazier and lazier, the most uncomfortable activity on the Internet is probably “Creating The Account“.

I recommend you to read all mentioned steps below carefully.

Follow these steps to get user’s profile data with LinkedIn API using PHP

Step 1: Creating Application at LinkedIn’s developer console and setting things up.

after filling the form up you will get redirected to the application’s dashboard page (something like bellow one)

collect
0
Paritosh Pandey 2018-07-31
img

In this tutorial, I’m gonna demonstrate you how to track if a click event is being made outside of an HTML element.

Through this example, we are going to close or hide div using Jquery when a click action occurs outside of that element on which the DIV was produced by clicking.

If you have ever found with menus boxes that open on click event, but want them to close when a click event occurs outside of that dom elements.

Here is a simple way to do so.

I’m gonna add an event listener to the document’s body.

When someone clicks it, we look for the event’s targeted id.

collect
0
Paritosh Pandey 2018-07-31
img

In this tutorial, we are going to create pagination with PHP and MySql.

It is probably possible that your SQL SELECT query may return result into thousand and millions of records.

And it is obviously not a good idea to display all those results on one page.

Paging means displaying all your fetched results in multiple pages instead of showing them all on one page.

How to create Pagination with PHP and MySql

MySQL’s LIMIT clause helps us to create pagination feature.

collect
0
Paritosh Pandey 2018-07-31
img

In this article, I am going to serve you a detailed information about how to create own Cryptocurrency like Bitcoin and Ethereum.

These are frequently called altcoins, as they all are alternative currencies.

There is one more name blockchain technology is very popular in cryptocurrencies network.

All the transaction’s details are stored in multiple blocks, and each blocks are connected with each other so that they create a chain of blocks that’s why it is called Blockchain.

Even anyone can fork the existing Bitcoin’s or Litecoin’s blockchain from Github as well.

Because developing a block-chain from scratch is obviously a big deal and it would definitely cost you a huge amount of money.

collect
0
Paritosh Pandey 2018-07-31
img

It is supported by almost all latest Browsers.

However, every CSS3 Property uses some predefined prefix for individual browsers, some of them are mentioned below.

-moz- Prefix is used for Mozilla Firefox, so the final code would be -moz-column-count

-o- is used for Opera, so the final code would be -o-column-count

-webkit- is used for Safari, so the final code would be -webkit-column-count

Chrome doesn’t need any prefix, so you can use directly as column-count

Paritosh Pandey 2018-07-31
img

Hello, today we are going to discuss on multi level category system in CodeIgniter which is a very common and essential module or feature of any e-commerce websites or any website.

Creating nested category system is not as easy as you think, but it is not impossible too.

Here I am going to deliver full step by step tutorial on how you can create such kind of module using Codeigniter & MySql.

How to create Multi Level Category System in Codeigniter

This module is based on the recursive function concept.

So let’s get started to develop multi level nested category system, carefully read below steps mentioned.

Paritosh Pandey 2018-07-31

Today I’m going to show you how you can add an autocomplete address search module on your website using Google Place API web service.

In our autocomplete address search module we have used a Jquery plugin named Select2, for type and search feature to our module.

Steps to implement an autocomplete address search module

The first step is to grab a google’s API Key, you can find it here.

placeholder: "Search for your city",

results: $.map(data, function (item) {

Paritosh Pandey 2018-07-31

By this article “resize an image without stretching in CodeIgniter” I’m going to show you the mathematics and logic of resizing an image to a different width and height without squeezing or stretching the original image.

If the destination image contains a different aspect ratio than the source image, then the source image will be cropped in the same ratio of destination image have.

How to resize image without stretching in CodeIgniter

I’m not going to explain about uploading an image as I’m focusing only resizing an image here.

In this article the step or module I’m going to explain you have to apply this module after uploading an image, so let’s get started.

paste bellow function in your controller

Paritosh Pandey 2018-07-31
img

In my previous post we have learnt How to close a DIV container when clicking outside using Jquery, I know it’s kinda off topic, because in this topic we are going to learn to convert timestamp to time ago in PHP, but it is my duty to expose all those interesting articles so that you can learn more.

Guys If you have used Facebook and you update status on your wall, upload photo or share something on Facebook then after uploading it, It display time as Just Now or you can also see your previous post time, it show like one week or month or year or day ago.

Importance of this System (Facebook like time ago system in PHP)

It is common to show dates on the Web in the format such as Published on January 12th, 2017, or 05/17/2017, 09:40:25 and 2017-09-12.

Each of the above examples shows the full date or time of some kind of activity on web applications – be it a published blog article, or a visitor comment, or perhaps an uploaded video.

After all, they are informative and human readable!

Paritosh Pandey 2018-07-31
img

In this article, you are going to learn that, how to create a distance calculator sort of module which can find distance between two addresses.

We are going to use google map API and PHP to accomplish this task.

The format for origin location and destination location could be one of the following:

to know more about permissible formats please visit Google’s official documentation page.

Step 2: source code Origin: Destination: Distance: rows[0]->elements[0]->distance->value / 1000).'

Km'; ?> Travel Time: rows[0]->elements[0]->duration->text; ?>

Paritosh Pandey 2018-07-31
img

Hello developer fellows, in this article, we are going to learn how you can install IonCube Loader in Localhost.

Installing an IonCube PHP extension can be quite hard for beginners, but it is not impossible of course.

IonCube PHP encoder was founded in 2002.

IonCube’s encryption system is used by PHP developers to protect their program’s source code so that any unauthorized person could not use the program illegally or couldn’t make any changes to files.

IonCube Loader is a PHP extension that reads and executes those files that are encrypted by IonCube.

Nowadays almost all server computers can be found IonCube installed by default.

Paritosh Pandey 2018-07-31
img

Probably, every PHP programmer had to create his own framework or library, and it was necessary to work quickly and do everything practically from scratch.

Often we need to test some of our ideas or algorithms and we write code for interacting with databases directly, without using ORM frameworks.

We bring to your attention an article in which the SQL-manager built-in in CodeLobster PHP IDE will be considered.

Creating and configuring a connection to MySQL

Go to the main menu "Tools" -> "MySQL" -> "SQL Manager".

Also, do not forget that the real data insertion will occur only after clicking the "Post Edit" button.

Paritosh Pandey 2018-07-31
img

In this article, we are about to learn how you can capture your website visitor’s Real IP Address using PHP.

Track Real IP address of website visitors using PHP

Following snippet of PHP code would help you to catch the visitor’s real IP address even they are surfing your website through a proxy.

IP stands for Internet Protocol.

IP gets allotted to every machine (computer device) which is connected to computer networks which use the Internet Protocol (TCP/IP) for their communications.

An IP is a unique identification that almost every computing device (personal computers, smartphones, tablets etc.)

Paritosh Pandey 2018-07-31
img

There are a couple of social networks which are popular around the world.

Nowadays website visitors or users are getting lazier and lazier, the most uncomfortable activity on the Internet is probably “Creating The Account“.

I recommend you to read all mentioned steps below carefully.

Follow these steps to get user’s profile data with LinkedIn API using PHP

Step 1: Creating Application at LinkedIn’s developer console and setting things up.

after filling the form up you will get redirected to the application’s dashboard page (something like bellow one)

Paritosh Pandey 2018-07-31
img

This tutorial is prepared for those Developers who want to get users latitude and longitude.

This can be done by many methods, here I’m going to use Google Place API to make such things easier.

The method and logic I’m going to use is when user fills the registration form up, we’d capture his city value (Note: city value would be Google Place Search), before proceeding further you have to read my previous post Auto complete Address Search Module Using Google API and PHP, this is the module from which we ask user to enter their location, further this location is used to capture user’s coordinates using another Google API.

Latitude and Longitude are the entity that represents the coordinates at the geographic coordinate system.

For example, every actual house has its own address (which includes the house number, the street name, city, country, etc), every single dot on the surface of the earth can be specified by the latitude and longitude coordinates.

Therefore, by using these coordinates we can specify virtually any point on earth.

Paritosh Pandey 2018-07-31
img

In this tutorial, I’m gonna demonstrate you how to track if a click event is being made outside of an HTML element.

Through this example, we are going to close or hide div using Jquery when a click action occurs outside of that element on which the DIV was produced by clicking.

If you have ever found with menus boxes that open on click event, but want them to close when a click event occurs outside of that dom elements.

Here is a simple way to do so.

I’m gonna add an event listener to the document’s body.

When someone clicks it, we look for the event’s targeted id.

Paritosh Pandey 2018-07-31
img

In this article, we are going to learn how you can directly post into facebook page using PHP from your website or through your own platform.

This SDK is a library with powerful features that enable PHP developers to easily integrate Facebook login and make requests to the Graph API.

1.4 – again in “Settings” you will see the App Secret, to grab it you have to click on show button and have to enter your facebook password.

2.2 – create an init.php file and paste below code into it, and replace APP_ID & APP_SECRET with your’s one (see 1.3 & 1.4).

echo 'No OAuth data could be obtained from the signed request.

User has not authorized your app yet.

Paritosh Pandey 2018-07-31
img

In this tutorial, we are going to create pagination with PHP and MySql.

It is probably possible that your SQL SELECT query may return result into thousand and millions of records.

And it is obviously not a good idea to display all those results on one page.

Paging means displaying all your fetched results in multiple pages instead of showing them all on one page.

How to create Pagination with PHP and MySql

MySQL’s LIMIT clause helps us to create pagination feature.

Paritosh Pandey 2018-07-31
img

This is a walkthrough of how to setup and use DocRaptor’s PHP library:

DocRaptor can be installed via the Composer dependency manager or by downloading the files directly.

Simply include autoload.php to get access to the DocRaptor library:

Unlimited watermarked test documents can made using the “YOUR_API_KEY_HERE” key.

If you’re ready to make non-watermarked documents, you can get your own API key by creating an account.

If you want to use an existing website page, just input the URL like this:

Paritosh Pandey 2018-07-31
img

In this article, I am going to serve you a detailed information about how to create own Cryptocurrency like Bitcoin and Ethereum.

These are frequently called altcoins, as they all are alternative currencies.

There is one more name blockchain technology is very popular in cryptocurrencies network.

All the transaction’s details are stored in multiple blocks, and each blocks are connected with each other so that they create a chain of blocks that’s why it is called Blockchain.

Even anyone can fork the existing Bitcoin’s or Litecoin’s blockchain from Github as well.

Because developing a block-chain from scratch is obviously a big deal and it would definitely cost you a huge amount of money.