Securing Session INI Settings for PHP 02/17/2022
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 More
Convert decimal to fraction and fraction to decimal 02/13/2022
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 More
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 More
Web Application Penetration Testing 01/29/2022
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 More
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.
PHP Switch Statement 01/09/2022
Use the switch statement to select one of many blocks of code to be executed.
Add Two Numbers With Python 01/01/2022
Below is a simple Python program to add two numbers and print the output.
PHP whois lookup Class 12/05/2021
This is a standalone php class to find whois information of a domain or IP.
SQL Query Examples 10/31/2021
Here's a short example of SQL Select, Insert, Update, and Delete Queries.
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 More
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