Delete a File 03/13/2023
This is how to delete a file and check whether it exists.
Tags: cs delete file
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.
Language: Plain Text
Tags: php manual cookie securing session
SQL Query Examples 10/31/2021
Here's a short example of SQL Select, Insert, Update, and Delete Queries.
PHP Filesystem Security 04/03/2021
Anyone learning PHP should read this and the rest of the security section in the PHP manual.
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.