...

View Full Version : Flash > PHP > Database?



nobackseat88
02-06-2009, 02:00 PM
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. :D

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. :cool: Thanks in advance.

gnomeontherun
02-10-2009, 10:31 AM
I suggest that you utilize AMFPHP

http://www.amfphp.org/

which is a nice portal to switch between the server and Flash. Its probably the best situation, but if you don't want to do this there are other ways which might not be as complete.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum