Login Script Using A Php File
Hi there,
I noticed that you dont mention SwishMAX but i hope that you can help me anyways...
I have a Flash movie and a submit button. I have a username and a password field and it should be checked using a php file that connects a MySQL database.
I have some problems getting it to work though... I just cant seem to get the action script working properly
Hope that someone can help me even though i use SWISHMAX :-)
Mikkel
DevShed > Flash Help
Posted on: December 30th, 2004, 09:16 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Login And Password - From A .txt File?
I downloaded a login and password thing to see how it works and how I would make my own.
Unfortunatly the .fla I downloaded, had a bug in it and required you to press enter twice to get in.
I thought this would be the safest way. I DO NOT want to have the login and password in the actionscript because that is to easy to hack.
What im basically looking to do is have a .txt file where the name of the .txt would be the login, and inside would read password= w/e.
So it would be like this: if the login was "admin" and the password was "default"
admin.txt inside it reads password="default"
so that would be 1 log in and password. But the client wants to have multiple logins which can be easily edited and deleted.
Somhow I have to make it read from any .txt file and if the login matches the password would let you in. This is really confusing :P
If anyone has any ideas, or better suggestions for a secure login and password please let me know.
Thanks fellas.
Login In Flash Connect To Js File
Hi all,
im trying to configure the login page in flash and will connect to java script file then will go to database & php file to run, but it doesnt allowed. Use the variable based on "Cota" Super Moderator.. but its still sad.
http://www.actionscript.org/forums/s...d.php3?t=88889
Maybe im not good enought to understand what "Cota' means.
Realy hope if someone can help me..
Thanks
Login To Mc - Password Through Text File?
Hello!
Id like to create a user name & password area (backstage_mc) inside a main.swf. Ive used simple login forms before (www.stallescotia.com) but Id like this to take its list of users & passwords through a txt.file so that my friend can update it without having to go into Flash, does anyone know of a good tutorial either AS2 or AS3?
Thanks a million!
scotia
Help Login Screen Data To External File.
I need a login user screen which will save the
data(name,company,date&time)to an external file.
This will be saved on a local drive not a server.
Example:
Name _______
Company _______
(Enter System Button)
or, this input data can be shown in a hidden
window for printing.
thanks in advance.
Text File Equals Variable Name Of Login
I want my game to write a text file to my harddrive that names the file whatever the person entered as their login name. The variable name is login.
I really need some help here......
Exit Projector File After 3 Times Login Attempt Fail
Hello all kirupian just need little help with my silly question...but who's care.....ok here i just want to make it quit the projector file after user 3 times login fail .....here;s my snippet code...
ActionScript Code:
stop();stage.showMenu = false;fscommand("fullscreen",true);btn.onPress = function(){ if (username.text == "test" & password.text == "123"){//cek input user _root.gotoAndStop(2); }else{if (username.text!=="test"&& password.text!=="123"){ _root.gotoAndStop(1); _root.username.text = ''; _root.password.text = ''; // trace("wrong input"); // fscommand ("quit","TRUE"); }else{ if (username.text!=="test"&& password.text!=="123"==3){ fscommand ("quit","TRUE"); } }}}
hope someone can give me guide to figure out it...tq anyway..
Login->page Refresh->login Again?
Hi!
I'm making a chat project for my site... I've got a little(maybe BIG)problem now..
problem: When the user enter the chatroom, it requare to put nick name(of course), after when the user logged in, the chatroom understand as that nicked USER is online, if he/she REFRESH the page... flash movie start from begining :'( , that means that user is known as logged in, but he/she is in login stage again...
that seems to be a problem... pls give me a hand(any advices or ideas or Action Script to fix the problem)... pls...
thanx in advance
-GM
Login Count And Last Login
Hi.
I have created a user authentication system using AMFPHP and MySQL with as3. It works by looping the MySQL database, and if there is a match = gotoAndPlay("Success frame").
I also want to create a login counter, to count how many times the particular password has been used and a lastlogin timestamp for checking when the password was last used.
I have tried some different thing and tried searching for a tutorial, but no luck.
Can anyone suggest a method to creating this?
Thank you very much!
Login?
I got a question on doing a log in forms in flash.
could some one explain me this thing?
I see alot of them on other websites, like it would say: Member login, do i have to have a server????
Or could anyone explain to me how to do a login in regular HTML page.
Thanks for your help in advance.
Login Help....
My page has a secret section which can only be accessed when you press certain keys.
What I wanted to do is, when the person presses those keys, it asks them for a password, and then open the secret page, that is, if the password is right.
How can I do this?
Thank you for your time!!!
.jsp Login?
OK,
I have a login page designed in .jsp, and I want to transfer the ugly .jsp login into flash where I can incorporate it into a nice-looking navbar.
Any ideas how I can do this? I know I need to specify the textfields and submit buttons... where do I find these options in MX?
Thanks,
Joe
.jsp Login?
OK,
I have a login page designed in .jsp, and I want to transfer the ugly .jsp login into flash where I can incorporate it into a nice-looking navbar.
Any ideas how I can do this? I know I need to specify the textfields and submit buttons... where do I find these options in MX?
Thanks,
Joe
Login Help
I am making a game witch you login to. I got all the login things completed. It only dose the correct names and passes, but now i want it to go to diffrent frames for diffrent usernames. Here is the working code that bring all the correct one's to the same frame:
on (press) {
user = ["rctroub", "johnjg75", "sdhonda153", "rctroub89", "betatest", "mmfan"];
passes = ["test", "test2", "test3", "test4", "beta", "winner"];
logged = _root.login.text;
passed = _root.pass.text;
for (var i = 0; i<user.length; i++) {
equaled = user[i] == logged && passes[i] == passed;
if (equaled) {
gotoAndPlay("High Rev-rctroub", 1);
break;
} else if (i == user.length-1) {
_root.message.text = "Username or Password invalid. Please try again. ";
_root.message.text += "";
}
}
}
Dose anyone know how to make rctroub go to one scene, and mmfan to go to another? Thanks for the time.
*Note: The .fla is too large to poast
Login Help
Ok, so I'm making this program that sends you to a website that asks you to login. If I already know my password and login name, how to I tell Flash to automatically login without me having to login when I get to the page? If you want an example of the page I'm forwarding to Mail2Web.com
Someone please help and e-mail me the answer at alli@boundarywatersboy.com
After Login
how would i go about this...
frame 1- the user logins in with username and password
they then go to frame 3
frame 3- (i would like frame 3 to display their username somewhere on the page) how do i, for example, copy the username and place it on frame 3? thanks a ton
Login
so i have a frame that you log in on, if they get the password and username correct they go to frame 3.
ok, but what if they get it wrong. well then i want to send them to frame 2 where it tells them they were wrong.
for the right password code, i am using
on (release, keyPress "<Enter>") {
if (userName == "ken" && passWord == "carnes") {
gotoAndStop(3);
}
}
what do i add to that to send them to frame 2 for wrong?
it seems to me that you would just put
if not (userName == "ken...
but its just not that simple
Login
How would you add one or more users and passwords to a login?
Login Over Two URL's
Hello,
Have a stumbling block on a project that i am working on. I have recently produced a second flash site for a client both of which are on different URL's. Both have logins but the client has now decided that he only wants people to have to log in once. My problem is how do i pass between the two sites wether the person is already loged in?
Login Box
Hi,
I am new to flash and action scripting. I would like to use flash to prompt user for user name and password. If invalid, it will display a message saying re-enter. If correct, it will direct user to my default home page. Does anybody knows such a flash resource available that someone already put the time to put it together? Please let me know.
Thanks,
Lan
Login
hi
i wanted to make a page with a login-field. i tried several things but at the end it never worked.
i have to input-fields.
the on´s varname is "password" the other ones "username"
now i have a button
it´s as-code is like that:
code: on (release) {
user=username;
pass=passwort;
if (((user == "ovi") && (pass == "alphabet")) || ((user == "ovi1") && (pass == "alphabet1"))) {
gotoAndPlay(2);
}else{
gotoAndPlay(1);
}
}
it doesn´t matter what i type in the input-field i always get to frame 2 when i press the button.
you know the reason???
here´s the .fla-file (Flash MX)
Login .fla
I am posting the .fla file for the login I want for my site. When you hit "our store" at--http://www.tsigold.com, it goes to the products part, I want this to go to the login .swf first then after you hit close when you done login in it takes you back to products. How can I make this work
I tested it and gave the our store button a
on (release) {
getURL("members.swf");
}
it takes it to the login page fine but I want the close button to take it back to the website for shopping. I tried it and nothing happens, I get the members page to come up but I can not get it to store any info in the text file
Login
i am making a virtual pet type of thing in flash just to try out some new action script i have learnt but i would like it to be able to have a loging feature so that it would be able to remeber the progress of the pet/thing. How would i go about doing this
thanks
[F8] Login
If I were building a flah website how would I have people login and have accounts for an interactive site or game
[F8] Login Help
O.K., I have this flash working(kinda) but, I want it so you can sign up(done this) and you dont have to sign up again. so you can just login...
How?
XeneX
Login
I want to have one text field for multiple users. Depending on the users password they will be sent to different pages. How can I do this? I use flash 8 but I am not a programmer.
AS3 Login Without SQL
Hello,
I've searched long and hard, but couldn't find any tutorials on an AS3 login using PHP to store the correct username and password but not using SQL. Can a movie published with Flash Player 9 be decompiled, making the option of storing it in the movie impratical?
Regards,
Richard
.NET Login?
Can anyone help me with a Login using Remoting .net and Sql?
Want to process login and redirect to a movie_clip..
Seems like its lonley in here.
Login
Hello,
Can anyone please help me with the next thing:
I've made an videochat using 4 av screens, 1 chat, and the simple connect. Working fine. But now my question. I want to login with variables wich I get from a text file, for example username=sjonnie&. I want this because I don't want to login again in the flash movie, I only want to login with my php (which parsses the variable). Simple connect stays but not visible
Can I do this with loadVars?? Where do I have to put the actionscript? Is there a way??
Please help me
Login
Hi,
Does anyone know how to make a login form using Flash and connect it to the database?
Thanks
Login
how do i make a login and password in flash for loads of users,
and when they login it is custom for them EG:
peopone
this is my password
and when that person logs in it says:
hello peopone, you have no new death threats.
or something thanks a hell of a lot
you faithfull and nonindipendent noob, infl8
Login Without Using Php
is it possible to login without using php , if i have saved the information in a text file.
anyone can help me ?
Login Help
Code:
on(press)
{if (username=="blazes816") & (password=="password") {
gotoAndPlay(3);
}
else {
gotoAndPlay(2)
}}
Quote:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Unexpected '&' encountered
{if (username=="blazes816") & (password=="password") {
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 5: 'else' encountered without matching 'if'
else {
Total ActionScript Errors: 2 Reported Errors: 2
I know the problems but what can I do instead of '&'. And what 'else if' can I do so that any other username or password go to frame 2.
AS3 Login Without SQL
Hello,
I've searched long and hard, but couldn't find any tutorials on an AS3 login using PHP to store the correct username and password but not using SQL. Can a movie published with Flash Player 9 be decompiled, making the option of storing it in the movie impratical?
Regards,
Richard
Login
Hi,
Does anyone know how to make a login form using Flash and connect it to the database?
Thanks
Login
how do i make a login and password in flash for loads of users,
and when they login it is custom for them EG:
peopone
this is my password
and when that person logs in it says:
hello peopone, you have no new death threats.
or something thanks a hell of a lot
you faithfull and nonindipendent noob, infl8
Login Without Using Php
is it possible to login without using php , if i have saved the information in a text file.
anyone can help me ?
Login
Hi, again
I've got a login file:
www.123-solutions.co.uk/Other
That has a load of stuff in it.
But it doesn't work.
Can someone look at it and see what's wrong.
Thanks Sephers181
User Login
I have created a simple user profile, which I will give some style to eventually, that allows particular usernames to log in if they input the correct password. I want people to be able to update their own profile, but so far haven't managed to figure out how a loaded variable can be written to.
At the moment, the user can log in and change their password, but if the .swf is closed, it reverts back to the default. I can load in an external variable from a .txt file, and this works ok, but then I can't update the text file from within Flash.
I want users to be able to change their password, and this to stay changed. This means that the variable must be written to the text file (or if there is an easier way, please let me know).
Anyone suggest how I can do this? I have been using Flash for a long time (since Flash 4 first came out), but I have some sort of deficiency that stops me from being able to learn programming. I will never understand Action Script, but if someone is able to explain hw I can do this, I'd be grateful.
Thanks in advance.
Login Password Box
hey all i need some help,
i wanna make a certain part of my project only for people that have the loginpassword to be able to see it. please help me out
Php Client Login........
Hey Guys
Just wondering if any one knew of a good php client login with password, that runs with flash, which is very secure and does,nt run on a SQL database..
I have tried FK tutes and movies but no luck....
THX HEAPS
mdesign
Password And Login
i have created a password and login "thing".
in the first frame is two input textfields (login & password) and a button that has the script:
on(release)
if(login eq "User" and password eq "secret")
gotoAndStop(2)
else
gotoAndStop(3)
frame 2 says "connecting to site..." and has the script:
getURL (C:webpagehome.html, _parent)
frame 3 says "wrong, try again" and has a back button that contains the script:
on(release)
gotoAndStop(1)
how can i add multiple login and passwords successfully without it screwing up or being able to mix-n-match the login and passwords
Username/login
I want to make a place were I can have sertain people login to it, and depending on there username, load a different text in a text box.
I don't know if i am making sense...
*someone signs in
*a page comes up with a text box
*depending on username different text in text box
Any help would be great!!
Members Login
i must admit i am relatively new to FLASH,
thanks to anyone who can help me further...
I have 2 input boxes, 1 for username and 1 for password..
I have named them according and entered those same details in the variables field...
I have drawn a submit button, (as i dont want to use FLASH MX's push button components due to combatibility issues with FLASH 5) and turned that to a 'button symbol'. I assigned an actionscript to that button
on (release) {
getURL("http://myserver.com/verify.asp", "", "POST");
}
that didnt work, it only linked me to my registration page...
i applied
loadVariables("http://myserver.com/verify.asp", "this", "POST");
to my login button, now the button is not working...
Please i really do need help with this, can someone tell me what im doing wrong or what i should be doing or where to apply that loadVariables function?????????
Much appreciated in advance
Login & Password
I want to create a log in and password together. Does anyone know what I’m missing
Here is what I did:
on (release, keyPress "<Enter>") {
if (pw.toUpperCase() eq "ASDF") {
if (un.toUpperCase() eq "ASDF") {
gotoAndStop("cleared");
} else {
gotoAndStop("declined");
}
}
}
but, if one or both of the fields are incorrect it does not stop at “declined”
is the answer right in front of my face?
Any help would be appreciated.
Please post answer here | do not email me | I’m at work
Thanks again in advance!
Login Page
I'm creating a login page using Flash MX and ASP.Net. The coding works except for this one:
if (typeof (valid)<>"undefined") {
blah = valid;
if (valid == 0) {
gotoAndStop(4);
} else {
gotoAndStop(3);
}
}
if (Submit<>true) {
stop();
}
There isn't any syntax errors and it works except for the fact that it skips : if (valid == 0){
gotoAndStop(4);
Why is it skipping that statement?
Flash Login Help
Does anybody know of a tutorial that will enable me to create a username and password login swf that connects to a MySql database using PHP? Then once the user inputs the correct username and password the timeline moves to the next frame or loads another swf file.
Thanks
Paul
Login System
Ok say you go to my web page and your looking around only to find that you CAN"T download anything? every ware there is a download it say you need to login in oder to download so you go and reaster and login and POW you can download stuff.
How can i do this?
|