sassenach Posted December 2, 2007 Share Posted December 2, 2007 Hi, I am pretty new at PHP and I have a question. I have been uploading files (images & txt) to a tmp directory using "move_uploaded_file($_FILES[$filename]['tmp_name']...". I renamed the files according to the uploaded id in my database (auto inc.). Now I want to display the images/files, which have been renamed. How do I go about doing that? I understand it has something to do with the MIME type, but I can't seem to find the right search for it. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.