Hello,
I have a script that needs to unzip a .zip file into a temp folder. The problem is that it's very difficult to ask the user to create their own temp folder after uploading the script, give it 777 permissions, and then we run into problems if they are running safe_mode, etc. (Because the unzipper can only create one level of folders under the 777 folder before it runs into permissions problems to create additional folder levels...)
I know there is a way to create a temp FILE... but...
... is there any way to create a FOLDER in the temp area for php? And then I could simply unzip the file into that temp folder and kill it when the script is done?
Is it reliable? ie: It has to work on every server, including php4, php5, unix, linux, and windows...
Thanks for any advice!