This is not an actual shell which runs continuously...
It is reset on every command

commands like cd are tracked by $_SESSION['cwd']
for ls to work try this modification to the proc_open:

     $p = proc_open($command,
                            array(1 => array('pipe', 'w'),
                                   2 => array('pipe', 'w')),
                             $io, getcwd());
  ----- Original Message ----- 
  From: Tobias Unger 
  To: Discuss the development of PHP Shell 
  Sent: Tuesday, June 16, 2009 4:30 PM
  Subject: Re: commands do not work problem


  Hi,

  well, using normal shell comands sound right - I do not have a clue why it 
does not work with you.
  Maybe you can provide some more information? Or maybe one of the other 
subscribed users has any experiences with that?

  About the convienient tool: I have no idea what that should be...

  And yes - you just use it as an normal shell (actually as a shell without 
interactive components). The web interface just enables you to execute these 
commands at the server without an ssh-account.

  Bye!
  Tobias


  Mike Turley schrieb am 16.06.2009 22:21 Uhr: 
    Hi,


    I'm new to PHP Shell. I set up and logged in successfully. But when it 
comes to type in the command, I tested it by using some very basic commands 
like "pwd", "ls" "cd", etc. It always gives me the message like "not recognized 
as internal or external command" or something like that. Did I do something 
wrong? Or I need to use special command?


    Another question is: I checked some discussion about this convenient tool 
and it says that this tool is much more convenient. But how can I explore and 
take advantage of the features I haven't found yet. To me, it is a web 
interface, but I still need to type in the command line to execute. It seems 
same as other linux tool except for the user interface. I believe I must have 
missed something here. May I know how I can use this tool efficiently?


    Thanks!


----------------------------------------------------------------------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects----------------------------------------------------------------------------
_______________________________________________
phpshell-devel mailing list
phpshell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpshell-devel
  

-- 
 Tobias Unger
 m...@tobias-unger.de
 www.tobias-unger.de
 0911 - 30 83 50 63


------------------------------------------------------------------------------


  ------------------------------------------------------------------------------
  Crystal Reports - New Free Runtime and 30 Day Trial
  Check out the new simplified licensing option that enables unlimited
  royalty-free distribution of the report engine for externally facing 
  server and web deployment.
  http://p.sf.net/sfu/businessobjects 


------------------------------------------------------------------------------


  _______________________________________________
  phpshell-devel mailing list
  phpshell-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/phpshell-devel
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
phpshell-devel mailing list
phpshell-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpshell-devel

Reply via email to