Jump to content

Error Handling - Deleted File


mrjonnytou

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.