Increase PHP Memory Allowance Using ini_set()
On rare occasion, I need to up the memory allowed for PHP. Usually it's when I deal with large files and don't necessarily care about optimizing the file reading process but simply getting the file opened. There's an easy way to increase to amount of memory allowed to PHP right in your script:
The above code will increase the maximum amount of memory available to PHP to 16 MB. Again, the setting is only adjusted for the running script.
For quite a long time now websites with the so called "parallax" effect have been really popular.
In case you have not heard of this effect, it basically includes different layers of images that are moving in different directions or with different speed. This leads to a...
The PHP - Content & Header
The following snippet goes at the...