popen

From: Date: Thu, 15 Mar 2001 09:25:35 +0000
Subject: popen
Groups: php.general 
Request: Send a blank email to php-general+get-43998@lists.php.net to get a copy of this message
Hi all I used popen to fork a process to password chaning program. The webserver has access to execute that program. This is the snippet $pp = popen("passwd user", "w"); fwrite($pp, "password\n"); fwrite($pp, "password\n"); pclose($oo); if i see the log the program executes but the password is not changed. What could be the reason?? aadish http://www.stxbatch94.com ___________________________________________________ GO.com Mail Get Your Free, Private E-mail at http://mail.go.com

« previous php.general (#43998) next »