The script I described it's on its 1st working version and of course I have planned to make it more clear and function based, BUT ,
the problem it's that there is an PERL based web mail that receives the login and password from the web form...:
Original way:
html form ---> PERL based webmail
1.- 2.-
1.- The user fills the form
2.- The PERL based webmail receives the data and begins to work
My way :
html form ---> PHP script (encrypts and compare) ---> PERL based webmail
1.- 2.- 3.-
1.- The user fills the form
2.- The PHP script receives the data and encrypts the password if match the encrypted and the stored then I pretend it to send the not crypted password to the PERL based webmail...
3.- Ther PERL based webmail receives the data and begins to work....
So, the main question it's : how can I send or simulate a post of the data and send it to the PERL based webmail ?