Re: pulling script in interval of second.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01 Jul 2014 at 20:04, hadi <almarzuki2011@xxxxxxxxxxx> wrote: 

> I got another idea just listen to me. I got javascript passing "id" to my php
> script in interval time, once the "id" not being passed (its mean the user
> close javascript page). Block in if statement should run. But this scenario is
> not happening with me.

If the user closes the page then no PHP script will be run unless you do it with onbeforeunload event.

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux