Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Dec 2007
    Thanked 5 Times in 5 Posts

    Flash > PHP > Database?

    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.

  2. #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Thanked 238 Times in 229 Posts
    I suggest that you utilize AMFPHP


    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.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts