base64img provides a PHP script which encodes images as text.
base64img.php base64-encodes images and generates PHP code that represents the image. This makes it possible to embed an image inside a PHP script.
This enables you to create an entire Web site with images, using only a PHP script contained within a single file.
The script itself is an example of how this works.
Install:
· Install this script in any directory on your webserver and point your webbrowser to it.
What's New in This Release:
· The code was changed so that it works on systems where PHP's globals are turned off.
Product's homepage