HS Banner
HS Codebank Articles
Page 1 of 7

Populate HTML Table on Page Load. 06/17/2022

Description:

Here's a simple way to populate an HTML table on page load using PHP.

Author: Admin
Language: PHP
Tags: html php table foreach
Read More8

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

List All Files in a Directory Using PHP 04/05/2022

Description:

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 More25

Send email from a VB.Net application 03/26/2022

Description:

Here's an example of how to send an email in a VB.Net application.

Author: Admin
Language: Visual Basic .NET
Tags: send email vb.net
Read More26

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

Bad Word Filter 02/26/2022

Description:

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 More32

Securing Session INI Settings for PHP 02/17/2022

Description:

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 More53

Convert decimal to fraction and fraction to decimal 02/13/2022

Description:

Here's two functions I found in the wild that will convert a decimal to fraction and a fraction to decimal

Author: Admin
Language: Visual Basic .NET
Tags: fraction decimal convert
Read More50

Scan Your Website Headers 02/12/2022

Description:

Here's a great site to scan the security headers for your website.

Author: Guitarman
Language: Plain Text
Tags: headers security
Read More51

Web Application Penetration Testing 01/29/2022

Description:

Penetration testing or ethical hacking is a proactive way of testing your web applications by simulating an attack that's similar to a real attack that could occur on any given day.

Author: Admin
Language: Plain Text
Tags: penetration testing kali linux
Read More64

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