Utility

What is the difference between mysql utf8 and utf8mb4

The character set named utf8 uses a maximum of three bytes per character and contains only BMP characters. As of MySQL 5.5.3, the utf8mb4 character set uses a maximum of four bytes per character supports supplemental characters: For a BMP character, utf8 and utf8mb4 have identical storage characteristics: same code values, same encoding, same length. For...

Unable to negotiate with 140.211.10.43: no matching key exchange method found

Unable to negotiate with 140.211.10.43: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1 fatal: Could not read from remote repository. The problem came into existince while configuring my newly created drupal module using GIT on my local windows machine. everthing goes well till we run the following command: git push origin 7.x.1.x  OR git push origin...

Using image as link in CAKEPHP and html code escape problem

Following Code is required for that: echo $this->Html->image("your_img.png", array( 'url' => array('controller' => 'some_controller', 'action' => 'display') )); Will output: <a href="/some_controller/display"> <img src="/img/your_img.png" /> </a>   Remember: When you want to give image height width as well inside link do it as: <?php echo $this->Html->link(                       $this->Html->image("go.png", array( 'alt' => "Go","height"=>30,"width"=>30) ),          ...

What is a Class in PHP?

In simple words, class is a user defined datatype. Which have its own constants, variables and functions. The variables of a Class are called properties of the Class and Functions of the Class are called  methods of the Class. Naming Convention Name of the class can be anything provided that it must be a combination of letters, underscores...

How to delete the Windows.old folder from Windows 10 or Windows 8

To remove Windows.old files, we must follow these steps: Press windows button and type or search for "Disk Cleanup"  and launch disk clean desktop app. ​This may take little time as Disk Cleanup scan the files before loading. There are two sections on loaded popup. files to delete and clean up system files.  Click on Clean up system files. Again...

Opening a particular folder using command prompt windows 10

Procedure is same for windows versions, xp, vista, windows 7, windows 8, windows 8.1 and windows 10. Follow the steps below: Way 1 Launch Run command/dialog by press windows button + R or Search for Run in start menu. Type the complete folder path including drive letter i.e. C:\my\folder\to\open. Folder must exists in your drive on given path. Way 2 Launch command...

Select Your Currency
$