HS Banner
HS Codebank Articles
Page 1 of 1

HTML Datetime Input Box 05/15/2022

Description:

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 More7

PHP File Upload 03/11/2022

Description:

Here's some sample code to upload a file using PHP.

Author: Guitarman
Language: PHP
Tags: php uplaod file
Read More58

Example of .htaccess for PHP 10/06/2021

Description:

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 More92

Webserver Class 04/15/2021

Description:

This is a simple http webserver class I found years ago.

Author: Guitarman
Language: C#
Tags:
Read More109

Redirect HTTP to HTTPS on IIS 04/10/2021

Description:

Add this to your web.config file to redirect users to HTTPS on IIS web servers. (ASP.Net and PHP)

Author: Guitarman
Language: HTML, XML
Tags:
Read More73

SHA512 Class 03/30/2021

Description:

This is the SHA512 HASH using the System.Security.Cryptography.HashAlgorithm.

Author: Admin
Language: C#
Tags: sha512
Read More75

SHA256 Class 03/19/2021

Description:

Computes the SHA256 hash for the input data.

Author: admin
Language: C#
Tags: cs
Read More93

Submit Your Code

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

Apache Config
Bash
C
C#
C++
CoffeeScript
CSS
Diff
GO
HTML, XML
HTTP
Java
JavaScript
JSON
Kotlin
Less
Lua
Makefile
Markdown
Nginx Config
NSIS
Objective-C
Perl
PHP
Plain Text
PowerShell
Properties
Python
Python REPL
R
Ruby
Rust
SCSS
Shell Session
SQL
Swift
TOML, also INI
TypeScript
VB Script
Visual Basic .NET
YAML
Request New Language