Simple Chat with php
Posted
by
MatrixOnTheLine
on Server Fault
See other posts from Server Fault
or by MatrixOnTheLine
Published on 2010-12-21T17:26:59Z
Indexed on
2010/12/21
17:55 UTC
Read the original article
Hit count: 184
php
in chat.php
$data = getCache($room);
while(1){
if($data == false || empty($data[1]) )
sleep(10);
else
break; }
in sendmemcache.php $value = $_GET['value']; setCache($room,array($username,$value));
However, in infinite loop $data's value never change. I send $value with manuel for sendmemcache.ophp. sendmemcache.php never finish its proces. (Always "Transferring data ....")
How can i resolve this ?
© Server Fault or respective owner