HS Banner
HS Codebank Articles
Page 1 of 1

User-defined functions 07/08/2023

Description:

User-defined function are used to preform task in PHP code like saving a user's form input to a database.

Author: Admin
Language: PHP
Tags: functions php
Read More955

Environment GetFolderPath Method 10/21/2022

Description:

GetFolderPath (Environment+SpecialFolder) gets the path to the specified system special folder.

Author: Admin
Language: Visual Basic .NET
Tags: environment getfolderpath
Read More348

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 More459



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 More352

PHP min() and max() Functions 09/05/2021

Description:

The min() and max() functions can be used to find the lowest or highest value in a list of arguments:

Author: Admin
Language: PHP
Tags:
Read More279

Length Conversions 05/08/2021

Description:

Functions to convert length

Author: Guitarman
Language: Visual Basic .NET
Tags:
Read More283

Volume Conversions 05/08/2021

Description:

Functions to convert volumes

Author: Guitarman
Language: Visual Basic .NET
Tags:
Read More253



Convert Temperature. 05/08/2021

Description:

Functions to convert temperatures in VB.Net

Author: Guitarman
Language: Visual Basic .NET
Tags:
Read More278

Webserver Class 04/15/2021

Description:

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

Author: Guitarman
Language: C#
Tags:
Read More375

Evaluate Math Expression 03/29/2021

Description:

Evaluate a math expression entered in a text box.

Author: Admin
Language: Visual Basic .NET
Tags:
Read More279

Submit Your Code

If you would like to share your code on HS Codebank you can submit it by registering and clicking the submit article button on this page.
LoginRegisterContact Us

List of Supported Languages
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