agChat [Flash Chat]

hey guys i found this really neat chat tutorial on flashkit and im having some problems… can anyone help me?? :huh:

anyways here is what i have:

<?php
$agChatPATH = "agChat\agChat.php"; // where're your agChat files ???
?>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="178" height="290" id="chat" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="chat.swf?agchatpath=<?php echo $agChatPATH; ?>" />
<param name="quality" value="high" />
<param name="bgcolor" value="#efefef" />
<embed src="chat.swf?agchatpath=<?php echo $agChatPATH; ?>" quality="high" bgcolor="#efefef" width="178" height="290" name="chat" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

at the top, it says agChat\agChat.php , there is a file in the main directory called agChat.php , there is a folder in the main directory called agChat, and in agChat, there is a file called agChat.php :smiley:
i was wondering if this looks right? or do i have to use agChat/agChat.php

another thing is:
in my index.html i have this code:

<html>
<body bgcolor=“000000”>
<?php include(“agChat.php”); ?>
</body>
</html>

would this be right??

thx in advance

  • Matt :thumb: