PHP Tags 03/07/2023
When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing in this manner allows PHP to be embedded in all sorts of different documents, as everything outside of a pair of opening and closing tags is ignored by the PHP parser.
Author: Admin
Language:
PHP
Tags:
php
tags
Read More4
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
PHP Tutorial With W3 Schools 12/30/2022
Here's a nice tutorial for developing in PHP.
Author: Admin
Language:
Plain Text
Tags:
php
tutorial
developing
Read More94
PHP Shuffle 09/11/2022
Randomizes the order of the elements in an array.
Author: Admin
Language:
PHP
Tags:
php
shuffle
array
Read More359
Start and Setup a PHP Session 07/27/2022
Here's how I start and setup a session for a PHP app.
Author: Admin
Language:
PHP
Tags:
session
php
Read More342
Populate HTML Table on Page Load. 06/17/2022
Here's a simple way to populate an HTML table on page load using PHP.
Author: Admin
Language:
PHP
Tags:
html
php
table
foreach
Read More396
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
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
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
Bad Word Filter 02/26/2022
Here's a filter you can use to remove bad words from user submitted data.
Author: Admin
Language:
PHP
Tags:
php
bad
word
filter
Read More278
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