
Welcome Guest
|
#1
|
|||
|
|||
|
I have one Flash Form (http://www.druidhost.com/index_sub.html) on the top = username + senha (pass) and one button entrar = enter )
I want that when the user inserts the username and the pass and click ENTRAR flash will send all info to www.druidhost.com/painel (.php), and login without questions.. I'm using this flash code (action of the entrar buttom) on (release) { lv = new LoadVars(); lv.login = login_name.text; lv.password = passwd.text; lv.send("http://www.druidhost.com/painel/index.php", lv, "POST"); } And this for the .php include("power.php"); $login_name = "&login_name="; $passwd = "&passwd="; $sql = "SELECT * FROM tb_clientes WHERE login LIKE '$login_name'"; $query = mysql_query($sql); while($sql = mysql_fetch_array($query)){ $senha = $sql["senha"]; $login = $sql["login"]; } if($login == '' || $senha == '') { and the power.php $hostname = 'localhost'; $username = 'XxxXxXx'; $senhabd = 'XxXxXxx'; $banco = 'druidpainel'; $db = mysql_connect($hostname, $username, $senhabd); mysql_select_db($banco,$db); ==============================================\ What happens is: I get to the login page, but nothing happens (I still have to type the user and pass).. What can be done? thank you! |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| php variable in flash problem | rsfy | Flash 8 |
1 | 01-28-2007 09:54 PM |
| Flash + PHP --> Security !! | yestomike | Flash MX 2004 |
2 | 01-16-2007 07:58 AM |
| flash mx to PHP to flash mx | olm75 | Flash MX ActionScript |
1 | 12-09-2004 02:52 PM |
| PHP encode to FLASH decode. | cybercampbell | Web Platforms - PHP, JSP and .NET | 1 | 06-29-2004 11:00 PM |
| Php - Mysql - Flash | julianseclaire | Flash Media Server |
1 | 03-30-2004 04:21 PM |

Other Programming



