HS Banner
HS Codebank Articles
Page 1 of 1

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 More140

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 More214

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 More1204



Escaping from HTML 05/16/2021

Description:

Escaping from HTML in PHP

Author: Guitarman
Language: PHP
Tags:
Read More394

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 More307

Sitemaps XML format 04/23/2021

Description:

The Sitemap protocol format consists of XML tags. All data values in a Sitemap must be entity-escaped. The file itself must be UTF-8 encoded.

Author: Guitarman
Language: HTML, XML
Tags:
Read More252