From: Martin G. <mge...@mg...> - 2009-05-10 22:15:11
|
Tobias Unger <ma...@to...> 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 help you with that (as I do not have a clue what the > problem might be caused by). > > @Martin Geisler > I guess you are still subscribed to this mailing list? Yeah, but I haven't used PHP Shell in years and I'm no longer the maintainer... Looking at the code I see that it's very Unix-centric :-( It does if ($regs[1]{0} == '/') { /* Absolute path, we use it unchanged. */ $new_dir = $regs[1]; } else { /* Relative path, we append it to the current working * directory. */ $new_dir = $_SESSION['cwd'] . '/' . $regs[1]; } where $regs[1] woudl be "C:\" in the example above. So it's no wonder that it doesn't work very well on Windows. I hope the new administrator can look at it: http://sourceforge.net/forum/forum.php?forum_id=935673 -- Martin Geisler VIFF (Virtual Ideal Functionality Framework) brings easy and efficient SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/. |