Doc Tot - 2003-12-07

I need help!!!

I am having a problem editing the chat_activity.php3 script to work on ALL of the pages on my site. Currently, I only am able to get it to work on the public_files/index.php page and in the original chat directory.

My directories go something like this:

Script is working in these:

public_html/chat/chat/chat_activity.php (No editing)

public_html/index.php (edited to- <$ChatPath = "chat/chat/";>)
   

Script gives errors:

public_html/guestbook/chat_activity.php

public_html/forum/chat_activity.php

What is happening is that my directory is set up like this:

       public_html

/chat/        /guestbook/

Okay, the file Chat_Activity.php3 is located in the chat directory but I also want to place this file in the guestbook directory so that I can have an "indicator" incorporated into the page so that visitors will know when someone's in chat. I can place the file in the guestbook dir BUT it needs modification so that it can see the rest of the vars and files in the chat directory. I need to know how to make these mods.

If ANYONE can help, it would be greatly appreciated. I would be more than happy to send someone an entire copy of the chat_activity.php script if it isnt already available.

I hope all of this made sense!!!

Thanks,

Doc