Recursion and recursive routines is a bit more complicated, it can be defined as a regular function that calls itself. Learning when and how to apply recursion is probably a lot more difficult than just learning what recursion is? and being able to explain recursion effectively in an interview situation is even more difficult…
Equal and Identical comparison operators in PHP When comparing values in PHP for equality you can use either the == (equal) operator or the === (identical) operator. Do you know, what is the difference? Very simple the == operator just checks to see if the left and right values are equal. But, the === operator…
Hopefully, you can think that !== operator as being more ‘strict’ than the != operator. This is because the !== operator will say that the two operands being compared are not equal only if the type of the two operands are the same, but their values are not equal. This is desirable behaviour because the…
AJAX file uploading using jQuery & PHP: In the day to day life of web programming, you will need to upload the files on server without page refresh. It is very easy with flash, but will little bit tricky with XMLHttpRequest (JavaScript Browser Object) and AJAX. Find the below code or Package that will help you…
You have to follow below some very simple steps to run cron file in windows system. 1. Create a cron.php file (the code you want to execute at a regular interval) 2. Create a CRON.BAT file, copy and past the below code in the file D:\xampp\php\php.exe D:\xampp\htdocs\Application\cron.php The path I have written…
Syntax uniqid (prefix, more_entropy); A unique website ID can be created in PHP using the uniqid () function. This function has two parameters that can be set. prefix This is what will be appended to the beginning of each ID. more_entropy If this is false or not specified it will return 13…