Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times. …
Trending Story
PO to MO converter
Simply we can convert PO(portable Object) to MO(Machine Object) Using Poedit or from the GNU gettext msgfmt command.( see the …
Extract the strings from source code for Translation (po file)
To extract the strings to be translated from the program source code. This is achieved with xgettext. I think you …
Check if string is UTF-8 encoded
This is_utf8() function is to detect UTF-8 strings, and return a boolean value. The for loop is to go through …
Creates a temporary file with PHP
Creates a temporary file with a unique name in read-write (w+) mode and returns a file handle . The file …
Block IPs with .htaccess
You want to block access of your site from particular IP Address, use the following tips!!!. Create a .htaccess file …
Regular expression for type specifier
We are commonly using type specifiers in PHP. If you want to check for any kind of type specifiers occurrence, …
ASCII Table And Description
ASCII stands for American Standard Code for Information Interchange.The ASCII character set contains 128 coded characters. Each ASCII character is …
Changing the color of the active link
Set the color of active link when the selected page loads.
write the active class style for the link.
The CSS
.active
{
color:red;
}
put all …
Simple bot detection with php
Here, I am gonna describe how can we detect the visits of the popular bots with PHP.
Array of some known …
Sitemap guidelines
Sitemap index file must be UTF-8 encoded.
A single Sitemap file cannot list more than 50,000 URLs and must be no …
Creating and Submitting a sitemap (or site map) of your site.
The term Sitemap/site map is meant to help users or crawlers find the informations about your site.Simply ! in other …
PHP header types
Some of the commonly used PHP header content-types are listed below.
Atom
header(‘Content-type: application/atom+xml’);
Audio
header(‘Content-Type: audio/mpeg’); // mpeg /mp3 files
header(‘Content-Type: audio/x-wav’); // wav …
Use PHP functions in JavaScript
Well ! There is an open source project called PHP.JS which port PHP functions to …
