mrjonnytou Posted April 28, 2008 Share Posted April 28, 2008 Hi, I'm working on an application which allows users to upload large files to a database, create a URL and distribute file information via email. The recipent can then click the URL given in the email and download the file. At present, when a file is deleted from the database and a user tries to download the file from a link in an email, all they get is a blank text file. What I would like to do is display a custom error page to say that the file is no longer available. Any ideas? Regards Link to comment https://forums.phpfreaks.com/topic/103237-error-handling-deleted-file/ Share on other sites More sharing options...
DarkWater Posted April 28, 2008 Share Posted April 28, 2008 Do you serve the files via a PHP script or do you link directly to them? Link to comment https://forums.phpfreaks.com/topic/103237-error-handling-deleted-file/#findComment-528795 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.