I'm having a problem using fopen on a file from a seperate class.
I have index.php, which invokes class System in system.php, which invokes class Skin in skin.php
Some information first:
ROOT_PATH = ./
CORE_PATH = ./core/
SKIN_PATH = ./skin/
index.php is located in ROOT_PATH
system.php is located in CORE_PATH
skin.php is located in CORE_PATH/lib/
Skin tries to fopen a file at SKIN_PATH."template/1/register.tpl" (which does exist... ./skin/template/1/register.tpl)
but can't... I've tried many variations... Do I need the full nix or windows path or something I don't know about?
Thanks for any help