How to change the maximum upload file size for PHP scripts
Maximum upload file size is determined by 2 settings in php.ini file. They are upload_max_filesize and post_max_size.
Maximum upload file size is determined by 2 settings in php.ini file. They are upload_max_filesize and post_max_size.
array_unique() function can remove the duplicate elements or values from an array. It takes an input array and returns a new array without duplicate values.
There are solutions for those who don’t want to use or don’t have access to FTP or SSH for file management. Here are good simple web-based file managers for PHP.
To remove the last character from a string in PHP, we can use these functions: rtrim, substr, and mb_substr.
Every PHP developer need a tool to manage MySQL when developing a database-driven website. Many web hosting services include phpMyAdmin in their built-in package.
Before going into solution we should be familiar with 3 round up functions PHP provides. floor() rounds a number DOWN to the nearest integer if necessary. ceil() rounds a number UP to the nearest integer if necessary. round() rounds a number to specified precision (number of digits after the decimal point). The precision can also be negative …
How to Round Up a Number to Nearest 5 or 10 in PHP Read More »
Looping through arrays to display data or to do something with data elements is a common task in PHP. In this post, I will introduce 3 ways to loop through an array.
In PHP, it is easy to convert Hexadecimal to Decimal. PHP provides hexdec() function which returns the decimal equivalent of the hexadecimal number represented by the hex_string argument.
This can be done easily in PHP. The language provides 2 functions which are useful in this case
Most Ubuntu servers come with PHP 5 installed. With recent updates of major PHP CMSs and platforms it requires users to update PHP to version 7.2 to benefit from latest changes and security patches.
We care about your privacy and data security. Google serves cookies to analyse traffic and show ads on this site. By using this site you agree to these cookies being set. more information
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.