Permissions 777 is for a 'nix OS not for Windows.llsastre wrote:...I need to have 777 permissions on a folder, but I'm unable to get it.
llsastre wrote:I make a new folder (for example D:\tmp)...but this script always tells the same error message: "Unable to open D:/Temp: Permission denied ..."
llsastre wrote:I've tried it as you say but doesn't work either. It says "Unable to open 'tmp/' for writing: No such file or directory in C:\xampp\htdocs\web\grava_compr.php on line 87"
This folder 'tmp' is in 'web' folder and I've applied write permissions to all, but it doens't work.
I don't know what more can I do.
# Nombre del archivo temporal del thumbnail
define("NAMETHUMB", "/tmp/thumbtemp"); //Esto en servidores Linux, en Windows podría ser:
// define("NAMETHUMB", "c:/windows/temp/thumbtemp"); y te olvidas de los problemas de permisos
# Name of the temporary file of the thumbnail
define("NAMETHUMB","/tmp/thumbtemp"); //This for Linux servers, in Windows it could be:
// define("NAMETHUMB","c:/windows/temp/thumbtemp"); You forget the problems of permissions
Users browsing this forum: No registered users and 42 guests