HS Banner
HS Codebank Articles
Page 1 of 9

PHP Form Validation 01/28/2024

Description:

Think SECURITY when processing PHP forms! This shows how to process PHP forms with security in mind. Proper validation of form data is important to protect your form from hackers and spammers!

Author: Admin
Language: PHP
Tags: php security forms
Read More153

PHP Time Function 01/07/2024

Description:

This is a simple PHP time function.

Author: Admin
Language: PHP
Tags: php time
Read More132

Your first PHP-enabled page 11/30/2023

Description:

This is a basic PHP page for beginners.

Author: Admin
Language: PHP
Tags: php hello world html
Read More228



Add a new item to an array, it can be inserted with the help of array_splice() a function of PHP. 09/09/2023

Description:

This function removes a portion of an array and replaces it with something else. If offset and length are such that nothing is removed, then the elements from the replacement array are inserted in the place specified by the offset.

Author: Admin
Language: PHP
Tags: array php insert array_splice
Read More182

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 More276

Use Sockets to send and receive data over TCP 05/07/2023

Description:

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 More398

Unique Random Numbers Within a Range 04/23/2023

Description:

Here's a nice function I found to get 10 unique numbers from a range of numbers.

Author: Admin
Language: PHP
Tags: random numbers range php
Read More202



PHP Speller 03/26/2023

Description:

PHP spell check library.

Author: Admin
Language: PHP
Tags: php spell check
Read More241

Delete a File with C# 03/13/2023

Description:

This is how to delete a file and check whether it exists.

Author: Admin
Language: C#
Tags: cs delete file
Read More101

R Hello World Program Example 03/10/2023

Description:

Hello world program example using print.

Author: Admin
Language: R
Tags: r hello world
Read More97