Jim from Oakland Posted October 1, 2007 Share Posted October 1, 2007 Apaches I am using a modified version of the basic, commonly available php code (e.g. it can be found at the php manual website) which allows user to upload a file to a directory at my website. I am using the same EXACT same code on two different accounts at the same hosting service. The code works swimingly on one account and not the other. The $_FILES array reports error # 6 which is something like "cannot find temporary directory" (where file is uploaded to). The hosting service uses Apache. The hosting service provider tells me that they do not provide "support" for php so for the moment I am stuck. I hope to be able ask them about more specific things to check for me. OR, can I tell the web server (using code) where to store the uploaded file? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/71450-cannot-find-http-temp-dir-after-upload/ 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.