Popular

Close browser tab using JavaScript
To close the current tab or browser window in JS, just call the method...
4644
0
Filter files by extension of input file
The accept attribute in sets the filter for file types in the file selection window.
1652
0
Whois Server List
This table contains all WHOIS servers (port 43) that provide information about domains.
1148
0
How to load file content into textarea
All modern browsers support the FileReader JS object. Using it, you can asynchronously read the contents of the file...
1052
0
Scrolling through the contents of a table
To make a table with a fixed height and vertical scrolling, you need to split it into two parts.
952
0
Session lifetime in PHP
By default, in php, the session lifetime is only 24 minutes, and cookies are saved until the browser is closed, such parameters are set on many hosting services.
947
0
Switch toggle checkbox
CSS styling of checkboxes using the Checkbox Hack method in the form of switches (for example, as in iOS, Google...
879
0
How to prevent opening a site in an iframe
Several options for how to prevent opening pages of your site in an iframe using htaccess, PHP and JS.
849
0
Smooth background change
This effect can be easily done through the CSS transition property for example buttons, menus, etc.
537
0
Generating XML file for Google Merchant
An example of generating an XML feed for Google Merchant in PHP with a minimum set of required fields.
493
0
Styling Checkbox
Here are some examples of how to change the look of checkboxes using CSS, images and some JS.
413
0
Auto height textarea
Auto-resizing textarea can be done in the following way...
399
0
Writing and reading files in PHP
Examples of saving and reading text data and arrays to files.
317
0
Collection of CSS gradients
A selection of 23 backgrounds with linear and radial gradients.
285
0
Save open tab in Bootstrap Tabs
This article introduces two methods on how to keep open tab in Bootstrap Tabs, browser page reload box.
284
0
Links to messengers from the site
HTML links to open chat and other functions of popular instant messengers.
284
0
List of MIME types
Below is a list of MIME headers and file extensions.
271
0
Emoji character table
Full table of emoji symbols and their HTML codes.
208
0
How to read SSL certificate from PHP
The SSL certificate can be obtained using the Stream Context, and the openssl_x509_parse() function will help to parse...
203
0
PNG standard cursors
Images of standard Windows 7, Windows 10 and MacOS cursors in PNG format.
201
0
Synchronizing files between sites
This question arises when a site has a copy, for example a regional site or a site in another language, but they have...
180
0
How to set up Last-Modified
The Last-Modified header helps to optimize the loading of web pages and make the job easier for search engines.
168
0
Cursors in CSS
The "cursor" CSS property is responsible for the appearance of the cursor. They can be set to look from predefined names of cursors, and you can display the cursor from a file.
166
0
Finding MySQL Duplicates
A collection of queries for finding, changing and deleting duplicates in a MySQL table by one and several fields.
159
0
Automatic setting of the user's time zone
date_default_timezone_set sets the default timezone used by all date / time functions.
153
0
How to make blocks of the same height
The easiest way to make blocks with the same height is using jQuery, for example, let's take the following block layout.
153
0
Connecting fonts in CSS
If you do not delve into the details, you can quickly connect the font like this ...
142
0
Prevent PHP scripts from executing in a directory
If you want to prohibit the execution of php scripts in a directory, for example, in uploads, you need to put the...
141
0
CSS styles for horizontal lines
Collection of horizontal lines with hr tag of different types and styles.
138
0
Non-standard CSS gradient
A selection of unusual CSS3 gradients showing all the power of linear-gradient.
127
0