Skip to content

Instantly share code, notes, and snippets.

@Gydo194
Gydo194 / Auth2.php
Last active October 24, 2017 09:22
PHP Authentication class
<?php
/*
* WARNING: this is highly in beta and could contain many bugs or architectural issues.
* It also has NO database support, line 153 defines the correct username and password.
*
* This is a test authentication mechanism for use in PHP web applications.
* Do not use this yet for production!
*/
@Gydo194
Gydo194 / PubSubServer.php
Created October 22, 2017 15:23
Native PHP Pub/Sub server (BETA)
<?php
/*
* PubSubServer.php
* native PHP Pub/Sub server
* Author: Gydo194
* Version: 1.0
* Date: 2210171714
*/