Skip to content

Instantly share code, notes, and snippets.

@shusaura85
shusaura85 / pop.php
Created March 28, 2024 15:33 — forked from xeoncross/pop.php
POP email server in PHP
<?php
/*
http://stackoverflow.com/a/11973533/99923
Well, just to show that it is in fact possible to write a POP3 server in PHP, here it is. The server does no authentication--or pretty much anything else. It just keep sending the same message over and over. But it works. Thunderbird was able to retrieve messages from it. Totally useless, but sort of cool.
My setup is Apache 2 on Windows with PHP 5.2.
*/
// echo something so fopen() would return
@shusaura85
shusaura85 / TargaImage.pas
Created January 28, 2018 16:37
Delphi unit to add support for Targa images
unit TargaImage;
{**************
* MIT License
**************}
interface
uses
WinApi.Windows, System.SysUtils, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.ClipBrd, System.AnsiStrings;