phpbar.de logo

Mailinglisten-Archive

[php] R: [php] php ftp funktionen

[php] R: [php] php ftp funktionen

Alexander Mieland php-mailingliste_(at)_halflife-editing.de
Thu, 07 Dec 2000 16:35:32 +0100


At 14:27 07.12.2000 +0100, you wrote:
> > > > set_time_limit (10);
> > > >
> > > > Dann hat das Skript 10 Sekunden mehr Zeit... :)
> > >
> > >negativ, das script läuft dann genau 10 sekunden.
> > >du musst es schon auf 40 sek. hochsetzen
> > >
> > >ODER ???
> >
> > Nope, AFAIK werden die 10 Sekunden zur MAX_EXECUTION_TIME
> > hinzugezählt.
>
>nein, das wäre unlogisch.
>
>max_execution_time integer
>This sets the maximum time in seconds a script is allowed to take before it
>is terminated by the parser. This helps prevent poorly written scripts from
>tieing up the server.

---------------------schnipp------------------------
When called, set_time_limit() restarts the timeout counter from
zero. In other words, if the timeout is the default 30 seconds,
and 25 seconds into script execution a call such as set_time_limit(20)
is made, the script will run for a total of 45 seconds before timing
out.
---------------------schnapp------------------------

http://www.php.net/manual/function.set-time-limit.php



-- 
mfg
Alexander Mieland   --   aka DMA147.ThW.N
dma147_(at)_thewall.de
|-->         http://www.apboard.de          <--|
|-->         http://www.thewall.de          <--|
|-->     http://www.halflife-editing.de     <--|



php::bar PHP Wiki   -   Listenarchive