- Joined
- Jan 12, 2009
- Messages
- 484
- Reaction score
- 142
This is much easier for a loader.
Note - Make sure you save file as .php (Thanks for the reminder sPLAZE)
Make one file called variables.php
then put the following in there
Then make this other page called index.php
and add the following code:
or you could just put them all in one php file and it'll work.
~Enjoy
Note - Make sure you save file as .php (Thanks for the reminder sPLAZE)
Make one file called variables.php
then put the following in there
PHP:
<?php
$hotelname = "";
$texts = "";
$vars = "";
$dcr = "";
$ip = "";
$port = "";
$siteurl = "";
$loaderurl = "";
?>
Then make this other page called index.php
and add the following code:
PHP:
<html>
<head>
<title><?php echo $hotelname; ?></title>
<base target="_blank">
</head>
<body bgcolor="#000000" topmargin="0" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF">
<div align=center>
<param name="src" value="">
<param name="swRemote" value="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Spits' swContextMenu='true' ">
<param name="swStretchStyle" value="none">
<param name="swText" value="">
<param name="bgColor" value="#000000">
<param name="sw6" value="external.texts.txt=<?php echo $texts; ?>">
<param name="sw2" value="connection.info.host=<?php echo $ip; ?>;connection.info.port=<?php echo $port; ?>>
<param name="sw4" value="connection.mus.host=game.habbohotel.co.uk;connection.mus.port=30001">
<param name="sw3" value="client.reload.url=<?php echo $loaderurl; ?>">
<param name="sw1" value="site.url=<?php echo $siteurl; ?>;url.prefix=<?php echo $siteurl; ?>">
<param name="sw5" value="external.variables.txt=<?php echo $texts; ?>">
">
<embed src="<?php echo $dcr; ?>" bgColor="#000000" width="720" height="540" align="middle" swRemote="swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='massivewake' swContextMenu='true'" swStretchStyle="none" swText="" type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/"
sw6="external.texts.txt=<?php echo $texts; ?>"
sw2="connection.info.host=<?php echo $ip; ?>;connection.info.port=<?php echo $port; ?>"
sw4="connection.mus.host=game.habbohotel.co.uk;connection.mus.port=30001"
sw3="client.reload.url=<?php echo $loaderurl; ?>"
sw1="site.url=<?php echo $siteurl; ?>;url.prefix=<?php echo $siteurl; ?>"
sw5="external.variables.txt=<?php echo $vars; ?>">
</div>
</body>
</html>
or you could just put them all in one php file and it'll work.

~Enjoy
Last edited: