uploading/downloading images in oracle using PHP

Description: This snippet will help in understanding the uploading/down loading the images into databases. You can upload any file.But it is limited to .gif files only when down loading. You can make chages to the code so that it will work for diffrent image types.