PHP: Making zaman sınırı

0 Cevap

Im bir mesaj eklemek için insertmsg.php ajax çağrısı kullanarak.

Şimdi gerçek zamanlı dil değil javascript yüzden ajax fonksiyonunun üstünde bir devre dışı bırakma düğmesi olan saymak değildir.

So I wonder how I can make a timelimit to the insertmsg.php with: mysql_query("INSERT INTO.. , with a delay on 2 seconds, without storing last time the user wrote in the database. Or is that the only way? How can I do it with session maybe?

0 Cevap