HS Banner
HS Codebank Articles
Page 1 of 1

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

Execute JavaScript using onclick event 06/27/2021

Description:

Execute a JavaScript when a button is clicked.

Author: Guitarman
Language: JavaScript
Tags:
Read More

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 More

Webserver Class 04/15/2021

Description:

This is a simple http webserver class I found years ago.

Author: Guitarman
Language: C#
Tags:
Read More

Google Simple Map 03/26/2021

Description:

Here's sum code to use a simple map in HTML and JavaScript.

Author: Admin
Language: HTML, XML
Tags:
Read More

JavaScript Alart 03/21/2021

Description:

The alert() method displays an alert box with a specified message.

Author: Guitarman
Language: JavaScript
Tags:
Read More

JavaScript Output 03/18/2021

Description:

Here's an example of javascript using innerHTML

Author: b.henry
Language: JavaScript
Tags: javascript
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