Flash, php, xml

Hi everyone!

Im new in this forum, cool to be here.

After programming a Flash reg form and also the php parser and xml - for posting the member name, email and password into it, I got a question:

In the seccond Flash form, Im asking the user to login, typing in his username and password. Everything works fine, but, I also put the question ‘lost password?’ on the login form, which leads to another form - in order to input your email address in order to get an email with your password.

The xml file looks like this:

<?xml version=“1.0”?>
<data>
<member>
<name>John</name>
<email>John@club.net</email>
<pwd>univers</pwd>
</member>
</data>

Finaly my question:

How can I send the password request to the xml file above FIRST, in order to check if the person registered already, and then send him his password???

Last thing: It should be basicaly the same thing like re-receiving your password at Kirupa’s forum.

Unfortunately, I dont have My sql on my server, thats why Im trying it via xml.

Thanks in advance!