Ok at the minute to change passwords we need to be logged in with admin rights and then we can go to command, type chpas $student_number and then press enter.
What this does is change the password of that student to "password" thus allowing us to give them a default password when they have forgotten theres.
What id like to do is use php which on the local computer it is on will be logged in as administrator and therefore have admin rights so that isnt a problem. Id like to have a form which passes the variable $student_number to the command line and then executes it.
If this is possible id also like to not let the variable be a Letter and only be numeric which i think i know how to do.
any help is appreciated on this and i am always happy with links to read up on how to do it.
Thansk in advance
/matt