Log in

View Full Version : Need help!



Oni
10-07-2007, 06:21 PM
Ok so im creating a log in in flash. I want a form where users can sign up using a php form giving a username and password, it then enters this into a text file aswell as 100 points which you get to spend. Then I want to be able to log in using these details in a flash document and are able to spend the points on items and then it updates the txt file bringing the points down. So I suppose im asking if there is a way of using flash to change specific parts of txt files [To bring down the points] as I already know how to do login etc.

Robbie
10-07-2007, 08:53 PM
Maybe you could set the flash to run a PHP script which edits the points?

Oni
11-07-2007, 06:53 AM
Maybe you could set the flash to run a PHP script which edits the points?
I dont think flash can

redtom
11-07-2007, 07:28 AM
Could you use a database instead of a text file? it's also safer

Oni
11-07-2007, 02:50 PM
Could you use a database instead of a text file? it's also safer
I suppose you could although Id need a tutorial cause im crap with them

Tomm
11-07-2007, 03:24 PM
You can get flash to interact with PHP.. did a quick google of flash and php and I found this:

http://www.adobe.com/devnet/flash/articles/flashmx_php.html

Want to hide these adverts? Register an account for free!