Password Hashing Overview In the world of web development and password storage, an ongoing debate…
Tag: php
PHP Regular Expressions – Remove Comments From SQL Text
This short block of PHP code takes a SQL script and removes the “dash-dash” and…
PHP Date Difference
Finding a quick PHP function for date difference was painful. Now that I found it,…
PHP Date Difference
Finding a quick PHP function for date difference was painful. Now that I found it,…
PHP Regular Expressions – Remove Comments From SQL Text
This short block of PHP code takes a SQL script and removes the “dash-dash” and…
Basic PHP Data Setup
Ideally, when setting up a data-driven PHP site, you should have your configuration and database…
HTML Checkboxes
Occasionally, you discover something that you have been doing wrong for a long time. Sometimes…
PHP and jQuery – Reduce Long String to Preview Length and Reveal Full Text OnClick
Goal: Reduce long string to specified length for end-user preview. Reveal entire string when clicked. …
PHP Ternary Operator – The "IF-Else" Shortcut
A ternary operator is a quick shortcut to bypass the multi-line if-else statement. It is…
PHP explode and trim the results?
php.net – where I posted this Overview This is something that I used to use…