The following is an html graph generator which I developed a while back and have made very good use of in several projects.. *update* - fixed the test array so it does not
stretch the page out.
complete auth system in one file. Just include this file, after you have modified the definitions, in any pages you want protected and authentication will be enabled.
export data to all the xml type formats recognized by the money programs out there. MSMoney, Quicken, CSV etc. The code is really designed for financial data obviously. It is in
use in the IPN system I developed for working with Paypal. See the example URL and go into the test account and look in the history to see a live example. Any comments would be
appreciated.
This is some code I whipped together that creates an imagemap from an image that if you hover your mouse over it, the color you hover over will be displayed in a text box. This
could be useful for working with a color wheel when asking people for color entries in web apps.
I started playing around with ncurses in PHP with php 4.3.0.rc0 compiled with --with-ncurses and started noticing a huge lack of *any* documentation.. There are a lot of
functions I write which could make good use of the functions as I write a lot of php shell scripts.
I previously wrote up a terminal color function which called perl to do the colorizing. This is more of an update, but is a totally different function. When provided with an
additional variable it will output the colorization versus passing it back as a return variable.
Phrozen, The idea, you want to encode your scripts, however you don't want to have to make the end user install something to "un-encode" your script. Well, here is a poor-mans
solution to that. This does real-time encoding-decoding of the files and the file is only left on disk for exactly enough time for it to be read and parsed. This is one
solution, feel free to email me if you use this in a project, I would like to see how others have used it.
rWhois (see rwhois.net) in PHP. You can use this function to get geographic data back on on an IP, City/State/Zip this might come in handy if you are attempting to geo-target an
IP by country, say, for an ad program.
Shared memory examples, there are few examples to be found just about anywhere on this subject, I wrote these up a few months ago and am posting them here in case anyone might
need these.
At times it is useful to output colored terminal output when running command line PHP scripts. (i.e. Install scripts, general run scripts etc..).. Well, here is one way to do it
that is pretty simple.