FlashpointProject / Flashpoint-PHP-Extension

PHP Extension to allow on-demand fetching of files from the Flashpoint Game Server

Repository from Github https://github.comFlashpointProject/Flashpoint-PHP-ExtensionRepository from Github https://github.comFlashpointProject/Flashpoint-PHP-Extension

Flashpoint PHP Extension

Build

Clone into the ext folder of the PHP source (e.g php-src/ext/flashpoint) and build with --enable-flashpoint=shared to create a shared library. This can then be loaded via php cli as php.exe -dextension=flashpoint script.php where the resulting dll is available to the cli app.

Usage

Hooks into:

  • Require / Includes
  • file_get_contents

If a file is missing, attempts to fetch it from the Flashpoint Game Server running at 127.0.0.1:22501

Config options are not currently present

About

PHP Extension to allow on-demand fetching of files from the Flashpoint Game Server


Languages

Language:C 97.8%Language:M4 2.2%