How do I get the website address or at least the path to the working file?
The problem is that I have class which use one xml file and becase I use the class from different directories, the relative path change and the class didn't found the xml.
How do I get the website address?
Moderator: General Moderators
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
Bookmark it: http://www.php.net/variables.predefined