|
Can php code create $_POST array
I use formail and a webpage form that submits using post to invoke the formmail script - all works well.
I am in the process of creating a members only section to our website. I want to be able to email new passwords, when users request them having forgotten their original, automatically.
I have this working by using the existing form and creating and automatically filling in the form - but the user still has to click submit. I can get round this using JScript.
However - it isn't secure - I would prefer not to have the new password sent to the requesting user's browser at all - it might not be the correct user.
Is there a way of creating the $_POST array by code and then 'invoking' formmail, thus keeping it completely server side?
help appreciated
|