PHP Array of Reserved Usernames
Here is a list of reserved usernames found on this page. I conveniently spent the 15 minutes and put them in a PHP array for you. You’re welcome!
Here is a list of reserved usernames found on this page. I conveniently spent the 15 minutes and put them in a PHP array for you. You’re welcome!
Were we having a problem encoding a CSV to UTF-8, it was loading in the crazy characters. We tried adding BOM to the file first before we did all the ‘fputcsv’ and it worked. Hope…
Here is how you can get the YouTube Video ID from a URL no matter how many extra parameters get passed along with it. function getYouTubeIdFromURL($url) { $url_string = parse_url($url, PHP_URL_QUERY); parse_str($url_string, $args); return isset($args[‘v’])…
After finding a bunch of ugly scripts to display files in a directory, I finally created my own. It’s one simple file: index.php. Just drop it into your folder and you’re done. Grab the file…