But: How would I do that?
Printable View
But: How would I do that?
OK, I made a really crude example for you. It's not very secure and it's not easily extensible, but it should give you the basic idea. Run the MFA and then in your browser connect to http://localhost/ or your IP if you have forwarded your ports. The pages are so simple even a phone should be able to display them and handle them properly...
Crude is not the word I'd use to describe it!
Great job! I'll get to understanding it!
It's crude because it works around missing features in the Webserver object that you would normally have if you were doing this in C++. (For such a small project I'd stick to MMF2 though). If you need help understanding something I did in that MFA feel free to ask.
I understand creating the body and localhost thing, but here's my question:
How can I input information into the username box through the application, while not needing to open the local host on my browser?
You could use the Web Control Object to display the web page within your application and navigate to http://localhost, that'll be the easiest way.
This is a server, which mean you do not run it on the user's machine. If you want to do this, have a separate application that uses the Web Control Object like lh37 said, but do not ever let the server be run on the user's machine. You're really misunderstanding a base concept and it is throwing you off...
Yeah LB I feel like he's trying to avoid hosting a server somewhere and that's just not going to work with a login system.
Web Control Object, that does sound good, but is there any way to test it in MMF2? Every time I try, it just comes up blank.
OK, answer me this: Which one of these do you want?
-An "Online Registration and Login" where users explore online web pages in their web browser or phone
-A "Multiplayer Game with Registration and Login" where players download a client, register either online or in the client, and sign in via the client
They're very different but have similar names, and I had originally assumed you wanted the first, however you seem to be leaning toward the second.