How to secure input in php

php sanitize form input

Sanitizing data means Remove any illegal character from the data.  In php you need to impliment this one for secure input for MySQL. This one also help to know you about your question - How...

Getting checkbox values on submit in PHP

Getting values on submit in PHP from multiple checkbox

If you have multiple options, then you want to get the checked values to store them in variable on form submit, Then you can use this technique. A good method which is a favorite of mine and for many ...

Getting the screen density programmatically in android

Getting the screen density programmatically in android?

You can get info on the display from the DisplayMetrics struct: DisplayMetrics metrics = getResources().getDisplayMetrics(); This will give you: 0.75 - ldpi 1.0 - mdpi 1.5 - hdpi 2.0 - xhdpi 3....

Convert text to image in php

How to Convert Text to Image using

Some of the cases we need to create an image dynamically when the web page is loading, Then a question raised in the mind - Can I convert text to image in PHP? the answer is Yes! why not. For doi...


Generate QR code in php using google api

How to Generate QR Code with PHP

The QR code (Quick Response Code) is the trademark for a type of matrix barcode. A QR code is a machine-readable code consisting of an array of black and white squares. Normally we can say that Q...

How To Call Native Java Methods From Webview Javascript

Call Java function from JavaScript over Android WebView

When any developer developing an Android app based on Webview, that time developer faces a number of problems. So, this post is based on one of that issue, which is - How to call native Java methods f...

Tips for regular uses during Android development

How to become a better Android developer

Tips for regular uses during Android development, these tricks and tips are mostly used by developers. Table of Contents How to get Device Name? How to get the current Version Code? How t...

How To Create a Snackbar / Toast Bootstrap

Tooltips/Popups to show a message

Hi, Sometimes we need show a piece of information to the user as a popup, but I can't use the Bootstrap modal for that. So that time we need to create a Snackbar, or we can say that a Toast. ...


Top