Mostly JQuery receives response from the server as JSON data formate from PHP. But some times we need to send bunch of data to the server. For that this..
Cross-Origin Request Blocked error occurs on when a request sent from a domain(Domain-A) to an another domain(Domain-B). Domian-B need access authorisation to allow Domian-A. So Cross-Origin Resource Sharing (CORS) header is added at the top..
Read More » Posted on 2016-06-16 07:38:06PHP CORS
Emojis or BMP character have more than three bytes and maximum of four bytes per character. To store this type of characters, UTF8mb4 character set is needed in MySQL. And it is available only in..
Read More » Posted on 2016-06-14 06:55:19PHP UTF8mb4 Emojis
From MySQL version 5.6.+ allow to add multiple timestamp datatype column and can set Default as CURRENT_TIMESTAMP Previous versions of MySQL allow to add multiple timestamp datatype column but NOT..
Read More » Posted on 2016-06-14 06:51:05MySQL PHP
Every website or blog is needed page count to show the top visiting pages. It helps visitors to look around the interesting posts and for analysis. Some methods are..
Read More » Posted on 2016-05-29 08:55:09PHP MySQL Web optimization
There are several ways to occur 500 Internal server Error. Sometimes we can not assess why does it comes? Then First need is to check Error Logs from the server...
Read More » Posted on 2016-05-26 08:00:24PHP Internal Server Error Htaccess
In PHP, trim(), rtrim() and ltrim() functions with character_mask that trim characters in all the possibilities ways of prefix. $my_text = 'Reading RBI books on travel is a best policy.'; #rtrim($string,..
Read More » Posted on 2016-05-25 07:14:21PHP Trim
Permission denied issue mostly come in two cases, In first case, check the directory which you want to access have write permission To check, cd /opt/lampp/htdocs/parent-dir/ ls -al For image-dir directory..
Read More » Posted on 2016-05-05 08:39:27PHP Apache Ubuntu Linux
This is simple function to make clean urls. It supports english and other UTF-8 language characters(like tamil, hindi, arabic..) in the urls. Using preg_replace to remove special characters in the..
Read More » Posted on 2016-05-04 08:23:31PHP UTF8 URL
Here, we are using imagecopyresampled to resize the image. It will resize with smoothing of image in less CPU usage. And it results better than imagecopyresized, Following working example..
Read More » Posted on 2016-04-29 08:59:15PHP Files Images