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,
--
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
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
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/)
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
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
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
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
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
On Tue, Mar 10, 2009 at 01:23, Paul M Foster pa...@quillandmouse.com wrote:
(Dan, make the check out to... ;-)
Paul
I prefer PayPal. Thanks to the Postal Service, the cost of a
stamp is probably more than a bribery or endorsement payment. :-\
--
/Daniel P. Brown
Hi everybody.
The problem that I'm having is probably because I've got more of a Windows
background -- and it isn't so much a problem as a point of curiosity.
I've recently noticed that when I write a script that they seem to have
different permissions when executed at the command line. Two
On Mon, 2009-03-09 at 16:59 -0400, George Larson wrote:
Hi everybody.
The problem that I'm having is probably because I've got more of a Windows
background -- and it isn't so much a problem as a point of curiosity.
I've recently noticed that when I write a script that they seem to have
On Mon, Mar 9, 2009 at 16:59, George Larson george.g.lar...@gmail.com wrote:
Am I imagining things? If not, how would I properly make them able to run
through a browser?
You're not imagining things. In general, unless set up with
SuExec privileges, Apache (which is probably the HTTP
On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown danbr...@php.net wrote:
On Mon, Mar 9, 2009 at 16:59, George Larson george.g.lar...@gmail.com wrote:
Am I imagining things? If not, how would I properly make them able to run
through a browser?
You're not imagining things. In general, unless
On Mon, Mar 9, 2009 at 17:17, haliphax halip...@gmail.com wrote:
OP is a Windows user. I am assuming that they are using Windows.
Re-read the context of that first paragraph from the OP and you'll
see why I presume (as opposed to *ass*ume) that, despite his
experience with Windows, this is
Thanks everybody!
I guess I was a little vague. I'm working on an OpenSUSE setup with Apache,
MySQL and PHP. I just knew that my confusion was because of my Windows
up-bringing.
The writing I referred to was to a file. One example is I had a script that
was pulling data from a database and
On Mon, Mar 9, 2009 at 17:21, Daniel Brown paras...@gmail.com wrote:
Re-read the context of that first paragraph from the OP and you'll
see why I presume (as opposed to *ass*ume) that, despite his
experience with Windows, this is a *NIX-like setup.
DISCLAIMER: This was supposed to be
On Mon, Mar 9, 2009 at 4:28 PM, Daniel Brown paras...@gmail.com wrote:
On Mon, Mar 9, 2009 at 17:21, Daniel Brown paras...@gmail.com wrote:
Re-read the context of that first paragraph from the OP and you'll
see why I presume (as opposed to *ass*ume) that, despite his
experience with
That's funny!
I've been watching this and a few other lists (MySQL, local Linux Users'
Group) for a few days - weeks and I had wondered why the PHP list seemed
more hostile. :)
On Mon, Mar 9, 2009 at 5:28 PM, Daniel Brown paras...@gmail.com wrote:
On Mon, Mar 9, 2009 at 17:21, Daniel Brown
George Larson wrote:
Thanks everybody!
I guess I was a little vague. I'm working on an OpenSUSE setup with Apache,
MySQL and PHP. I just knew that my confusion was because of my Windows
up-bringing.
The writing I referred to was to a file. One example is I had a script that
was pulling data
On Mon, Mar 9, 2009 at 4:36 PM, George Larson george.g.lar...@gmail.com wrote:
That's funny!
I've been watching this and a few other lists (MySQL, local Linux Users'
Group) for a few days - weeks and I had wondered why the PHP list seemed
more hostile. :)
In a word, I think familiarity sums
On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote:
That, or ***holes.
That's what my name tag says.
--
/Daniel P. Brown
daniel.br...@parasane.net || danbr...@php.net
http://www.parasane.net/ || http://www.pilotpig.net/
50% Off All Shared Hosting Plans at PilotPig: Use Coupon
Daniel Brown wrote:
On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote:
That, or ***holes.
That's what my name tag says.
you got shot in the nametag 3 times? i dunno if that's good or bad luck!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham nrix...@gmail.com wrote:
Daniel Brown wrote:
On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote:
That, or ***holes.
That's what my name tag says.
you got shot in the nametag 3 times? i dunno if that's good or bad luck!
Yep.
George Larson wrote:
That's funny!
I've been watching this and a few other lists (MySQL, local Linux Users'
Group) for a few days - weeks and I had wondered why the PHP list seemed
more hostile. :)
may be something to do with the fact 95% of posts here could be covered by:
- a 5 question
haliphax wrote:
On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham nrix...@gmail.com wrote:
Daniel Brown wrote:
On Mon, Mar 9, 2009 at 17:39, haliphax halip...@gmail.com wrote:
That, or ***holes.
That's what my name tag says.
you got shot in the nametag 3 times? i dunno if that's good or bad
On Monday 09 March 2009 15:38:37 Michael A. Peters wrote:
George Larson wrote:
Thanks everybody!
I guess I was a little vague. I'm working on an OpenSUSE setup with
Apache, MySQL and PHP. I just knew that my confusion was because of my
Windows up-bringing.
The writing I referred
On Mon, Mar 09, 2009 at 05:36:05PM -0400, George Larson wrote:
That's funny!
I've been watching this and a few other lists (MySQL, local Linux Users'
Group) for a few days - weeks and I had wondered why the PHP list seemed
more hostile. :)
Wow! This list is pretty cordial. I've been on
Message-
From: Jeff Harris [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 9:17 AM
To: Petya A Shushpanov
Cc: Radek Zajkowski; PHP GENERAL
Subject: Re: [PHP] Script Execution Time
On Jul 29, 2003, Petya A Shushpanov claimed that:
|?
|class jTimer {
|[snip]
|
|$timer-stop();
|echo
Could someone pass on a snippet, a function or a technique for measuring
script times. It appears the host I am with is having some PHP engine
performance problems and I need to send them the figures.
Thanks in advance
R
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Radek Zajkowski wrote:
Could someone pass on a snippet, a function or a technique for measuring
script times. It appears the host I am with is having some PHP engine
performance problems and I need to send them the figures.
Check out the user contributed notes on php.net for microtime().
* Thus wrote Radek Zajkowski ([EMAIL PROTECTED]):
Could someone pass on a snippet, a function or a technique for measuring
script times. It appears the host I am with is having some PHP engine
performance problems and I need to send them the figures.
So I'm suppose to take my timeout and
Hi Radek,
This has been posted before...around once every 2 weeks I guess :-)...check
the archive or you will/may get flamed.
Cheers,
-Ryan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-
From: Radek Zajkowski [EMAIL PROTECTED]
To: PHP GENERAL [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 1:09 AM
Subject: [PHP] Script Execution Time
Could someone pass on a snippet, a function or a technique for measuring
script times. It appears the host I am with is having some PHP
Petya A Shushpanov mailto:[EMAIL PROTECTED]
on Monday, July 28, 2003 3:41 PM said:
?
class jTimer {
[snip]
}
$timer = new jTimer;
$timer-start();
#your code here
$timer-stop();
echo round($timer-elapsed(),5);
You could one up this class by creating another method that
Tnx. I`ve it fixed jet.
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Petya A Shushpanov [EMAIL PROTECTED]; Radek Zajkowski
[EMAIL PROTECTED]; PHP GENERAL [EMAIL PROTECTED]
Sent: Tuesday, July 29, 2003 3:50 AM
Subject: RE: [PHP] Script Execution Time
Petya
On Jul 29, 2003, Petya A Shushpanov claimed that:
|?
|class jTimer {
|[snip]
|
|$timer-stop();
|echo round($timer-elapsed(),5);
|?
|
|--
|Petya A Shushpanov
|
Or, you could use http://pear.php.net/package-info.php?package=Benchmark
--
Registered Linux user #304026.
lynx -source
Hello,
I have some web application which is on some rented server. I have not
root privilege just FTP access to application web folder. OS is Linux,
web server Apache/1.3.27 and PHP version is 4.3.1
I need to define Linux task which will, in defined time, execute some PHP
look up cron
Nenad Djordjevic [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
I have some web application which is on some rented server. I have
not
root privilege just FTP access to application web folder. OS is
Linux,
web server Apache/1.3.27 and PHP version is
This would work if the script you wished to call was default.php / index.php
/ etc etc...
what I mean to say is site.com/index.php?var=foo is the same as
site.com/?var=foo, as long as your server works that way.
leaving out PHP_SELF will give different results if the script you wish to
call
Hi everybody,
i wrote a script which will be executed by HREF's. If a command is going to be
executed by a click on a link the page reloads itself and jumps
in the part of the script, which should be executed.
Normaly I wrote some like this for doing this:
echo 'a
Hi,
I've been skipping a night over this strange error:
after execution of a mail() command, de rest of the
script just gets ignored and my browser displays a
Cannot find server or DNS Error page instead.
Ideas about how to make this baby work would be
very welcome; thanks in advance.
I'm
Hi,
Well the PHP script is timing out after it executes a
no. of (or all the mail() commands). So what you got
todo is either set the PHP's timeout limit to 0 or
infinite.
set_time_limit(0);
Or you could invoke another program in the background
disconnect PHP (terminal) from it, and voila. But
]]
Sent: donderdag 16 augustus 2001 13:57
To: Vincent; [EMAIL PROTECTED]
Subject: Re: [PHP] script execution stops after
mail()
Hi,
Well the PHP script is timing out after it executes
a
no. of (or all the mail() commands). So what you got
todo is either set the PHP's timeout limit to 0
I have a php script that returns about 1.5Mb of data in text format to the
user. I am wondering if there is a way for php to display the time it took
to execute the script at the end of the file.
Put this at the top of the script:
code
function getmicrotime(){
list($usec, $sec) =
depends on the underlying FS - you might find yourself bitten
by disk hits that could've been avoided...
How about writing a small test suite and benching the server?
At 00:29 13.1. 2001, Randy Johnson wrote the following:
--
Is it
46 matches
Mail list logo