PHP CPD (PHP Copy Paste Detector) – Detecting duplicate code in PHP files
PHP CPD (PHP Copy Paste Detector) – Detecting duplicate code in PHP files
It is a PEAR tool that makes it easier to find duplicate code in php application.
PHP CPD (PHP Copy Paste Detector) – Detecting duplicate code in PHP files
It is a PEAR tool that makes it easier to find duplicate code in php application.
What is PHP Code Sniffer: A package for syntax checking. It can check code against defined rules, covering anything from white space through document comments… Read More »PHP CodeSniffer – A tool to help writing codes as per coding standard guideline.
What is PHP APC: Alternative PHP Cache, one of the most popular caching mechanism for PHPโs op-code caching. Once activated, it starts caching PHP codes… Read More »Using APC(Caching Mechanism) with PHP.
Download and Extract the PHP library to the same directory level where the PHP script is to be used for connecting to a remote server… Read More »File upload via SFTP using php
What is it: Invalidated input is the most common and well-known security flaws in web applications andย is the root cause of many of the exploits.… Read More »Security issue-1: Invalidated Input Errors
What is Gearman: Gearman provides a distributed application framework for work with multiple machines or processes. It allows applications to complete tasks in parallel so… Read More »PHP Gearman
Sometimes while doing soap call, it does not return the response result due to an invalid character “” in XML response and throws soap error… Read More »SOAP: looks like we got no XML document
It is very easy to use DATE_FORMAT in simple MySQL query like: $sql = select DATE_FORMAT(STR_TO_DATE(DateTime`,’%Y%m%d’),’%Y%m%d’) from table; But to use DATE_FORMAT using Zend_DB query… Read More »Using DATE_FORMAT in Zend_DB query in Zend Framework
Create a static function for sort inside class: private static function merchantSort($a,$b) { ย ย ย ย return …// the sort } Call the sort function… Read More »Using usort in php OOPS
If Nothing Works Except the Home Page of ZF1 and ZF2 projects and display 404 error for a page not found Example: Below home page… Read More »Fix Page not found error for Zend Framework