Using Javascript setTimeout directly from PHP

Member

zora.stokes

by zora.stokes , in category: PHP , 16 days ago

Using Javascript setTimeout directly from PHP πŸ˜ƒ

1
2
3
4
$file=$GLOBALS["LOGFILE"];
if(!is_file($file)){echo "<script>setTimeout(\"Procedure2$t()\",1000);</script>";return;}
$data=@file_get_contents($file);
if(strlen($data)<10){echo "<script>setTimeout(\"Procedure2$t()\",1000);</script>";return;}


Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers