HS Banner
HS Codebank Articles
Page 1 of 3

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 More

PHP Time Function 01/07/2024

Description:

This is a simple PHP time function.

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

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 More

PHP Speller 03/26/2023

Description:

PHP spell check library.

Author: Admin
Language: PHP
Tags: php spell check
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

Populate HTML Table on Page Load. 06/17/2022

Description:

Here's a simple way to populate an HTML table on page load using PHP.

Author: Admin
Language: PHP
Tags: html php table foreach
Read More

HTML Datetime Input Box 05/15/2022

Description:

Here's some code to set the default datetime for an input box with its type set to datetime-local using HTML and PHP.

Author: Admin
Language: PHP
Tags: input datetime-local php html
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

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 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
Tags:
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