HS Banner
HS Codebank Articles
Page 1 of 5

MODBUS/TCP Example 12/08/2024

Description:

The following example shows how to configure a MODBUS/TCP protocol and read values.

Author: Admin
Language: C#
Tags: modbus tcp
Read More

Modbus Serial Example 12/08/2024

Description:

The following example shows how to configure a serial Modbus protocol and read values

Author: Admin
Language: C#
Tags: modbus serial com
Read More

PHP Form Security 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 More



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 More

PHP Speller 03/26/2023

Description:

PHP spell check library.

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

PHP Tags 03/07/2023

Description:

When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows PHP to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP parser.

Author: Admin
Language: PHP
Tags: php tags
Read More

PHP Crypt 02/11/2023

Description:

crypt() will return a hashed string using the standard Unix DES-based algorithm or alternative algorithms. password_verify() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_verify().

Author: Admin
Language: PHP
Tags: php crypt hash password
Read More



PHP Tutorial With W3 Schools 12/30/2022

Description:

Here's a nice tutorial for developing in PHP.

Author: Admin
Language: Plain Text
Tags: php tutorial developing
Read More

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 More

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 More

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