Hello, I already have setup a SWF file where you enter your login credentials, and I want it to submit to a PHP page on my website, and then contact a database, check if the information is right, and then contact flash again, letting it know correct password, or incorrect, or if correct, the username.
Would this be safe, if I used the mysqlrealescapestring too?
I've seen some tutorials put it in the actual actionscript, which isn't safe.
I've almost got the PHP part for this done, but what would the actionscript part be?
Please help.

Thanks in advance.