HTML datetime input box 05/15/2022
Here's some code to set the default datetime for an input box with its type set to datetime-local.
Author: Admin
Language:
PHP
Tags:
input
datetime-local
php
html
Read More2
List All Files in a Directory Using PHP 04/05/2022
In PHP there are several ways to get a list of files in a PHP application.
Author: Admin
Language:
PHP
Tags:
list
files
directory
php
glob
scandir
opendir
readdir
closedir
filesystemiterator
Read More18
PHP File Upload 03/11/2022
Here's some sample code to upload a file using PHP.
Author: Guitarman
Language:
PHP
Tags:
php
uplaod
file
Read More21
Bad Word Filter 02/26/2022
Here's a filter you can use to remove bad words from user submitted data.
Author: Admin
Language:
PHP
Tags:
php
bad
word
filter
Read More23
Securing Session INI Settings for PHP 02/17/2022
By securing session related INI settings, developers can improve session security. Some important INI settings do not have any recommended settings. Developers are responsible for hardening session settings.
Author: Admin
Language:
Plain Text
Tags:
php
manual
cookie
securing
session
Read More44
Predefined PHP Variables 01/17/2022
PHP provides a large number of predefined variables to all scripts. The variables represent everything from external variables to built-in environment variables, last error messages to last retrieved headers.
Author: Admin
Language:
PHP
Tags:
php
Read More53
PHP Switch Statement 01/09/2022
Use the switch statement to select one of many blocks of code to be executed.
Author: Guitarman
Language:
PHP
Tags:
php
switch
Read More73
PHP whois lookup Class 12/05/2021
This is a standalone php class to find whois information of a domain or IP.
Author: Guitarman
Language:
PHP
Tags:
php
Read More105
Example of .htaccess for PHP 10/06/2021
A .htaccess (hypertext access) file is a directory-level configuration file supported by several web servers, used for configuration of website-access issues, such as URL redirection, URL shortening, access control (for different web pages and files), and more. The 'dot' (period or full stop) before the file name makes it a hidden file in Unix-based environments.
Author: Admin
Language:
HTTP
Tags:
html
Read More79
PHPMailer 09/19/2021
PHPMailer – A full-featured email creation and transfer class for PHP
Author: Admin
Language:
PHP
Tags:
Read More72
HTML datetime input box
List All Files in a Directory Using PHP
Send email from a VB.Net application
PHP File Upload
Bad Word Filter
Securing Session INI Settings for PHP
Convert decimal to fraction and fraction to decimal
Scan Your Website Headers
Web Application Penetration Testing
Predefined PHP Variables
PHP Switch Statement
Add Two Numbers With Python
PHP whois lookup Class
SQL Query Examples
Example of .htaccess for PHP
PHPMailer
PHP min() and max() Functions
Send/Export DevExpress Reports to PDF
Execute JavaScript using onclick event
Write Coils Using Modbus
PHP whois lookup Class
PHP htmlentities
Webserver Class
HS-HASH
SHA256 Class
Send/Export DevExpress Reports to PDF
NSIS Installer Script
Escaping from HTML
HS Progress Bar
SQL Connection and Query
If you would like to share your code on HS Codebank you can submit it using the contact page, email, or by registering and clicking the submit article button.
Register Contact Us