You Are Viewing Posts Under Category: PHP Codes

Pretty Print JSON Data Formatter In HTML Using PHP
| December 15th, 2022 | 2 Comments | HTML-CSS-PHP-JavaScript / PHP CodesSo many times we are required to print the JSON in a pretty format because it is easy to read and understood. As we know JSON (JavaScript object notation) is a lightweight data-interchange format. It is easy for humans to read and write. This tutorial shows how to pretty print JSON data in HTML usin...
How To Declare and Initialize PHP Objects Without Class?
| November 27th, 2022 | 0 Comments | HTML-CSS-PHP-JavaScript / PHP CodesIn this article, we go over how to initialize an object in PHP without Class. Initializing an object means that we give an object that has been created from a class a value or values. For example, say we create an object named car from the class of the vehicle. The vehicles class represents a [&hell...
Getting Code Executed Inside PRE/CODE Tags Even They Are Properly Escaped
| October 31st, 2022 | 0 Comments | HTML-CSS-PHP-JavaScript / PHP CodesGetting code executed inside pre/code tags even if they are properly escaped in WordPress blog or custom website then here is a quick fix for WordPress and custom websites. It’s time to fix this up to stop breaking your templates or blog pages until you find the main culprit because sometimes ...
How To Encrypt Secure Passwords In New PHP And Store In Database?
| October 6th, 2022 | 0 Comments | HTML-CSS-PHP-JavaScript / PHP CodesHi! Here let’s see how to secure passwords in PHP. Developers have a huge responsibility when handling sensitive user data, such as passwords. They must take necessary precautions to store passwords and other sensitive information in a secure manner. Old-school methods use the md5 algorithm t...
How To Convert Multipage PDF To JPEG Images In PHP?
| September 25th, 2022 | 2 Comments | HTML-CSS-PHP-JavaScript / PHP CodesYou may need to know how to convert pdf to jpeg in PHP using imagick. PHP offers some good native extensions for image processing. Imagick is one of those extensions with which we can easily create JPEG images from pdf without the need for third-party tools. The library does not need installation si...
How To Get Latitude And Longitude From Address Using PHP And Google Maps API?
| September 7th, 2022 | 0 Comments | HTML-CSS-PHP-JavaScript / PHP CodesHi! In this tutorial, let’s see how to get latitude and longitude from addresses using google maps geocoding API and PHP. Geocoding is the process of converting physical addresses into geographical coordinates such as latitude and longitude so you can use them to create markers on Google Maps....










