levela's Forum Posts

  • 1 posts
  • Hey guys! I've spent my whole last night with scrawling around the forum, and didn't find a solution yet.

    I need a login system for my game. I've downloaded the Ajax_post plugin, got it working, but I've got a problem with it. I can't find the right syntax to post more than one variable at the same time.

    For example:

    POST:"var1="&user.texbox.Text&"var2="&pass.textbox.Text"
    

    outputs asdvar2=asd to the username column. (Which is quite logical, since I'm building a string)

    It works fine if someone sends just plain text as variables, like

    "var1=1&var2=2"

    , but it doesnt work in the way I'd need it.

    I've tried storing them in $_SESSIONs, but that didn't work out.

    (Yes, I am aware of the insecurity of this method, and I can assure you, that this is ONLY for testing and learning purposes.)

    o/t: The "Preview" function on creating/editing topics doesn't work for me (tested on Firefox/Chrome)

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 1 posts