Say I wanted to make it so people could tell if a game I made was up from my site how would I go about doing this?
Could it be done with php?
ID:187812
![]() Sep 26 2004, 3:13 am
|
|
The only one I can think off the top of my head is Tripod UK. The ads kind of suck, and it's a bit slow, but it's ok:
http://www.tripod.lycos.co.uk/ |
DeathAwaitsU wrote:
Out of interest, is there a free website i can get which allows PHP? www.mvhosted.com Sure, you have to go through a crapload of Ads signing up, and ther is a banner on your pages, but it's free. and has PHP and MySQL. |
www.hostultra.com
free php database 5$ you could also try and find someone to host a database on their server for you i guess |
http://bwicki.byond.com/ByondBwicki.dmb?FreeFileHosts
Metawire supports php i believe and its free without ads. --Goz |
Ah thanks.
One problem, i don't know how to use Lummox's thing. Where do i put the first bit of code he showed? In a dms file? When i did that it gave an error saying world.php.dms:27:error at 'end of file': badly terminated html block I put the second bit in a php file, made on the file manager, when i access it, it says : Warning: file(): URL file-access is disabled in the server configuration in - on line 86 Warning: file(http://www.byond.com/hub/ hub.cgi?qd=hub;hub=DeathAwaitsU.TestGame;format=text;content =|worlds|users|): failed to open stream: no suitable wrapper could be found in - on line 86 Warning: Variable passed to each() is not an array or object in - on line 89 It may be that i'm not hosting due to the error in the dms. |
Both of those things he posted are PHP code. The first one goes in a file called world.php, and the second one goes into any PHP page where you want to display the world's status.
The DMS reference just means that the PHP file *generates* the DMS script. It isn't a DMS script itself. |
Ok i created a world.php file in my file manager and added the first bit of code into it.
Then i creates a test.php file and put the other piece of code in it. After hosting i got this when trying to access test.php; Warning: file(): URL file-access is disabled in the server configuration in - on line 86 Could it have something to do with the hub passwordnot eing in th php file. |
DeathAwaitsU wrote:
Could it have something to do with the hub passwordnot eing in th php file. Nope. It's because your host has restricted access to putting URLs in the file() command. There's probably no way around this except to contact them and ask them to lift that restriction, or get a different host. |
Alright, i guess mvhosted sucks then.
And sorry about the poor typing before, my keyboard wasn't really working. |
http://developer.byond.com/forum/ index.cgi?action=message_read&id=134465&forum=7&view=0
Out of interest, is there a free website i can get which allows PHP?