Re: mkdir() Cannot Create Directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/17/08, Daniel Brown <parasane@xxxxxxxxx> wrote:
>
> On Tue, Jun 17, 2008 at 2:43 PM, Wei, Alice J. <ajwei@xxxxxxxxxxx> wrote:
> > Hi,
> >
> [snip!]
> >
> > This is my PHP code:
> >
> > mkdir("C:/Inetpub/wwwroot/TPU/test/$id, 0755) or die ("<p>Cannot create
> directory C:/Inetpub/wwwroot/TPU/test/$id</p>");
> >
> >  What is strange is that I don't get permission denied errors, but I
> still cannot create the directories. Can anyone provide me some tips on why
> I am getting these errors?
>
>    Does 'C:\Inetpub\wwwroot\TPU\test\' exist on the server, and is it
> writable?  Maybe you're just missing a directory up to that point
> (such as 'test'), or maybe it's not on your C:\ drive.


Alice, that's a default IIS path to the web root, so I assume you _might_ be
using IIS. Maybe the IIS manager is locking you out somehow.

--David.

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux