16
Prevent VPN from exposing your real IP upon disconnection.
No comments · Posted by Brian Hare in Tutorials
I came across this problem and decided to post it on http://serverfault.com only to later discover how to do it on my own, so I figured I’d publish it on here to help those who seek the solution in the future. I have made the serverfault post a community wiki, so check that for any [...]
No tags
As the title explains, this is a PHP Progress Bar, while it cannot be in pure PHP because it cannot update DOM elements on the fly, instead it directly communicates to the browser with a flush of javascript code. Alternatively you could store the progress is PHP cache or session and then have a page [...]
No tags
31
PHP: Searching every table in a database for a string
No comments · Posted by Brian Hare in Code Snippets
I recently wanted this ability in a PHP script I was writing, very similar to how you can search the whole database for a string using PHPMyAdmin. My first place I go when I have a problem is google, but a google result returned no matches at that time, so I decided to write a [...]
No tags
2
Creating Secure Passwords That You’ll Remember
2 Comments · Posted by Brian Hare in Uncategorized
There are 4 things that make a good password. Hard to bruteforce – It should be a certain length and/or contain certain characters. Hard to guess – It shouldn’t contain personal things, such as a birth date. Uniqueness – It should not be the same as all your other passwords. Unforgettable – You should be able [...]
No tags
One of the most annoying things to me is when a website will attempt to “improve security” and think they are helping out the end-user by requiring a password to be a certain length, contain certain symbols, or pass a strength meter– but then get lazy on their coding and cannot/won’t allow for special characters [...]
No tags
