NYCPHP Meetup

NYPHP.org

[nycphp-talk] Building trees

max at idsociety.com max at idsociety.com
Wed Oct 16 20:40:04 EDT 2002


Added the line:

AddType application/x-httpd-php-source .phps

in my apache conf. it's built into php.

> On Wed, Oct 16, 2002 at 06:41:03PM -0400, max goldberg wrote:
>> I wrote something similar to what you are describing for a personal
>> project a while back. On the SQL side it's a pretty simple layout,
>> every record has a parent id, and from that I can figure out all the
>> children by making a quick and dirty index before hand.
>>
>> Check out (sorry if the url offends)
>> http://www.fuck.org/~max/traverse.phps for the example
>> and http://www.fuck.org/~max/traverse.php for the output.
>>
>> Sorry if the code is a bit dirty, it's kind of old. =)
>
> What did you use to generate the source listing?
>
> --
> 				- Adam
>
> -----
> Adam Fields, Managing Partner, fields at surgam.net
> Surgam, Inc. is a technology consulting firm with strong background in
> delivering scalable and robust enterprise web and IT applications.
> http://www.adamfields.com
>
>
> --- Unsubscribe at http://nyphp.org/list ---






More information about the talk mailing list