Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..thanks guys...I will check further then. thanks for your inputs :) On Sun, Mar 4, 2012 at 9:59 PM, Govinda wrote: > >>> in factI really need to remove the file ( which will be created for > >>> every access - making a copy from another location ). I can't leave > that > >>> file alone for

Re: [PHP] Script execution after window close

2012-03-04 Thread Ashley Sheridan
On Sun, 2012-03-04 at 11:29 -0500, Govinda wrote: > >>> in factI really need to remove the file ( which will be created for > >>> every access - making a copy from another location ). I can't leave that > >>> file alone for ever in the user disk space! :( > >> > >> Fine, so delete it after a

Re: [PHP] Script execution after window close

2012-03-04 Thread Govinda
>>> in factI really need to remove the file ( which will be created for >>> every access - making a copy from another location ). I can't leave that >>> file alone for ever in the user disk space! :( >> >> Fine, so delete it after a period of inactivity > > ok..I have script which will run ba

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
ok..I have script which will run based on some values in "user's" homedir. In fact I have tried to run the script from a various locations; but it didn't work as expected like it run from each users homedir. So, when the user access the page, it will copy the actual script to the user's homedir a

Re: [PHP] Script execution after window close

2012-03-04 Thread Stuart Dallas
On 4 Mar 2012, at 15:31, Nibin V M wrote: > in factI really need to remove the file ( which will be created for > every access - making a copy from another location ). I can't leave that > file alone for ever in the user disk space! :( Ash is right in that this is exactly what sessions are us

Re: [PHP] Script execution after window close

2012-03-04 Thread Govinda
> in factI really need to remove the file ( which will be created for > every access - making a copy from another location ). I can't leave that > file alone for ever in the user disk space! :( Fine, so delete it after a period of inactivity -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Script execution after window close

2012-03-04 Thread Nibin V M
in factI really need to remove the file ( which will be created for every access - making a copy from another location ). I can't leave that file alone for ever in the user disk space! :( On Sun, Mar 4, 2012 at 9:01 PM, Ashley Sheridan wrote: > ** > On Sun, 2012-03-04 at 20:49 +0530, Nibin V

Re: [PHP] Script execution after window close

2012-03-04 Thread Ashley Sheridan
On Sun, 2012-03-04 at 20:49 +0530, Nibin V M wrote: > Hello, > > I need to run a few commands when a user close the browser tab. That is, I > have a php page ( index.php ) and it will create a temporary file to track > some stuffs. That temporary file should be removed, when the user close the >

[PHP] Script execution after window close

2012-03-04 Thread Nibin V M
Hello, I need to run a few commands when a user close the browser tab. That is, I have a php page ( index.php ) and it will create a temporary file to track some stuffs. That temporary file should be removed, when the user close the browser tab. Is there any way to achieve this? Thank you, -- R

Re: [PHP] Weird Behaviour of Array

2012-03-04 Thread Stuart Dallas
On 4 Mar 2012, at 14:31, Ruwan Pathmalal wrote: > I confused with weird behaviour of array. Following is my script. > > $array = array( >'12_1'=>array( >56=>array( >23=>'23', >33=>'33') >)

Re: [PHP] Weird Behaviour of Array

2012-03-04 Thread Ashley Sheridan
On Sun, 2012-03-04 at 20:01 +0530, Ruwan Pathmalal wrote: > Hi People, > I confused with weird behaviour of array. Following is my script. > > $array = array( > '12_1'=>array( > 56=>array( > 23=>'23', > 33=>'

[PHP] Weird Behaviour of Array

2012-03-04 Thread Ruwan Pathmalal
Hi People, I confused with weird behaviour of array. Following is my script. array( 56=>array( 23=>'23', 33=>'33') ), '12_5'=>array( 55=>'55' ) ); $array