world.Export("www.webhost.com/whatever/file.php?Server=Testing&Key=[usr.ckey]&Port=[world.port]&Stat=Online")
in the php i have it get the ip address because getting it $_GET is buggy with the free hosting
ID:140795
Sep 8 2009, 12:50 pm
|
|
How would i get the host's Key in the World/New() that's where i have the world.Export o.o
world.Export("www.webhost.com/whatever/file.php?Server=Testing&Key=[usr.ckey]&Port=[world.port]&Stat=Online") in the php i have it get the ip address because getting it $_GET is buggy with the free hosting |
In response to Chowder
|
|
Chowder wrote:
> world/New() I'd argue with this snippet in two places:
Applying both of these to your snippet, it becomes: world/New() It's also worth considering how valid all this info will be in world/New(): what's world.port going to be when I open this game in Dream Seeker? |
In response to Kuraudo
|
|
A port check isn't a bad idea...
world/New() |
The host var!!!