Include images in php file
It's not really a limitation but a personal goal.
I develop a small public script that is meant to be very compact and
portable. All of its functionality fits nicely in one php file. But at
the moment it requires a bunch of tiny icons. I would like to eliminate
this and just have a single file. But without ruining the graphical
interface.
So far the best solution i just came up with is to have two files - one
would be an image with all the icons and i could use css to display the
right icon.
Marek
|