PHP Crypt 02/11/2023
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 More28
HTML Datetime Input Box 05/15/2022
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 More313
PHP File Upload 03/11/2022
Here's some sample code to upload a file using PHP.
Author: Guitarman
Language:
PHP
Tags:
php
uplaod
file
Read More505
Example of .htaccess for PHP 10/06/2021
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 More604
Webserver Class 04/15/2021
This is a simple http webserver class I found years ago.
Author: Guitarman
Language:
C#
Tags:
Read More348
Redirect HTTP to HTTPS on IIS 04/10/2021
Add this to your web.config file to redirect users to HTTPS on IIS web servers. (ASP.Net and PHP)
Author: Guitarman
Language:
HTML, XML
Tags:
Read More268
SHA512 Class 03/30/2021
This is the SHA512 HASH using the System.Security.Cryptography.HashAlgorithm.
Author: Admin
Language:
C#
Tags:
sha512
Read More282
SHA256 Class 03/19/2021
Computes the SHA256 hash for the input data.
Author: admin
Language:
C#
Tags:
cs
Read More331
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