RE: [PHP] running system()

2006-06-29 Thread Mark Steudel
From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 28, 2006 8:01 PM To: Mark Steudel Cc: php-general@lists.php.net Subject: Re: [PHP] running system() Mark Steudel wrote: > So I'm trying to run some system commands on the windows box I am working > on. And I am getting "U

Re: [PHP] running system()

2006-06-28 Thread Chris
Mark Steudel wrote: So I'm trying to run some system commands on the windows box I am working on. And I am getting "Unable to fork" errors. So after some googling I see that its because the internet guest user needs access to cmd.exe, my question is how safe is it to enable this on a production/s

[PHP] running system()

2006-06-28 Thread Mark Steudel
So I'm trying to run some system commands on the windows box I am working on. And I am getting "Unable to fork" errors. So after some googling I see that its because the internet guest user needs access to cmd.exe, my question is how safe is it to enable this on a production/shared environment? Any

Re: [PHP] Running system command or exec as differnet Users

2004-08-28 Thread Marek Kilimajer
Paul Danko wrote: Is it possible to run a command on the system using the system() or exec() commands run as a specific user if I have the username and password? i.e. [EMAIL PROTECTED]>su userNo1 [EMAIL PROTECTED]>/home/server/executeScript all in a php system() or exec() call.. http://expe

[PHP] Running system command or exec as differnet Users

2004-08-27 Thread Paul Danko
Is it possible to run a command on the system using the system() or exec() commands run as a specific user if I have the username and password? i.e. [EMAIL PROTECTED]>su userNo1 [EMAIL PROTECTED]>/home/server/executeScript all in a php system() or exec() call.. Thanks! -Paul ---

Re: [PHP] Running system commands

2003-09-25 Thread Nitin
MAIL PROTECTED]> To: "Nitin" <[EMAIL PROTECTED]> Sent: Thursday, September 25, 2003 4:38 PM Subject: Re: [PHP] Running system commands > If it's filtering port 22, you're not going to be able to access the server > from any client, unless you can bypass the firewall. &g

Re: [PHP] Running system commands

2003-09-24 Thread Nitin
mands!!! Thnaks for your help anyway Nitin - Original Message - From: "Robert Cummings" <[EMAIL PROTECTED]> To: "Mike Migurski" <[EMAIL PROTECTED]> Cc: "Nitin" <[EMAIL PROTECTED]>; "PHP-General" <[EMAIL PROTECTED]> Sent: Wednesd

Re: [PHP] Running system commands

2003-09-23 Thread Robert Cummings
On Tue, 2003-09-23 at 16:34, Mike Migurski wrote: > >I was wondering, if anyone can help me with running system commands from > >within php. Actually I have a script which deletes users from my database > >(which is of course MySQL), now I want to delete those users from system > >level also, as th

Re: [PHP] Running system commands

2003-09-23 Thread Mike Migurski
>I was wondering, if anyone can help me with running system commands from >within php. Actually I have a script which deletes users from my database >(which is of course MySQL), now I want to delete those users from system >level also, as they are authenticated users of my OS also. > >Now, the prob

Re: [PHP] Running system commands

2003-09-23 Thread Evan Nemerson
google for openssh or lsh. I dunno if you'd be able to input the password through PHP, but if not you could telnet over an SSH encrypted tunnel... Or if you have absolutely no worries about security you could use telnet, but that would be, IMHO, a Bad Idea(TM). On Tuesday 23 September 2003 02:

[PHP] Running system commands

2003-09-23 Thread Nitin
Hi all, I was wondering, if anyone can help me with running system commands from within php. Actually I have a script which deletes users from my database (which is of course MySQL), now I want to delete those users from system level also, as they are authenticated users of my OS also. Now, t

Re: [PHP] Running system commands

2003-02-26 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: I was thinking the exact same thing but I can actually delete files from these directories using a system command through php. Would that be a different type of permission? Ed On Tue, 25 Feb 2003, Chris Hewitt wrote: [EMAIL PROTECTED] wrote: Before I ask, I have read th

Re: [PHP] Running system commands

2003-02-25 Thread Jason Wong
On Wednesday 26 February 2003 03:28, [EMAIL PROTECTED] wrote: > Before I ask, I have read the documentation but nothing seems to work. > > I want to run a system command from behind the scenes (totally secure > area of my server) that creates a directory and changes permissions on it. > > i.e. sy

Re: [PHP] Running system commands

2003-02-25 Thread Chris Hewitt
[EMAIL PROTECTED] wrote: Before I ask, I have read the documentation but nothing seems to work. I want to run a system command from behind the scenes (totally secure area of my server) that creates a directory and changes permissions on it. i.e. system ("mkdir $path"); Example above uses a value

[PHP] Running system commands

2003-02-25 Thread ed
Before I ask, I have read the documentation but nothing seems to work. I want to run a system command from behind the scenes (totally secure area of my server) that creates a directory and changes permissions on it. i.e. system ("mkdir $path"); Example above uses a value from a form passed t