Re: [PHP] php exe from cli, but no web

2009-03-31 Thread aurfalien
wow, that was ez! thanks a lot. i also enabled php logging and checked my apache logs and it was as you said. very cool. my httpd process runs as apache, but I also did a whoami php script to very this. thanks again stu, you helped out hugely! - aurf On Mar 31, 2009, at 3:38 PM, Stuart

Re: [PHP] php exe from cli, but no web

2009-03-31 Thread Stuart
2009/3/31 : > Hi, > > I won't be redundant by saying I'm new to PHP, so I won't :) > > The following code works by doing; > > php file.php > > contents of file.php; > > exec('/usr/bin/ssh u...@host "nohup perl /perlscript&"'); > ?> > > * I config'd this ssh user to not need a password, copied its

[PHP] php exe from cli, but no web

2009-03-31 Thread aurfalien
Hi, I won't be redundant by saying I'm new to PHP, so I won't :) The following code works by doing; php file.php contents of file.php; * I config'd this ssh user to not need a password, copied its key. I place this file off of web root and point my browser to web root and type the file n