Jump to content

Recommended Posts

hello

I have a very strange problem. I have written my site in php. then at a part of it, a file-link to what the user has uploaded is available, the link as it appears in url-bar is healthy and all correct, but when I click on it, instead of downloading it, it goes to 404 page. What is the problem? why it does not download it when everything else seems working?

Link to comment
https://forums.phpfreaks.com/topic/275947-404-not-found-for-a-file-all-healthy/
Share on other sites

Because whatever you clicked doesn't exist. It's that simple. That could mean any number of possible things at fault: the link is wrong, there's URL rewriting that's changing it to something else, there's code that has a 404, Apache can't see the file...

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.