User-defined functions 07/08/2023
User-defined function are used to preform task in PHP code like saving a user's form input to a database.
Use Sockets to send and receive data over TCP 05/07/2023
When working with System.Net.Sockets, you represent a network endpoint as an IPEndPoint object. The IPEndPoint is constructed with an IPAddress and its corresponding port number. Before you can initiate a conversation through a Socket, you create a data pipe between your app and the remote destination.
Author: Admin
Language:
C#
Tags:
sockets
send
receive
tcp
cs
Read More
PHP whois lookup Class 12/05/2021
This is a standalone php class to find whois information of a domain or IP.
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
.htaccess
php
Read More
PHP min() and max() Functions 09/05/2021
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 More
Webserver Class 04/15/2021
This is a simple http webserver class I found years ago.
Author: Guitarman
Language:
C#
Tags:
Read More
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