Re: [PHP] Include images in php file

2007-07-02 Thread Richard Lynch
On Thu, June 28, 2007 8:39 am, Marek wrote: > 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 l

Re: [PHP] Include images in php file

2007-06-28 Thread Robert Cummings
On Fri, 2007-06-29 at 00:20 -0400, Robert Cummings wrote: > On Thu, 2007-06-28 at 22:56 -0500, Larry Garfield wrote: > > Skip raster images and just output the images as SVG. OK, only works in > > Firefox 1.5+, but it would get you everything in one file without bloated > > encoding. :-) > > No

Re: [PHP] Include images in php file

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 22:56 -0500, Larry Garfield wrote: > Skip raster images and just output the images as SVG. OK, only works in > Firefox 1.5+, but it would get you everything in one file without bloated > encoding. :-) No need to have bloated encoding.. just have the file check itself for a

Re: [PHP] Include images in php file

2007-06-28 Thread Larry Garfield
Skip raster images and just output the images as SVG. OK, only works in Firefox 1.5+, but it would get you everything in one file without bloated encoding. :-) On Thursday 28 June 2007, Marek wrote: > It's not really a limitation but a personal goal. > > I develop a small public script that is

Re: [PHP] Include images in php file

2007-06-28 Thread Jochem Maas
Jim Moseby wrote: > >> ...it is more handy to have just one file instead of a >> folder system. > > Thats why $deity gave us gzip. ;-) > whihc makes me think ... maybe the phar extension could be a good option? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:/

RE: [PHP] Include images in php file

2007-06-28 Thread Jim Moseby
>...it is more handy to have just one file instead of a > folder system. Thats why $deity gave us gzip. ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Include images in php file

2007-06-28 Thread Marek
Jochem Maas wrote: > yes. well done for taking the time to search: And thank you for those links and a lovely sarcastic comment. If i had known to search for "base64", i would not have asked, really. Other keywords like "image in php jpg gif png include embed serialize" in various combinations

Re: [PHP] Include images in php file

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 16:39 +0300, Marek wrote: > 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

Re: [PHP] Include images in php file

2007-06-28 Thread Marek
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

Re: [PHP] Include images in php file

2007-06-28 Thread Jochem Maas
Marek wrote: > Hi, > > I want to display images with my php script but i want it to be just ONE > file. I can't have separate image files or folders etc. > > I suppose I could get this result by writing a function that generates > the right image by drawing it from scratch. But that way I can't h

Re: [PHP] Include images in php file

2007-06-28 Thread Stut
Marek wrote: I want to display images with my php script but i want it to be just ONE file. I can't have separate image files or folders etc. Why not? This seems like a rather daft limitation. I suppose I could get this result by writing a function that generates the right image by drawing it