Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 01:36
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  PHP, Perl, ASP, JSP, CFM (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Jorge Solis, nothingGrinder)
| | |-+  IS IT POSSIBLE TO BLINK THE TITLE ON THE TASK BAR...
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: IS IT POSSIBLE TO BLINK THE TITLE ON THE TASK BAR...  (Read 1399 times)
Asim
Senior Programmer
****
Posts: 338


asimsiddiqui01@hotmail.com asimsidd2001@yahoo.com
View Profile WWW Email
« on: 05/08/02, 16:49 »

Hi there,
I've maid a FLASH5 AND PHP{the great}'s CHAT section.Its very simple and I want to add there some functionalties in it...
First that is it possible then when there'll be any message came in it the title will blink on the task bar like MSN,YAHOO...
Secondly I want to add another functionality to it.That's the work of BUZZ!!! {CTRL+G} in YAHOO...
I've the javascript for making a shock but how to call it in PHP script and what will be added in the PHP script.
I'm also writing here the script for delicering the messages...
SO PLEASE CHECK IT OUT...
<?
header("Expires: ".gmdate("D, d M Y H:i:s")."GMT");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
?>
<?

/*        Modified for Flashkit by swissLyons: http://www.flashbuilder.ch based on the http://www.peopleforfun.com version */
/*        Original script by Nicola Delbono <key5@key5.com>        */
?>

<?
$nickname = str_replace ("\n"," ", $nickname);
$nickname = str_replace ("<", " ", $nickname);
$nickname = str_replace (">", " ", $nickname);
$nickname = stripslashes ($nickname);
?>

&output=
<?
$chat_file = "chat.txt";
$chat_lenght = 15;
$max_single_msg_lenght = 100000;
$max_file_size = $chat_lenght * $max_single_msg_lenght;
$file_size= filesize($chat_file);
if ($file_size > $max_file_size) {
$lines = file($chat_file);
$a = count($lines);
$u = $a - $chat_lenght;
for($i = $a; $i >= $u ;$i--){
$msg_old =  $lines[$i] . $msg_old;
}
$deleted = unlink($chat_file);
$fp = fopen($chat_file, "a+");
$fw = fwrite($fp, $msg_old);
fclose($fp);
}
$msg = str_replace ("\n"," ", $message);

$msg = stripslashes ($msg);
if ($msg != ""){
$fp = fopen($chat_file, "a+");
$fw = fwrite($fp, "$nickname says : $msg\n");
fclose($fp);}
$lines = file($chat_file);
$a = count($lines);
$u = $a - $chat_lenght;
for($i = $a; $i >= $u ;$i--){
echo $lines[$i];
}

?>

ANY RESPONSE SHALL BE SO APPRECIATED...

Regards,
Asim Siddiqui.
Logged

..::Asim Siddiqui::..
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!