Dang, I went to all of those pages, so far all of them require MySQL… Something I don’t have on my server. Does anyone know of a good script?
Maybe I will just end up paying for a MySQL database… They are additional to most hosts, right? I know some allow certain amount of MySQL Databases, however, I am not familiar with them.
Remember that login thing I was working on before? I abandoned the flash5 tut from flash-db.com and started a fresh one. Well, the new one I made works perfectly. And it only uses three frames!! I even wrote the PHP myself (and it worked?!)
Are there enough people asking for login stuff for me to write a tutorial for it? Can I write a tut for it? I’ve searched all over the net for a login script that uses Flash MX, PHP, and MySQL that uses both a name AND a password and can’t find one anywhere.
Yeah, I have no idea how to do that. I just made this so people could have a real simple, cut and dry, auth system that can be upgraded. I suppose you would just use setCookie, huh? Maybe I do know - or remember reading it. I just started in PHP and the two weeks of frustration I went through trying to get this (the old one) to work is something I wouldn’t wish on an enemy, ya know?
But thanks for the input DP- I had never thought of that as a problem - matter of fact, before I put in the back button, thats how I reset it!!! :crazy:
You know, in hind sight, that’s something you could do with PHP that the login movie would be on. The example I have in the post above isn’t HTML or PHP, it’s just SWF. So, you could put that SWF in a PHP file that sets a cookie that expires and also reads for it. If it finds that cookie, then it will print a variable that you could have a onEnterFrame search for on the first frame that would immediately direct the movie to frame 2…would that work?
[edit]just read your post Okay - I think that would be the same as I just said in PHP, but I’m not sure…:\
That woudl work but it would be easily hackable. Also, speaking of that I hope you are doing your password storing outside the SWF file and that the SWF Vars and PHP Vars aren’t the same. If they are then I could crack your login in about 3 minutes using an SWF decompiler.
Well, the vars between the two are not the same in my client’s auth system, and all the usernames and passwords are stored in a MySQL database.
I also have this in the first paragraph of the tut:
This tutorial will show you the basics on how to authenticate in Flash. It is not a totally web secure system (SSL), however, all your information will be in SWF movie, the scripts will be in PHP, and the usernames and password are in a database. That way, no information is easily obtained.
You know that authentication systems are like car alarms - it doesn’t mean your car can’t be stolen. This is just a base to help others learn PHP - basically, it’s what I wished I could find when I started this project.
BTW, how would you see a PHP script? It’s processed by the server, right? That way you would either have to hack my database or my server, right? If anything, I could add in an md5 for (superbasic) encryption, or then just use SSL.
Regaurdless, it doesn’t really matter that much, this little system isn’t for the Pentagon…
Yea, hack the server. It is very easy with an ftp login access point. You can just use a brute force cracker to break it.
For some reason, I have to have all my stuff like ubber secure, it is just a little game I play with myself. Good job with this man it sounds like you got it all tied up.
Those are a couple of shareware apps that you can check out. Basically, you just go steal the SWF off whatever site you wanna check out and then bring it into that app and it will decompile it for you.