[PHP] Re: Why use XML?

2003-02-10 Thread Ilya Nemihin
> well Im out of a job so I am sitting around learning XML. It seems like a > great tool, but I am trying to figure out why I would actually use it? If you intersting for my experience: I find xml+xslt useful for offline-site generation tasks, right now I am making site, and there are folders con

[PHP] text on image

2003-02-09 Thread Ilya Nemihin
I try to place text on image, but have "color" problems. code: $im = imagecreatefromjpeg( 'test.jpg' ); $white = ImageColorAllocate ($im, 255, 255, 255); ImageTTFText ($im, 20, 0, 0, 20, $white, './fonts/times.ttf', 'text text text' ); ImageJpeg( $im, 'test_out.jpg' ); i.e. I want to have 'white'

[PHP] easy CMS

2003-02-06 Thread Ilya Nemihin
Hi! sorry for my impudence :) But may be you will be interesting in not cool CMS :) - elementalSiteMaker I have made it in Object-Oriented style, i.e. more interesting are code-inside :) http://www.elemental-sm.by.ru Thanks Ilya ps: I had some troubles with generalization (may needed new PHP4.