List All Files in a Directory Using PHP 04/05/2022
In PHP there are several ways to get a list of files in a PHP application.
Author: Admin
Language:
PHP
Tags:
list
files
directory
php
glob
scandir
opendir
readdir
closedir
filesystemiterator
Read More364
Scan Your Website Headers 02/12/2022
Here's a great site to scan the security headers for your website.
Author: Guitarman
Language:
Plain Text
Tags:
headers
security
Read More283
Predefined PHP Variables 01/17/2022
PHP provides a large number of predefined variables to all scripts. The variables represent everything from external variables to built-in environment variables, last error messages to last retrieved headers.
Author: Admin
Language:
PHP
Tags:
php
Read More267
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
Escaping from HTML 05/16/2021
Escaping from HTML in PHP
Author: Guitarman
Language:
PHP
Tags:
Read More353
PHP Filesystem Security 04/03/2021
Anyone learning PHP should read this and the rest of the security section in the PHP manual.
Author: Admin
Language:
PHP
Tags:
Read More268
Compare two text files 03/26/2021
Compare two text files and display the differences.
Author: Admin
Language:
PowerShell
Tags:
Read More251
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