Issue with binary files
Posted: Tue Mar 06, 2012 12:15 pm
I have noticed this issue on binary files stored within and outside of the database. I have not problem uploading files. I am storing a picture file in the database per records and also storing a .pdf outside of the database. The problem is happening in both instances.
The problem I am having is: I decide to change the photo or pdf when one has already been placed in its spot. It confirms the new upload is fine. However it still displays the 'old' picture or pdf. I have tried changing the file name. Changing the file name seems to work for the .pdf file but does not change the internally stored pics. I tried deleting the upload using xataface framework and the file is said to delete successfully. The file contains 'NO' picture related info. I use the edit tab to a a picture and it ends up displaying the old picture but retains the new pictures name...
I have also deleted the picture entry in the database using myphpadmin. After I upload a new picture, it still displays the 'old' picture....
Any Ideas?
The problem I am having is: I decide to change the photo or pdf when one has already been placed in its spot. It confirms the new upload is fine. However it still displays the 'old' picture or pdf. I have tried changing the file name. Changing the file name seems to work for the .pdf file but does not change the internally stored pics. I tried deleting the upload using xataface framework and the file is said to delete successfully. The file contains 'NO' picture related info. I use the edit tab to a a picture and it ends up displaying the old picture but retains the new pictures name...
I have also deleted the picture entry in the database using myphpadmin. After I upload a new picture, it still displays the 'old' picture....
Any Ideas?