Simple Two Way Encryption in PHP

Simple two-way encryption in PHP

In this tutorial, we will see how to encrypt and decrypt a string in PHP. We always use encryption in programming to secure data from malicious user, but this encryption is one way encryption. In this article we will learn how to use simple two way encryption in PHP.  Here we will use openssl_encrypt() function … Read more

How to Connect Server Database from Localhost

How to Connect Server Database from Localhost

It is very easy to connect server database from localhost. In this tutorial, we will see how to connect server databases from local server.  To connect to server db mean to use remote MySQL connection, First of all we have to activate remote MySQL from cPanel. Login to cpanel. Go to remote MySQL option. Add … Read more

How to Send XML Data to API With Curl PHP

How to Send XML Data to API With Curl PHP

Being a web developer you must need to know how to send data to API in PHP. We send data to web services using curl in PHP programming language. In this tutorial, we will see how to send XML Data to web services using curl in PHP. In API integration, we need to send request to … Read more

What is stdClass in PHP

What is stdClass in PHP

Stdclass is a generic empty class which is used to type case other type value to object. we can create anonymous PHP class. Using this feature we can create a new object with its own properties. In simple words: Stdclass is an alternative to associative array. To use this we don’t need to write a … Read more