declaring directories as constants
Posted: Thu Jan 18, 2007 2:09 pm
is there anyway to explicitly declare the path to a directory as a constant which can be used to easily point to it instead of using ../../ until you reach the root dir.
echo "<img src=" . $image_dir . "image.jpg/>" or something...
thanks
echo "<img src=" . $image_dir . "image.jpg/>" or something...
thanks