Skip to content

Instantly share code, notes, and snippets.

@josha33
josha33 / README.md
Created Nov 21, 2020 — forked from eric1234/README.md
Protect page with simple password
View README.md

Purpose

Unauthorized access to a PHP page prompts the user for a password. Once the password is entered the original page will show.

Features

  • The access is recorded in the session so it only needs to be
@josha33
josha33 / www-post-thumb.php
Created Dec 24, 2019 — forked from gmazzap/www-post-thumb.php
WordPress plugin that allow to use an external image url as featured image.
View www-post-thumb.php
<?php namespace GM\WWWPostThumbnail;
/**
* Plugin Name: WWW Post Thumbnail
* Description: Allow to use an external image url as featured image.
* Plugin URI: https://gist.github.com/Giuseppe-Mazzapica/928bc22e5f49a654cf7c
* Author: Giuseppe Mazzapica
* Author URI: https://github.com/Giuseppe-Mazzapica
* License: MIT
* Version: 0.1.0
*
@josha33
josha33 / php_bbcode_parser.php
Created Nov 10, 2019 — forked from afsalrahim/php_bbcode_parser.php
A simple PHP BBCode Parser function
View php_bbcode_parser.php
<?php
/**
* A simple PHP BBCode Parser function
*
* @author Afsal Rahim
* @link http://digitcodes.com/create-simple-php-bbcode-parser-function/
**/
//BBCode Parser function
You can’t perform that action at this time.