file location php windows 2000

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
CodeEye
Forum Commoner
Posts: 25
Joined: Fri Jul 05, 2002 7:19 am

file location php windows 2000

Post 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
User avatar
protokol
Forum Contributor
Posts: 353
Joined: Fri Jun 21, 2002 7:00 pm
Location: Cleveland, OH
Contact:

Post 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");
Post Reply