
Search In
You can create your QR Code using the PHP QR Code library. Download the QR Code library and include in your script file.
Example:-
<?php
include "phpqrcode/qrlib.php";
// create your QR Code with new text and display it
QRcode::png("Test QR Co
PHP has a large number of variable the are defined already.
PHP provide an additional set of predefined arrays containing variables from the web server.
PHP superglobal
1. $GLOBALS- It got the reference to every variable in the global scope.
<
I am writing this blog for beginners who are learning Cakephp. When you learn Cakephp then first thing that reminds is that which version are you installing Cakephp. To know the version of Cakephp let me tell you that there are two ways for getting t
Variable declaration are the weak part of type casting in PHP, therefore we call PHP as a weak and dynamic.
PHP7 has introduced an addition optional feature for each file, we can set all function calls and return statements with in a file, 
The rand() function is used to generate a random integer number.
How to use rand() function?
Syntax of rand() function:rand(); or rand(min,max);
min:- min is use for Specifieing the lowest number that is retuned. Default min is 0.
max:-max is use
In WordPress, it is very easy to identify the wp version of website via checking source of web page and this information might be a security leak on your site, if you are not running the most updated version of WordPress. therefor you are providing t
We can generate all possible combinations of given string. Here I made a function get_string_combinations($str), this function will accept string as a parameter and will give you all possible combinations of that string. In this function, I have conv
Suppose in our application we need to perform a mathematical operation in many different parts, then we could create our own component to use in many different controllers.
1. First create a file named MathComponent.php in app/Co
Hello Reader's, If you want to know about shuffle function in PHP then this article is helpful for you.
Lets say you want to generate 100 numbers on a random basis, a good way would be to generate an array with the numbers in order, then shuffle it.
To generate an excel file in core php we can use PHPExcel library.
download library from the following link here - Download PHPExcel library
Lets cut the chase and see how can we do it :
First of all extract the .zip folder of the l
