Re: Fw: Fw: PHP Shell

2009-05-11 Thread ArcyQwerty
Thanks I just figured it out $p = proc_open($command, array(1 => array('pipe', 'w'), 2 => array('pipe', 'w')), $io, getcwd()); The proc_open command can take a parameter with the current directory whi

Re: Fw: Fw: PHP Shell

2009-05-11 Thread Tobias Unger
That (dir still showing the unchanged path) may have something to do with "cd" being an internal comand of PHP Shell. As far as I know you do not really change to the directory but just tell PHP Shell where you want the next comand to be executed. That is because the connection to PHP / the web

Re: Fw: Fw: PHP Shell

2009-05-11 Thread ArcyQwerty
After some experimentation, changing $_SESSION['cwd'] to chdir() and getcwd() depending on what I need seems to work out It will now recognize the current directory but commands like 'dir' still give me the system32 (probably has something to do with cmd.exe being in system32) - Original Me

[ phpshell-Feature Requests-1479450 ] Add clear button

2009-05-11 Thread SourceForge.net
Feature Requests item #1479450, was opened at 2006-04-30 15:15 Message generated for change (Comment added) made by arcyqwerty You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=800590&aid=1479450&group_id=156638 Please note that this message will contain a full copy o

Re: Fw: Fw: PHP Shell

2009-05-11 Thread Tobias Unger
I'm sorry but I do not have a clue what the problem might be caused by, so I will not be able to help you... sorry for that! Actually I am just subscribed to this list because I once used PHP Shell... but that was some years ago... I hope there's anybody else reading this who is more familiar

Fw: Fw: PHP Shell

2009-05-11 Thread ArcyQwerty
Yes I am still subscribed ;) I have tried different methods such as cd / cd .. cd ../ cd C:\ cd C: cd C:/ - Original Message - From: Tobias Unger To: ArcyQwerty ; Discuss the development of PHP Shell Sent: Sunday, May 10, 2009 4:37 PM Subject: Re: Fw: PHP Shell

Re: Fw: PHP Shell

2009-05-11 Thread Tobias Unger
Ok, I thought you would still be the projects' administrator. Thank you for this information. Martin Geisler schrieb am 11.05.2009 00:14 Uhr: 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:\