Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-06-2009, 01:00 PM   PM User | #1
nobackseat88
Regular Coder

 
Join Date: Dec 2007
Posts: 145
Thanks: 5
Thanked 5 Times in 5 Posts
nobackseat88 is an unknown quantity at this point
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.
nobackseat88 is offline   Reply With Quote
Old 02-10-2009, 09:31 AM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
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.
__________________
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.
gnomeontherun is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:38 AM.


Advertisement
Log in to turn off these ads.