Files
Testing/AVChat3/chat/bkp/rotate_messages.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

33 lines
864 B
PHP

<?php
/*
this script is called by the swf files every X seconds to obtain a message to show in the chat
X is controlled trough the rotatingMessageTime option in avc_settings.xxx
the path to this script is specified trough the rotatingMessageUrl option in avc_settings.xxx
the message returned by this script can contain the following HTML tags:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html
1 variable is sent to this file via GET/query string:
the count variable is a number that contains the number of times the chat/user logged in the chat has executed this script, the 1st value is 1
*/
$count = $_GET["count"];
switch ($count%6) {
case 1:
echo "";
break;
case 2:
echo "";
break;
case 3:
echo "";
break;
case 4:
echo "";
break;
case 5:
echo "";
break;
case 0:
echo "";
break;
}
?>