is it possible to do that? I’ve seen the commandline instructions but it seems that passwd is an interactive command and we can’t respond via PHP.
thanks
is it possible to do that? I’ve seen the commandline instructions but it seems that passwd is an interactive command and we can’t respond via PHP.
thanks
2
Answers
The simplest solution is to use
popen
andchpasswd
.Or try to emulating human with CURL.
Login + Create Account. Simple example with one form http://curl.haxx.se/mail/curlphp-2004-04/0013.html