Added: 2 years ago
From: warlord90210
Views: 34,197
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (59)

Sign In or Sign Up now to post a comment!
  • thanks, it's very useful

    greetings from Mexico!

  • Hi dude. First of all, many thanks, works greatly!

    I want to ask you something: imagine that you have a file like login.php with many functions like: login, logoff, cookieson, etc..how could you get those functions?

  • PLZ help me m lost why i get error #2032  and how do i fix it?

  • @dzclimax Go here to fix your issue: bit (dot) ly/p6l0pM

  • awesome, i'm gonna create a smart website now. Thanks mate!

  • Okay, my question is, after a user have logged in, how do you retrieve information based on that login? Also, how would I go about output the name on a different view

  • lol

    

  • Wow! You did this at 3 am ?!

  • All right, but what if I download your swf, I put it on my own server with a login page called mylogin.php (as I can see strings of a swf file), which just echo "xml..status true /status" (that I can find just by opening mylogin.php url)

    I think it would bypass your authentification method

  • この動画にレスポンスを付ける... 

  • @ikdsjOFFICIAL yeah....that.

  • this is very beautifull but when u r using a larger ERModel you will probably be thinking on various classes and deploying it on webservices to use with flex. and thats when the party begins! couse flex can easily adapt datamanagent to those webservice you've created! as you all know webservices are universal wich makes us more confortable to develop on any language we whant.

  • Thanks for the tut. If you could add the structure of your functions.php it would be greatly appreciated. I'd like to see how u set up yours so i can understand it's relationship to the mylogin.php. Not asking for u to show the login info obviously, just the structure. Thanks

  • My Flash Builder can't access my php file. I have tried everything. I know it is clicking it. I took everything out except an echo of one source.. and it never gets to the onResult method... what am I doing wrong?

    Running Apache server on windows with PHP.

  • where can i download flex?

  • @kcid02 You can get it at the Adobe websiite...

  • my friend, thanks for this example. I have a question, If I have more fileds in the users table like "fullname", how can I retrieve that data if I have 3 users in that table and the user #2 login, how can I retrieve the fullname field data from mysql and present it in flex?

    thanks

  • @jnicolas123 Look up some SQL stuff, it's not too hard! Just expand on the fields you're already grabbing, good luck!

  • tnx for this vid. this is a big help 4 my project! more power!!!

  • tnx for this vid. this is a big help 4 my project! more power

  • funny username

  • Thanks for making this "piece of crap"!

    It really helped me out this morning and I appreciate your time in making and publishing this vid.

    Now go get some sleep!

  • @L33TSTANG Haha, thanks a lot!

  • You sound like you had a long day when u were recording this tutorial :) Much appreciated tut btw.

  • @kshep92 Thank you for the kind words!

  • give me the php file(s)

  • its gud.. very cool

  • "That's pretty much it for that, go ahead and hook this piece of crap up" .. haha that's great man, nice tut btw =)

  • @b3ckDOTcom Haha, thanks man.

  • Yeahhh!!! We use XML Cz we're cool! THANK YOU VERY MUCH..... U R AMAZING MAN! ..... =)

  • @DanielaSistemas Thanks, just remember that my PHP file for authenticating the user is NOT secure. You would want to take extra steps to authenticate the user, and to also make sure that the user can't fake their return from the request to force themselves into the site.

  • Yeah! thats exactly what I was thinking?

  • sorry i have a problem, the file functions.php you did it?? or becomes by default this file??

  • Hi dude. Again great tutorial. Just have that same mysql_fetch_assoc(): issue. It's as if one of the parameters is not right for method. Any info to solve this would be very much appreciated.

  • are you freggin robot talking?

  • Wahahaha you are so funny really.. XD

    Btw really good Tutorial :)

  • hey there, I did exactly as the video says, but for some reason, I always get "login failed" even though I have entered the right username and password from the database. And do I need to specify the server type as "PHP" when I create the project? I'm pretty new to FLEX

  • Hi, thanks for great tutorial!

    I had some problems with getting response from my php file but this but i have replaced

    result="onResult(event)"

    with

    result="{onResult(event)}"

    and it work..

  • awesome, thx!

  • I am using PHP5.2.12 and Apache 2.2.14.

    After watching your tutorial video and following your steps to implement, we have found the following problems:

    1. In the mylogin.php file, the code statement $result = mysql_query("SELECT * FROM 'users'"); , the users should not be quoted. I.e., We code like this: $result = mysql_query("SELECT * FROM users"); . It works.

  • While it may work, I tend to use quotes around it.

    It works just fine with quotes.

  • So Please can you provide like like flex layout and then the codes ? Please :P

  • Can You Provide the theme to the login please ?

  • Thanks, it's not much, but it's pretty good.

  • Does anyone know how do I need to set up my database and flex files from my mac? Im using MAMP...

  • You just need to start up MAMP and use phpMyAdmin to create a database and table.

    To hook it up, just go through the settings when you create your project to connect to MAMP.

    Look up online what ports do what if you don't know.

  • Thx, and congrats for the tutorial

  • Hey, thanks for watching!

    Look out for another very soon.

  • I would like to ask you a video tutorial in which you implement a role-based security, what I mean is that when a user access to this system, he can see only a few menus and when the system administrator access he can see all the menu options or all buttons, someting like that, also deployed in flex, php, and mysql

    thanks.

  • I'll work on that today, thanks for the suggestion!

  • Yes, im still stuck. And would appreciate your assistance.

  • thanks a lot for your help, that works, i found that i had some errors in my connection to the database too, but i fixed it and now the login works perfect.

    Thank's for your excelent video.

  • No problem, if you have any future requests for videos, please let me know.

  • Hi thanks for this video¡¡

    it helpme alot but i can't login me

    i'm using XAMPP , i don´t have clear where i need to put my PHP file can you please help me? thanks for all

  • Hello, thanks for watching!

    You want to make sure your PHP files go in the webroot of your XAMPP server.

    This will be something like:

    C:\xampp\htdocs\

    That is where you want to place your Flex files as well, I have mine setup to build and run on my server automatically, but you can also just copy over the files.

    Let me know if you need anymore help.

  • This video rocks!

    Also, this Video has led me into working with flex and php but im stucked in a middle of a small project (Trial out).

    Here is the Challenges:

    I have used Adobe Flex (Wizard) to create a CRUD Application that is working fine BUT, I NEED TO USE COMBOBOX (dropdown) that will be populated from another Table. I have been frustrated already because Iam new in Web Programming...

    Please, I NEED HELP.

  • When you say that the ComboBox will be populated by another Table you mean a MySQL table or...?

  • Yes, i mean a MySQL table.

  • Are you still stuck on this?

  • Yes. I am. And would appreciate your assistance.

  • Great video, good job!

    just one issue. When i access the login script on my server, it throws this error:

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource

    any ideas on how to fix this? Thanks!

  • it is exactly what i need, thx alot :D

  • Cool man, glad I could help out, that's what I like to hear.

    If you want any other tutorials I'll defiantly make one for you.

  • i fixed the problem... i had spelling mistakes in the flex program. thx alot for the help

  • wow nice work.

  • Thanks, sorry if it seems rushed.

    Had to cut a lot of gaps out to fit time.

  • Nah its fine for me.

  • Cool, well I'm glad you like it.

    If there is anything else you want to see please let me know.

    Pass this video on if you know anyone else that might be interested too.

    Thanks.

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more