Category: PHP

file uploading in php 0

How to upload files in php

This example explains how to upload files in PHP. PHP makes uploading files easy. You can upload any type of file to your Web server. But with ease comes danger and you should be...

cpanel php change memory limit 0

Solution for Fatal Error: Allowed Memory Size Exhausted

This example gives you the solution for Fatal Error allowed Memory Size Exhausted which causes to stop application running all of sudden. I have purchased the GOOD DOMAIN Hosting w/ Cpanel and tried to...

php date time functions 0

PHP Date and Time Functions

PHP offers a few really nice functions to manipulate dates and times. With the functions built into PHP, you can easily pull individual parts of a date or time and use it or format...

PHP Arrays definition looping sorting 0

How to connect to MySQL database using PHP

This example shows you to how to connect to MySQL database using PHP. Before you can get content out of your MySQL database, you must know how to establish a connection to MySQL from...

check for gzip response header compressed 1

How to speed up your website with gzip compression

Compressing your content saves bandwidth and improves render time, particularly on devices with slow internet connections but it also reduces load on your server. While it does take some amount of computer power to...