Making a symbolic link
<?php symlink('/usr/local/images','/www/docroot/images') or die($php_errormsg); ?>