Page 1 of 1

file location php windows 2000

Posted: Fri Jul 05, 2002 7:22 am
by CodeEye
i have installed apache and on a windows 2000 machine it works perfectly but when i include a xml file it looks in the folde that holds the php program not in the folder i set it to look in help

Posted: Fri Jul 05, 2002 7:27 am
by protokol
I assume you are using include() or require(), so if you are, then use the entire path.

include("c:/path/to/data.xml");