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 >

Re: [PHP] Script execution

2009-03-10 Thread Daniel Brown
On Tue, Mar 10, 2009 at 01:23, Paul M Foster 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.br...@parasane.net || danbr...@php.net http://www.p

Re: [PHP] Script execution

2009-03-09 Thread Paul M Foster
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 o

Re: [PHP] Script execution

2009-03-09 Thread Ray
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 writin

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
haliphax wrote: On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham wrote: Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax 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. Now nobody can tell i

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
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 "fa

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:55 PM, Nathan Rixham wrote: > Daniel Brown wrote: >> >> On Mon, Mar 9, 2009 at 17:39, haliphax 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. Now nobody can tell

Re: [PHP] Script execution

2009-03-09 Thread Nathan Rixham
Daniel Brown wrote: On Mon, Mar 9, 2009 at 17:39, haliphax 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: http://www.php.net/uns

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:39, haliphax wrote: > > That, or "***holes." That's what my name tag says. -- 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 DOW1 -- PHP General Mail

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:36 PM, 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.  :) In a word, I think "familiarity" sums it up. That, or "

Re: [PHP] Script execution

2009-03-09 Thread Michael A. Peters
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

Re: [PHP] Script execution

2009-03-09 Thread George Larson
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 wrote: > On Mon, Mar 9, 2009 at 17:21, Daniel Brown wrote: > > > >R

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:28 PM, Daniel Brown wrote: > On Mon, Mar 9, 2009 at 17:21, Daniel Brown 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

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:21, Daniel Brown 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 added to my seem

Re: [PHP] Script execution

2009-03-09 Thread George Larson
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 usi

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 17:17, haliphax 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 a *NIX-like setup

Re: [PHP] Script execution

2009-03-09 Thread haliphax
On Mon, Mar 9, 2009 at 4:04 PM, Daniel Brown wrote: > On Mon, Mar 9, 2009 at 16:59, George Larson 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,

Re: [PHP] Script execution

2009-03-09 Thread Daniel Brown
On Mon, Mar 9, 2009 at 16:59, George Larson 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 server you're using) will r

Re: [PHP] Script execution

2009-03-09 Thread Ashley Sheridan
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 h

RE: [PHP] Script Execution Time

2003-07-29 Thread Ow Mun Heng
: 03-7870 5168 -Original 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: |stop(); |echo

Re: [PHP] Script Execution Time

2003-07-28 Thread Jeff Harris
On Jul 29, 2003, "Petya A Shushpanov" claimed that: |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 http://jharris.rallycentral.us/jharris.asc | gpg

Re: [PHP] Script Execution Time

2003-07-28 Thread Petya A Shushpanov
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

RE: [PHP] Script Execution Time

2003-07-28 Thread Chris W. Parker
Petya A Shushpanov 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

Re: [PHP] Script Execution Time

2003-07-28 Thread Petya A Shushpanov
start = microtime(); } function stop() { $this->stop= microtime(); } function elapsed() { if ($this->elapsed) { return $this->elapsed; } else { $start_u = substr($this->start,0,10); $start_s = substr($this->start,11,10); $stop_u = substr($this->

Re: [PHP] Script Execution Time

2003-07-28 Thread Ryan A
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

Re: [PHP] Script Execution Time

2003-07-28 Thread Curt Zirzow
* 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 sea

Re: [PHP] Script Execution Time

2003-07-28 Thread Brad Pauly
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(). http://us

[PHP] Re: php script execution by linux automated task

2003-03-21 Thread Brian McGarvie
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 ve

Re: [PHP] Script Execution via URL

2002-09-01 Thread Justin French
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 ISN'

RE: [PHP] script execution stops after mail()

2001-08-16 Thread Mukul Sabharwal
> Vincent > > > -Original Message- > From: Mukul Sabharwal > [mailto:[EMAIL PROTECTED]] > Sent: donderdag 16 augustus 2001 13:57 > To: Vincent; [EMAIL PROTECTED] > Subject: Re: [PHP] script execution stops after > mail() > > > Hi, > > Well the PHP

Re: [PHP] script execution stops after mail()

2001-08-16 Thread Mukul Sabharwal
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

Re: [PHP] Script Execution Time

2001-07-19 Thread Jome
> 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: function getmicrotime(){ list($usec, $sec) = explode(

Re: [PHP] Script execution Speed

2001-01-12 Thread Alex Black
sort of. if you will always need the same functions for every page, it is probably faster to put them all in one file (where pure speed is concerned) in binarycloud, everything that makes sense to logically separate into separate files. I though that would be kind of "ok" re speed until zend ca

Re: [PHP] Script execution Speed

2001-01-12 Thread Cynic
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