|
-
the cheesy child
Flash Login
I want to use flash and html and if it is needed, PHP to make a login page.
i want to make "Login" and "Register" buttons. I want to make the register button create a new account if it doesn't eist and if i press the login button i go to a logged in only page which can only be accssed to when logged in.
-
first of all, too many "I want"... anyway, give an idea of what you have done.
you should consider linking flash to php to mysql check for login info and back to php sending true or false to flash. create button would send php to create a new data in mysql. never done this personally but i read here and there online about how it suppose to work so maybe try spending a few hours researching.
-
the cheesy child
i cannot use mysql for some reason...
anyways i have already read here and there...
-
then i suppose you can have flash read xml. actually i find it easier to just read .txt file with xml structure and call it as XML() from flash. i.e. in login.txt there is <login><node un="BOY" pw="PSWD"></node></login>. Flash will still read it as xml if you call it from xml.load('login.txt'); (Yes, it works, tested and using.)
That way it is easier to have flash call out to php and write the .txt file with xml structure formating as needed.
It's not really secure, which was why I suggested mySQL, but if you can't access SQL, this is the only way I know to keep data.
-
the cheesy child
cool! thank you for that! i already know a way to submit highscores to a txt with php so i will just need to modify that. thank you for all of your help (and please remember i always look around google before i post here)
-
the cheesy child
hey i think you can use php to write stuff to xml...
but anyway i am going to need the php script to write the stuff to the txt file
-
Ryan Thomson
 Originally Posted by Gu35s
It's not really secure, which was why I suggested mySQL, but if you can't access SQL, this is the only way I know to keep data.
Just restating this because this method is so crazy simple to get past. If this is just something fun you're playing with or it really doesn't matter if people hack your code then fine, otherwise use a database! Why can't you use sql? Just as easy to set up and secure to the point of being usable.
I remember when you used to see lots of flash passwords that were actually in the swf code... you could open them in notepad and literally see the password lol, here's a blank swf with just a password field called password in it and the password phrase in actionscript opened in notepad:
PHP Code:
FWS @ x _ * D Cÿÿÿ? – password OMG @
guess what the password was LOL
Last edited by EvolveDesigns; 05-11-2009 at 06:11 PM.
-
the cheesy child
Ok then...
anyways Ok I got a new site that can support SQL databases. phhewww
-
FK'n_dog
click the mySQL link in my sig.
working files for login / register system and zip file.
-
the cheesy child
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|