within my getRandomTile.php file, this does executes the else statement
include "http://localhost:8888/lib/classes/php/utils/web/html/RandomImage.php";
if (class_exists('RandomImage')) {
echo "continue";
} else {
echo 'ERROR: class RandomImage does not exist';
}
...but changing the include to a relative path gives me the true statement.
include "../../lib/classes/php/utils/web/html/RandomImage.php";
why is that? the project is here http://localhost:8888/project/ and classes are here http://localhost:8888/lib/