HS Banner
HS Codebank Articles
Page 1 of 2

PHP Time Function 01/07/2024

Description:

This is a simple PHP time function.

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

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 More228

PHP Crypt 02/11/2023

Description:

crypt() will return a hashed string using the standard Unix DES-based algorithm or alternative algorithms. password_verify() is compatible with crypt(). Therefore, password hashes created by crypt() can be used with password_verify().

Author: Admin
Language: PHP
Tags: php crypt hash password
Read More123



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 More370

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 More374

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 More344

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 More347



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 More1220

Send/Export DevExpress Reports to PDF 08/11/2021

Description:

How to dynamically send a DevExpress report via e-mail as a PDF

Author: Admin
Language: C#
Tags:
Read More943

Random Key Generator 05/08/2021

Description:

This is a class I found and modified to generate a random key.

Author: B.Henry
Language: Visual Basic .NET
Tags:
Read More208