This content has been marked as final. Show 8 replies
Try with XML make one little xml file with few lines and just make the flash to check textfields with Login user and pass from xml file :)
<Login user="admin" pass="pass" />
hi niki, thanx for the reply,
but how is this going to handle the Sign Up part of the system im trying to make?
Is Flash able to edit a XML file?
Yes but you need a some server-side language like php to edit/save into the file
my PHP skills are quite limited.
any chance for some code? =)
I know how to send data to PHP and retrieve it. But I have no idea how to make PHP edit files, and save them with the changes.
so see this one http://bg2.php.net/manual/en/function.fopen.php for fopen, fwrite and fread functions in php to navigate you when user sign up first use fread to read the current data and then input data with fwrite :)
I guess it depends what you're comfortable with, to me this would be worlds
easier using a database, as SQL easily allows you to search, insert, and
replace data in your table. To me, much quicker and easier than trying to do
the same with a text file.
I'd seriously recommend biting the bullet and using one of the tutorials
that teaches this with a database. Once you get up to speed this is going to
be a _much_ better solution. PS - I'd use AMFPHP as well. And don't be
afraid of PHP - there are little differences, but overall it's syntax is
very similar to ActionScript - which is one reason I adopted it.
Adobe Community Expert
Yep im consonantal with the previous sql is better and easy way :)
The main problem i have at present with MySQL (besides never used it before in my life) is that I dont have access to the server. I only have FTP access to upload.
I'm guessing that i will need more than that to use MySQL...right?
Niki, thanx for the link, I havent had a chance to read it yet, but the weekend is here, and i've got nothing better to do...so wish me luck that i'll get some more PHP into my head. =P