HS Banner
HS Codebank Articles
Page 3 of 9

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

Bad Word Filter 02/26/2022

Description:

Here's a filter you can use to remove bad words from user submitted data.

Author: Admin
Language: PHP
Tags: php bad word filter
Read More

Securing Session INI Settings for PHP 02/17/2022

Description:

By securing session related INI settings, developers can improve session security. Some important INI settings do not have any recommended settings. Developers are responsible for hardening session settings.

Author: Admin
Language: Plain Text
Tags: php manual cookie securing session
Read More

Convert decimal to fraction and fraction to decimal 02/13/2022

Description:

Here's two functions I found in the wild that will convert a decimal to fraction and a fraction to decimal

Author: Admin
Language: Visual Basic .NET
Tags: fraction decimal convert
Read More

Scan Your Website Headers 02/12/2022

Description:

Here's a great site to scan the security headers for your website.

Author: Guitarman
Language: Plain Text
Tags: headers security
Read More

Web Application Penetration Testing 01/29/2022

Description:

Penetration testing or ethical hacking is a proactive way of testing your web applications by simulating an attack that's similar to a real attack that could occur on any given day.

Author: Admin
Language: Plain Text
Tags: penetration testing kali linux
Read More

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
Tags: php
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
Tags: php switch
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
Tags: python
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
Tags: php
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