HS Banner
HS Codebank Articles
Page 1 of 2

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 More805

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 More241

Send email from a VB.Net application 03/26/2022

Description:

Here's an example of how to send an email in a VB.Net application.

Author: Admin
Language: Visual Basic .NET
Tags: send email vb.net
Read More477



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 More824

Example of .htaccess for PHP 10/06/2021

Description:

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 More1354

PHPMailer 09/19/2021

Description:

PHPMailer – A full-featured email creation and transfer class for PHP

Author: Admin
Language: PHP
Tags:
Read More459

Send/Export DevExpress Reports to PDF 08/11/2021

Description:

How to dynamically send a DevExpress report via e-mail as a PDF

Author: Admin
Language: C#
Tags:
Read More1037



Escaping from HTML 05/16/2021

Description:

Escaping from HTML in PHP

Author: Guitarman
Language: PHP
Tags:
Read More398

Show RSS News Feeds 05/01/2021

Description:

Here's some code I've used in the past to show RSS news feed on PHP websites.

Author: Admin
Language: PHP
Tags:
Read More316

PHP Filesystem Security 04/03/2021

Description:

Anyone learning PHP should read this and the rest of the security section in the PHP manual.

Author: Admin
Language: PHP
Tags:
Read More312

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