require() in other directories?

From: Date: Thu, 18 Nov 2004 08:15:22 +0000
Subject: require() in other directories?
Groups: php.general 
Request: Send a blank email to php-general+get-202388@lists.php.net to get a copy of this message
Best groupmember, I have an webapplication that uses different languages and therefor I have set up different directorys for each language. All languages use the same classes. The problem I have is when I want to require() the classfile I can not require a file that is not in the same directory as my .php file. I have tried the following: require("../classes.php"); require("http://www.mydomain.com/classes.php"); and more. All gives me error messages, why? Anyone that could help me? - Best Of Times /Peter

« previous php.general (#202388) next »