phpbar.de logo

Mailinglisten-Archive

[php] R: [php] php ftp funktionen

[php] R: [php] php ftp funktionen

Alexander Mieland dma147_(at)_arcormail.de
Thu, 07 Dec 2000 17:45:43 +0100


At 17:02 07.12.2000 +0100, you wrote:
> > >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------------------------
>
>hehehe wieder was gelernt !
>aber theoretisch ist das doch bescheuert, wenn ich aus
>sicherheits gründen ein script nur 10 sekunden lang laufen lassen will ??
>
>set_time_limit(-60);
>
>dann könnte man in die vergangenheit scriptieren

:)))

Alex Mieland



php::bar PHP Wiki   -   Listenarchive