HS Banner
HS Codebank Articles
Page 1 of 6

Predefined PHP Variables 01/17/2022

Description:

PHP provides a large number of predefined variables to all scripts. The variables represent everything from external variables to built-in environment variables, last error messages to last retrieved headers.

Author: Admin
Language: PHP
Views: 12
Read More

PHP Switch Statement 01/09/2022

Description:

Use the switch statement to select one of many blocks of code to be executed.

Author: Guitarman
Language: PHP
Views: 31
Read More

Add Two Numbers With Python 01/01/2022

Description:

Below is a simple Python program to add two numbers and print the output.

Author: Admin
Language: Python
Views: 33
Read More

Preventing Ransomware/Malware 12/24/2021

Description:

Here's a document I put together for IT professionals on how to prevent and hopefully avoid ransomware attacks.

Author: B.Henry
Language: Plain Text
Views: 32
Read More

PHP whois lookup Class 12/05/2021

Description:

This is a standalone php class to find whois information of a domain or IP.

Author: Guitarman
Language: PHP
Views: 37
Read More

SQL Query Examples 10/31/2021

Description:

Here's a short example of SQL Select, Insert, Update, and Delete Queries.

Author: Admin
Language: SQL
Views: 26
Read More

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
Views: 30
Read More

PHPMailer 09/19/2021

Description:

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

Author: Admin
Language: PHP
Views: 22
Read More

PHP min() and max() Functions 09/05/2021

Description:

The min() and max() functions can be used to find the lowest or highest value in a list of arguments:

Author: Admin
Language: PHP
Views: 21
Read More

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#
Views: 15
Read More

Submit Your Code

If you would like to share your code on HS Codebank you can submit it using the contact page, email, or by registering and clicking the submit article button.
Register Contact Us

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