views:

51

answers:

1

Hi, the problem is, im using a leased windows server, and im trying to create a directory using php function mkdir, whichever path i try gives the same result.

im using absolute something like this.

mkdir('D:\Hosting\3105674\html\lepsiprisma\hola',0777);

this returns

Warning: mkdir() [function.mkdir]: Permission denied in D:\Hosting\3105674\html\lepsiprisma\prueba.php  on line 2
+1  A: 

The user that the webserver runs as, likely has no permissions to write in any of the directories under the web site (or server) root. You'd have to grant the right permissions to that user.

Rob