The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.


Results 1 to 2 of 2

Thread: tutorial Login using Flash, php and MySQL

  1. #1

    tutorial Login using Flash, php and MySQL

    Hi,I download tutorial Login using Flash, php and MySQL and it runs very well. It's amazing!!!
    But...
    I want that identified users go each one to different pages.
    Do you know how I have to do it?
    I know how to do it with ASP but not with Flash. Can you do it modifing this tutorial?
    With ASP code I put 3 fields in database: user, password and page (number of the page for each user).
    Then I put this code in page "control.asp":
    Code:
    <% 
    ssql = "select * from web where user='" & request.form("user") & "' and password='" & request.form("pass") & "'" 
     
    Set Conn = Server.CreateObject("ADODB.Connection") 
    Conn.Open "my_bd" 
    set RS = Conn.Execute(sSQL) 
     
    if (not RS.eof) then 
      session("autentificado") = "si" 
    response.redirect(rs("page")&".asp")
    else 
      response.redirect "index.asp?errorusuario=si" 
    end if 
     
    Conn.Close 
    %>
    Anybody knows how can I do it with Flash?
    Thank you very much!!!!

  2. #2
    I am interested in the tutorial, could you send me the link for it?
    I don't know asp, sorry.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012