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?
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
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
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?
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?
@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.
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.
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
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.
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 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.
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.
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...
thanks, it's very useful
greetings from Mexico!
TheMarck411 1 month ago
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?
mysouLawp 3 months ago
PLZ help me m lost why i get error #2032 and how do i fix it?
dzclimax 4 months ago
@dzclimax Go here to fix your issue: bit (dot) ly/p6l0pM
warlord90210 4 months ago
This has been flagged as spam show
why i receive this message Error #2032 i'm feelin kinda lost plz any help dzclimax@hotmail.fr
dzclimax 5 months ago
awesome, i'm gonna create a smart website now. Thanks mate!
harrytej 5 months ago
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
batista603 6 months ago
lol
JackGillson 9 months ago
Wow! You did this at 3 am ?!
murmurrer 10 months ago
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
shaon3r 10 months ago
この動画にレスポンスを付ける...
ikdsjOFFICIAL 1 year ago
@ikdsjOFFICIAL yeah....that.
nem00s 1 year ago
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.
NunoMoura577 1 year ago
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
N00SA 1 year ago
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.
GTASouthPark 1 year ago
where can i download flex?
kcid02 1 year ago
@kcid02 You can get it at the Adobe websiite...
ShedoSurashu 1 year ago
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 1 year ago
@jnicolas123 Look up some SQL stuff, it's not too hard! Just expand on the fields you're already grabbing, good luck!
warlord90210 1 year ago
tnx for this vid. this is a big help 4 my project! more power!!!
MrBrokenhacker18 1 year ago
tnx for this vid. this is a big help 4 my project! more power
MrBrokenhacker18 1 year ago
funny username
dittonamed 1 year ago
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 1 year ago
@L33TSTANG Haha, thanks a lot!
warlord90210 1 year ago
You sound like you had a long day when u were recording this tutorial :) Much appreciated tut btw.
kshep92 1 year ago
@kshep92 Thank you for the kind words!
warlord90210 1 year ago
give me the php file(s)
FlentMan 1 year ago
its gud.. very cool
uhdrap 1 year ago
"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 1 year ago
@b3ckDOTcom Haha, thanks man.
warlord90210 1 year ago
Yeahhh!!! We use XML Cz we're cool! THANK YOU VERY MUCH..... U R AMAZING MAN! ..... =)
DanielaSistemas 1 year ago
@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.
warlord90210 1 year ago
Yeah! thats exactly what I was thinking?
pharoah275 1 year ago
sorry i have a problem, the file functions.php you did it?? or becomes by default this file??
migueante87 1 year ago
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.
craigmt 1 year ago
are you freggin robot talking?
warrengutierrez 1 year ago
Wahahaha you are so funny really.. XD
Btw really good Tutorial :)
koizumiblade 2 years ago
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
sak863 2 years ago
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..
Kazimierzabc 2 years ago
awesome, thx!
jerneje 2 years ago
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.
davylcw 2 years ago 2
While it may work, I tend to use quotes around it.
It works just fine with quotes.
warlord90210 2 years ago
So Please can you provide like like flex layout and then the codes ? Please :P
PwnthatProductions 2 years ago
Can You Provide the theme to the login please ?
PwnthatProductions 2 years ago
Thanks, it's not much, but it's pretty good.
warlord90210 2 years ago
Does anyone know how do I need to set up my database and flex files from my mac? Im using MAMP...
virkof23 2 years ago
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.
warlord90210 2 years ago
Thx, and congrats for the tutorial
pitxis 2 years ago
Hey, thanks for watching!
Look out for another very soon.
warlord90210 2 years ago
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.
MrMoriancumer 2 years ago
I'll work on that today, thanks for the suggestion!
warlord90210 2 years ago
Yes, im still stuck. And would appreciate your assistance.
samsonojo2007 2 years ago
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.
MrMoriancumer 2 years ago
No problem, if you have any future requests for videos, please let me know.
warlord90210 2 years ago
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
MrMoriancumer 2 years ago
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.
warlord90210 2 years ago
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.
samsonojo2007 2 years ago
When you say that the ComboBox will be populated by another Table you mean a MySQL table or...?
warlord90210 2 years ago
Yes, i mean a MySQL table.
samsonojo2007 2 years ago
Are you still stuck on this?
warlord90210 2 years ago
Yes. I am. And would appreciate your assistance.
samsonojo2007 2 years ago
Comment removed
karlmons 2 years ago
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!
karlmons 2 years ago
it is exactly what i need, thx alot :D
djvirus64 2 years ago
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.
warlord90210 2 years ago
i fixed the problem... i had spelling mistakes in the flex program. thx alot for the help
djvirus64 2 years ago
wow nice work.
LGBINX14 2 years ago
Thanks, sorry if it seems rushed.
Had to cut a lot of gaps out to fit time.
warlord90210 2 years ago
Nah its fine for me.
LGBINX14 2 years ago
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.
warlord90210 2 years ago