Re: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Henrik Hansen
"Tim Taubert" <[EMAIL PROTECTED]> wrote: > mh this is bad... > > can i do anything else instead of this ? crypt the password before inserting it into the user account? -- Henrik Hansen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

RE: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Matthew Loff
You could popen() the command, I believe, and do it interactively... -Original Message- From: Tim Taubert [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 04, 2001 4:47 PM To: PHP Mailingliste Subject: RE: [PHP] Executing UNIX commands with PHP mh this is bad... can i do anything

RE: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Tim Taubert
- .o] From: Arcady Genkin [mailto:[EMAIL PROTECTED]] .o] Sent: Wednesday, July 04, 2001 10:42 PM .o] To: [EMAIL PROTECTED] .o] Cc: PHP Mailingliste .o] Subject: Re: [PHP] Executing UNIX commands with PHP .o] .o] .o] "Tim Taubert" <[EMAIL PROTECTED]> writes: .o] .o] > how c

Re: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Arcady Genkin
"Tim Taubert" <[EMAIL PROTECTED]> writes: > how can i execute a UNIX command like > 'newuser "Tim Taubert" tim password' > ? and am i able to fetch the results of such commands? Since someone else replied to your question, I'll just mention that running such command may be a really bad idea. If

RE: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Tim Taubert
:[EMAIL PROTECTED]] .o] Sent: Wednesday, July 04, 2001 10:26 PM .o] To: [EMAIL PROTECTED] .o] Subject: Re: [PHP] Executing UNIX commands with PHP .o] .o] .o] "Tim Taubert" <[EMAIL PROTECTED]> wrote: .o] .o] > Hi all, .o] > how can i execute a UNIX command like .o] > .o]

Re: [PHP] Executing UNIX commands with PHP

2001-07-04 Thread Henrik Hansen
"Tim Taubert" <[EMAIL PROTECTED]> wrote: > Hi all, > how can i execute a UNIX command like > > 'newuser "Tim Taubert" tim password' $output = system("unix_command"); echo "The result was" . $output; more info at: www.php.net/system -- Henrik Hansen -- PHP General Mailing List (http:/

[PHP] Executing UNIX commands with PHP

2001-07-04 Thread Tim Taubert
Hi all, how can i execute a UNIX command like 'newuser "Tim Taubert" tim password' ? and am i able to fetch the results of such commands? Please help. Tim Taubert - Tim Taubert | [EMAIL PROTECTED] | http://www.shogunat.com/