php-general Digest 5 Mar 2012 07:03:40 -0000 Issue 7712

2012-03-04 Thread php-general-digest-help
php-general Digest 5 Mar 2012 07:03:40 - Issue 7712 Topics (messages 316865 through 316876): Re: Weird Behaviour of Array 316865 by: Ashley Sheridan 316866 by: Stuart Dallas Script execution after window close 316867 by: Nibin V M 316868 by: Ashley Sheridan

[PHP] Weird Behaviour of Array

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

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. ?php $array = array( '12_1'=array( 56=array( 23='23', 33='33')

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. ?php $array = array( '12_1'=array( 56=array( 23='23', 33='33') ),

[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, --

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

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 a...@ashleysheridan.co.ukwrote: ** On Sun, 2012-03-04

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 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 used

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

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 based on some

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 period of

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 govinda.webdnat...@gmail.comwrote: 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