file type problems
Posted: Mon Oct 20, 2008 7:20 am
Hi
anyone come across this before?
Have created a file upload system for a client. Files are upload by clients and are downloaded via the cms. Problem I have is with the file types.
A client has uploaded a file .rng which I assume is a file produced by some specific software. (not a nokia ringtone)
The file has uploaded correctly to the correct directory as I can see it on the server.
The problem is when browsing to this particular file the browser just returns a page not found error. (this applies to ie, firefox and opera) although the file is there.
I wondered if this was a problem with the move_uploaded_file function or some other problem with php and the file type.
The only other thing that I think may be effecting it is that the server does not recognise the file and this may be causing it to return a page not found as it has nothing to open it with!
Any ideas appreciated.
Cheers
anyone come across this before?
Have created a file upload system for a client. Files are upload by clients and are downloaded via the cms. Problem I have is with the file types.
A client has uploaded a file .rng which I assume is a file produced by some specific software. (not a nokia ringtone)
The file has uploaded correctly to the correct directory as I can see it on the server.
The problem is when browsing to this particular file the browser just returns a page not found error. (this applies to ie, firefox and opera) although the file is there.
I wondered if this was a problem with the move_uploaded_file function or some other problem with php and the file type.
The only other thing that I think may be effecting it is that the server does not recognise the file and this may be causing it to return a page not found as it has nothing to open it with!
Any ideas appreciated.
Cheers