PDA

View Full Version : is this possible? multiple instances of CHDIR function?


Mikhailtech
12-04-2007, 11:52 PM
This is the problem I'm having. Whenever I try to define and use a CHDIR function to grab a file from my forum directory, if I use it more than once on any subsequent page I get the following error:

"Unable to add cookies, header already sent."

How else can I navigate to a file in my forum directory and use a "require once" without CHDIR? Or how else can I work around this?

--------------- Added 1196820284 at 1196820284 ---------------

nevermind figured it out