NYCPHP Meetup

NYPHP.org

[nycphp-talk] Setting Constants Globally?

Christopher R. Merlo cmerlo at turing.matcmp.ncc.edu
Fri May 9 12:46:30 EDT 2003


On 2003-05-09 12:40 -0400, Malcolm, Gary <gmalcolm at professionalcredit.com> wrote:

> I'm curious how others handle this seemingly common issue.

That's what I do.  I have a file called _header.inc, which has all the
functions and definitions I need most of the time.  It also draws the
top of each page, so that I have the same layout on each page.  Then,
in every .php file, I just include( './_header.inc' );, and start
writing the body of the page.

-- 
cmerlo at turing.matcmp.ncc.edu        http://turing.matcmp.ncc.edu/~cmerlo

"Nuclear war would really set back cable."
  -- Ted Turner



More information about the talk mailing list