Page 1 of 1

Embed images in your application

Posted: Thu 6. Mar 2008, 14:24
by marcus@localhorst
Hi,
I stumbled again about this nice thing (I found that years ago). It's not new and more or less useful, but if you ever look for a smart way to write single file applications without any additional files in directory structure (mostly images), then this could be useful for you:
http://www.greywyvern.com/code/php/binary2base64

it makes mostly sense to embed icons in your application, let's say a simple filebrowser/manager in php or what ever.

greetings
marcus

edit: this works just in firefox and opera
edit 2: here maybe some more useful things: http://www.greywyvern.com/php