Create get_image.php

Unfinished file, it is suppose to grab the DIRECT URL from the /uploads folder so it can be shown in a textarea on the index.php page so the user can hotlink and host it elsewhere.
There was another function for get_image.php it seems like from the code but I never got to ask the PHP Coder exactly what that is- so any help with figuring this out would be greatly appreciated.