PHP Shuffle 09/11/2022
Randomizes the order of the elements in an array.
Tags: php shuffle array
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.
Tags: list files directory php glob scandir opendir readdir closedir filesystemiterator
Bad Word Filter 02/26/2022
Here's a filter you can use to remove bad words from user submitted data.
Tags: php bad word filter
PHP whois lookup Class 12/05/2021
This is a standalone php class to find whois information of a domain or IP.
TcpClient Class 04/01/2021
This is a class I've used on a network chat program I built.
Find missing numbers in a sequence. 03/29/2021
Returns the missing numbers in a sequence.
Language: Visual Basic .NET
Get Json String From URL 03/25/2021
Get Json string from url and convert to DataTable.
Powershell Script 03/24/2021
Here is a simple script that I use to copy and rename my daily reports.
SHA256 Class 03/19/2021
Computes the SHA256 hash for the input data.
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.