I'm trying to set two variables within a class for VAR $BASE_IMAGE_DIRECTORY. If I write the actual path without variables it works perfectly. Only problem is that the destination folder is always changing and I need to set the new path with variables. No matter what I try, I cannot set the variables for the path without errors or if there are no errors, I get the name of the variable $variable but not the value for some reason. Any thoughts anyone?
Thanks,
Owen the Samoan
class Image {
var $SUCCESS = 0;
var $UNKNOWN_ERROR = 1;
var $FILE_NOT_FOUND_ERROR = 2;
var $BASE_IMAGE_DIRECTORY = "./folderA/$something/$somethingelse";
}