PHP Shell

2009-05-10 Thread ArcyQwerty
I have installed phpshell 2.1 according to the INSTALL file and have successfully created a user and run it It is currently running on Windows Server 2003 R2 and IIS 6 However, I cannot use the cd command to change directory: $ cd C:\ chdir() [function.chdir]: No error (errno 0) cd: could n

Re: PHP Shell

2009-05-10 Thread Tobias Unger
Did you try whether "cd .." works or not? And is C:\ accessable for PHP? [inside DocumentRoot for Apache Servers] I never tried using PHP Shell on an Windows Server... but that of course does not mean it will not work... ArcyQwerty schrieb am 10.05.2009 15:51 Uhr: I have installed phpshell 2.1

Re: PHP Shell

2009-05-10 Thread ArcyQwerty
If I start with homedir as C:\ Current Working Directory: C:\ $ cd ./inetpub Current Working Directory: C:\/./inetpub $ ls [list of files in C:\windows\system32 shows up] C:\ and all directories under it are accessible by the authenticated user running PHP shell (running as admin b

Re: PHP Shell

2009-05-10 Thread Tobias Unger
I do not know if these Windows Web Servers access anything that the user they are running as is able to access, but if you run an Apache server you usually tell the server that he's not allowed to access files which are not in a special "public" folder. So if you run Apache with Linux as root (

Fw: PHP Shell

2009-05-10 Thread ArcyQwerty
I am fairly sure that it has the ability to use the rights of the logged in user as the system32 directory is strictly off limits to the 'public' account - Original Message - From: Tobias Unger To: ArcyQwerty ; Discuss the development of PHP Shell Sent: Sunday, May 10, 2009 2:55

Re: Fw: PHP Shell

2009-05-10 Thread Tobias Unger
OK. Well then the problem must be caused by something else. I guess you tried using "cd .." serveral times instead of cd "C:\" to make sure it's not just a "syntax" problem? If you tried so without success, I hope Martin Geisler (the author of PHP Shell) can help you with that (as I do not ha

Re: Fw: PHP Shell

2009-05-10 Thread Martin Geisler
Tobias Unger writes: > OK. Well then the problem must be caused by something else. > > I guess you tried using "cd .." serveral times instead of cd "C:\" to > make sure it's not just a "syntax" problem? > > If you tried so without success, I hope Martin Geisler (the author of > PHP Shell) can hel