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 581

PHP Time Function 01/07/2024

Description:

This is a simple PHP time function.

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

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 724

PHP Speller 03/26/2023

Description:

PHP spell check library.

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

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 236

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 482

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 413

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 827

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 1378

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 279

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