ActionScript 3.0 :: MySQL, PHP Login For Website?
Dec 20, 2009
I've been working on a login for my AS3 website and I keep running into this issue where my novie gets stuck at "loading..." as you can see if you go to this websiteand try to create an account. I have a login.swf, a login.as, login.php, and newAccount.php all in the same directory folder. I've cleaned up some of the more obvious coding errors, but I'm a design guy thrown into a coding job... Errrr, not so fun. I'll post the contents of the files below , even though I'm pretty sure that's a no no...ogin.as
PHP Code:
package {
import fl.controls.Button;
[code]....
View 8 Replies
Similar Posts:
Sep 9, 2008
I'm running into a problem with a login and password screen through Flash. It connects to MySQL database to check if the username and pass are correct. Well, when I test it and click submit it just sits there and says in the status bar of the browser, URL...I believe that the PHP and MySQL part of this project are working correctly and just want to see if anybody notices anything wrong with the AS code calling for the PHP that's in the swf:[code]
View 2 Replies
Jan 25, 2009
I want to have a login page in flash,which takes two inputs and passes it to the php. Then php checks the data base to see whether the username or password in valid or not and then replies back to the flash.
Is there any existing code for this
View 1 Replies
Dec 13, 2011
I was wondering what the best route to take for making a login. The idea is to have the user login with their username and pass on frame 1. If the username and pass exist in the MySQL database then the user will be moved to frame 2. What would be the best way of achieving this? I know AMFPHP is old and I have heard to use ZENDAMF instead, but it seems that any recommendations are 2+ years old when I searched Google.
View 1 Replies
May 7, 2010
I've been messing around trying to figure out how to build a Flash login using PHP, MySQL, and AS2. Can't seem to get it working. What I want is, if the username and password match up with entries in the database, the user is taken to frame 2 of the movie. If the u/p doesn't match up, they're taken to frame 3 where a login failure message appears.
View 0 Replies
Aug 27, 2010
I have a highscore system in that I have small doubt like I want to store the user session in the mysql table and also the guest session. Like if the user is registered user then that session should be stored in the mysql db. Else if the user is not registered i.e guest user then also I need to store with the guest account for my high score system for a flash games site.
View 1 Replies
Jul 26, 2009
I'm having a little trouble with the 3. I'm trying to use a URLRequest to get login information from the mySql server. It works great when I try to log in, but if anyone else from outside my network tries to log in, it just hangs. I'm on port 8080 using localhost. I've even tried changing everything to my IP address instead of localhost and allowing my tester to try, but it still hangs.
View 6 Replies
Oct 11, 2006
I need to create a login page in my flash site that relates to information input to a mysql database. after the submit their information we want to send them a link to a differnt flash page with a login screen they will use their first name and a password (already in our database) to gain access to this "new" page. on that page there will be a welcome message that says "Welcome, User First Name" so I guess i have two questions
1: how do i set up a login page?
2: how do i pull that login info to a welcome page?
View 7 Replies
Oct 11, 2010
what I want to do is from my application, login to a website and retrieve information from my login and populate the relative fields on my screen, be able to make a change on my app screen then upload the changes to the website. To be able to make changes from an app would be a great help and save a lot of time rather than constantly logging into the website through a browser.
I've searched a lot on google regarding logging into websites but haven't had much luck in finding something I can use. It seems like a simple idea but it's obviously not something people use often.
View 2 Replies
Aug 27, 2004
I need to know how to create a login page for a website, allowing the user with a correct name and password to view a movieclip with saved inforation.
View 2 Replies
Feb 28, 2012
I'm trying to build a secure login area on a Flash-AS3 website. I've managed to create the login form and pass data to a PHP script which checks them.
1) I know that in PHP I can echo some infos that can be get from AS3. In this case I suppose to echo something like "success" or "failed" to give an answer to the login attempt. Is this way of communication secure? Can anybody sniff this content and force AS3 to behave like if login was successful?
2) Suppose that PHP-AS3 communication has been secured. What should I do now? May I simply show admin pages hidden before? Is it the correct way? Is it secure?
View 5 Replies
Jan 21, 2012
I'm trying to build a secure login area on a Flash-AS3 website. I've managed to create the login form and pass data to a PHP script which checks them. Now I've got some questions.
1) I know that in PHP I can echo some infos that can be get from AS3. In this case I suppose to echo something like "success" or "failed" to give an answer to the login attempt. Is this way of communication secure? Can anybody sniff this content and force AS3 to behave like if login was successful?
2) Suppose that PHP-AS3 communication has been secured. What should I do now? May I simply show admin pages hidden before? Is it the correct way? Is it secure?
View 5 Replies
Mar 26, 2012
I would like to create a secure login section for a website. I have managed to build up an AS3-PHP communication where PHP checks user credentials. I am already providing data enchryption between AS3 and PHP but I would like to add some further security. Is it possible to implement a HTTPS login section?
View 5 Replies
Aug 17, 2009
I have a need to build a flash login page. No big deal, but I need to have six seperate login accounts. For example:
Username: user1 Password: pass = link to [URL]
Username: user2 Password: pass = link to [URL]
Username: user3 Password: pass = link to [URL]
and so on for up to six users.
Again the usernames and passwords would not change, but need to redirect the particular user to a certain page.
stop();
var user_input = "";
var pass_input = "";
login_button.onRelease = function(){
if(user_input == "user1"
&& pass_input == "pass"){
getURL([URL], "GET");
}else{
gotoAndStop (3);
}}
View 7 Replies
Nov 10, 2004
how could i make a login form for people to use to login to a certain area?? like for instance on this website [url]..... at the bottom he has a client login form....how could i do that?
View 4 Replies
Feb 2, 2011
I have a typical Flex-based application that was written to use a Java/Hibernate/MySQL backend. The client changed the requirements - now they want to distribute it on a CD where the user can just run the app without any installation or a network connection.
To do this, I certainly need to eliminate the web server and the database server and adapt my application (with as few changes as possible, of course) to a stand-alone application that will fit on a CD/DVD. I've managed to export the data to XML and read it into Flex, but I'm wondering if there's a way to recreate the Hibernate data structures in Flex so I could change as little code as possible. Failing that, is there any way to keep the existing Java/Hibernate external to the Flex code but retrievable without installing Apache Tomcat or MySQL?
View 3 Replies
Jan 13, 2010
I have a Flex application which manage a database composed by 7 tables.I have created the insert form and all work great. Now I wanto to improve the Form performances; the idea is to replace the TextInput of the Form with ComboBoxes which are provided by the DataBase tables
View 1 Replies
May 25, 2010
I have downloaded MySQL JDBC driver from [URL]... How do I configure it?
View 1 Replies
Oct 22, 2011
In my table the Collation is:latin1_swedish_ci (but i tried UTF8_unicode too).In my flex application when it shows the table,it displays it correct,with all accent and pointing correct,but in the table is like :
View 1 Replies
Jan 7, 2011
What's the risk if it is between 2 websites or 2 webservices or between a site url and flash or embedded javascript ?
View 1 Replies
Apr 6, 2010
Is there a way to display a website [URL] inside your Flash website?
Looking for something similar to HTML inline frames
<iframe> src="adobe.com" height="200" width="300" </iframe>
View 1 Replies
Apr 14, 2011
I want to use a flash preloader for my php website. I have seen some javascript examples; but I want something attractive and cool. So I want use flash preloader which will show the percentage of the website loaded.My website is kinda heavy(with lot of images). It looks bad when the contents load. So I want to show a flash preloader while the site loads.
View 2 Replies
Jan 19, 2009
I found the following tutorial which looks good but i cant get it to work [URL] i have setup the db connections etc and i never see the error screen or sucess screen, it just hangs at 'Begin Login Process - Wait...' setting up the db i had to remove the DEFAULT '0000' as mysql qould not acsept it the code given is
[Code]...
View 1 Replies
Jul 2, 2009
I built a swf which can let user login with username and password.
When user click on the login button on swf, it calls a web service to do authentication.
It works on Ctrl+Enter in Flash CS3.
Then, I publish it with html and run on IIS.
There is no response when I click the login button on the html which embedded with the swf.
View 3 Replies
Oct 7, 2009
flash web base application. Which has login page in flash when the user enters username and password this is sends to server in binary format through binary socket. Server sends the responce in same format I am stuck here how could I proceed to for this.
View 10 Replies
Oct 1, 2010
Just updated from FMS 3.5.2 to 3.5.4. After this I'm not able to login onto the server.I've tired to check the fms.ini file without any luck. I've tried to login using both localhost and domain/url. I've tried to use a backup of the conf-folder but all responses from the installation is: "login attemt to the server below failed".It worked PERFECT before the update. There has been no changes in firewall etc. during updateinstallation.
View 7 Replies
Jul 7, 2011
I am trying to integrate my application with facebook.[URL]I get no errors or warnings. But when I run my app,on click upon login the login window does not pop up at all..as in nothing happens...No errors of any sort..
View 1 Replies
Nov 30, 2011
I am trying create system in which I can login from php and then go directly to the flex project. The flex project already has login system but I want to bypass that and use the login system created in php. For testing I created a simple mxml file and one html page. Using the object tag and flashvars I passed the username and password into the swf and displayed using label. But my project is very big and want to pass username and password without using the swf of the project.
View 1 Replies
Apr 19, 2010
I've created a login form in Flash that should post to a php login script on a different server.
I've given one input text field a variable name of user (for the username)
I've given the other input text field a variable name of pass (for the password)
I'm using the following AS applied to a button:
Code:
on (release) {
getURL("http://www.website.com/login.php?username="+ user +"&password="+ pass);
}
[Code].....
I log in just fine to the site... If I attach the full code to the script I log in just fine... why is it that passing the variables is not working with getURL action script?
I've tried to accomplish this using several different scripts but I get the same result with everything I do.
View 8 Replies
Apr 3, 2009
i have this code but my problem is that i want it to go to a new frame when i type in the correct username and password.
View 6 Replies