Popular

Close browser tab using JavaScript
To close the current tab or browser window in JS, just call the method...
2119
0
Filter files by extension of input file
The accept attribute in sets the filter for file types in the file selection window.
697
0
Examples of using cURL in PHP
cURL PHP is a library for receiving and transmitting data via protocols such as HTTP, FTP, HTTPS. The library is used...
329
0
Refresh the page with JS / HTML / PHP
Collection of methods for reloading a page or browser tab.
305
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.
269
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.
252
0
Styling Checkbox
Here are some examples of how to change the look of checkboxes using CSS, images and some JS.
174
0
Auto height textarea
Auto-resizing textarea can be done in the following way...
174
0
Whois Server List
This table contains all WHOIS servers (port 43) that provide information about domains.
170
0
Collection of CSS gradients
A selection of 23 backgrounds with linear and radial gradients.
154
0
Switch toggle checkbox
CSS styling of checkboxes using the Checkbox Hack method in the form of switches (for example, as in iOS, Google...
154
0
Emoji character table
Full table of emoji symbols and their HTML codes.
151
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.
150
0
List of MIME types
Below is a list of MIME headers and file extensions.
149
0
Smooth background change
This effect can be easily done through the CSS transition property for example buttons, menus, etc.
148
0
Finding MySQL Duplicates
A collection of queries for finding, changing and deleting duplicates in a MySQL table by one and several fields.
128
0
PNG standard cursors
Images of standard Windows 7, Windows 10 and MacOS cursors in PNG format.
121
0
Automatic setting of the user's time zone
date_default_timezone_set sets the default timezone used by all date / time functions.
113
0
Working with PHP arrays - creating, filling, deleting
Basic examples of working with PHP arrays. Creation, filling, extraction and removal of values.
107
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.
100
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.
96
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...
95
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...
91
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...
89
0
Aligning a block to the center of its parent
Examples of how to position an element in the center of its parent using absolute, flexbox and grid layout.
85
0
Item appearing in turn
Examples of how to make elements progressively appear using standard jQuery animation functions.
83
0
Connecting fonts in CSS
If you do not delve into the details, you can quickly connect the font like this ...
82
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...
75
0
Writing and reading files in PHP
Examples of saving and reading text data and arrays to files.
73
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.
69
0