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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to