The following JavaScript link in your page will cause the page to scroll to the top:
Category Archives: Programming
Speed up Your Website & Reducing Load on Web Server
If you ever have developed a website which has tasted a bit of success and has reached to serious volume of traffic, welcome to the Big boys club and new headaches!
Protected: SEO Tools
There is no excerpt because this is a protected post.
PHP Predefined Constants
Core Predefined Constants These constants are defined by the PHP core. This includes PHP, the Zend engine, and SAPI modules.
PHP Rename File If Exists
function rename_if_exists($dir, $filename) { $ext = strrchr($filename, ‘.’); $prefix = substr($filename, 0, -strlen($ext)); $i = 0; while(file_exists($dir . $filename)) { // If file exists, add a number to it. $filename = $prefix . ++$i . $ext; } return $filename; }
PHP readfile
Returns the number of bytes read from the file. If an error occurs, FALSE is returned and unless the function was called as @readfile(), an error message is printed.