Is there a way for text to be sent to a server and then retrived later? For example, a chat box where if someone logs on, they can still see the entire conversation.
Just wondering, this would be important for one of my upcoming programs.

Is there a way for text to be sent to a server and then retrived later? For example, a chat box where if someone logs on, they can still see the entire conversation.
Just wondering, this would be important for one of my upcoming programs.

Yeah, but you really need a serverside script to do it.
You use MooSock or some other thing to communicate with it thru the URL address.
So you build a script in something like php, which reads a URL like this:
www.myserver.com/somefolder/scores.php?action=set&name=Dave&score=10241
The PHP/ASP/CGI script will handle databases and all that hooplah, and the MMF app will just send it the data.
Obviously you'd try and encrypt it a little, so it'd be more like this:
www.myserver.com/somefolder/scores.php?codigo=X15f62eI1t
Then to read the scores/text/data back off the server, you add a function to the script. Perhaps something like:
http://.../scores.php?action=get
and that would simply list off line by line the score table or the text log.
Using MooSock or the Receiver object, you receive the html page in its code form and strip out the scores from the page.![]()

I have NO IDEA how to make a server, and I doubt I can do that with a public one =/
Any help on making one?

You'd be surprised, lots of server packages (even free ones) available online have support for a language like ASP or PHP, and a database.
I prefer PHP, because it's fairly simple.
The gist of PHP is that it runs as a program on the server. When you request a page, PHP scans that page for <? ?> php code, and executes it before sending the page.
So in its simplest form, you could have a webpage with this code:
<html>
<head>
<title><? print($title); ?></title>
</head>
</html>
Then request it on the server like this:
http://me.server.com/file.php?title=DavieJonesLocker
The result is a blank page with the title 'DavieJonesLocker'.
Your best resource for learning php is www.php.net, it has all the functions you could ever need.

I have no interest in learning PHP. I just want ot know what would get this to work.
Anyway, so I would put this into a web page:
html>
<head>
<title><? print($title); ?></title>
</head>
</html>
then what.
Mm... I prefer thatOriginally Posted by Dines
![]()

If you don't want to learn, does that mean you want us to do it for you?Originally Posted by gamefreak202
Sounds like another case of MMGFM (Make My Game For Me).

Didn't mean it like that. I meant tell me what I have to do to set up a server. That I will learn, but the rest I have no need for.
![]()



Your not reading what has been put. Reread it. As Dyna said; if you don't want to learn PHP or ASP and you want to get this to work, just leave this discussion now and stop asking about it. If, on the other hand you want to learn about PHP/ASP, ask your PHP or ASP questions

You have two options:
1: Make a server app in MMF2 and host it yourself (unreliable) or pay for dedicated do-what-you-want hosting to run it on (v. expensive).
2: Make a "server" app in php/asp and host it on a cheap web service provider.
Which option do you want?