Now a days while passing the data from client side to serverside it’s necessary to encrypt it before sending it to the server. There are different ways for it. Here we are using normal encrpt and decrypt algoritham for data transmission on server. Encrypt in JavaScript and Decrypt in PHP Please find JavaScript code below. See […]
PHP

How to Use Index in Symfony
Symfony is the leading PHP framework to create websites and web applications. Built on top of the Symfony Components. It provides great packages list which helps us a lot to create a robust application. It comes with the great explanation of customization and code debugging feature. Let’s see an example of how to use Index […]
How to pass variable from controller to form In Symfony?
It will be the complex and time-consuming process to create software applications, however, utilizing a right framework can help you to develop software faster(by reusing code in form of components and modules), and will work better. There are so many PHP frameworks that are based on the MVC design pattern. Today we are going to […]

Public Private Protected – PHP
Public Private Protected are also known as access control modifiers. Public: Public method or variable can be accessible from anywhere. we can access them inside the class, outside the class and in child class also. Private Private: Method or property with private visibility can only be accessible inside the class. we can not access private […]

Multiple Inheritance in PHP using Trait
What is a trait? PHP 5.4.0 was coming with one amazing feature. In an earlier version of PHP, there is no any method to implement the multiple inheritance in PHP. PHP 5.4.0 comes with a trait. traits in PHP – provide a mechanism which will allow us to reuse the code in single inheritance languages such […]