Too long time for performing script

Discussion in 'PHP' started by kustov, Jul 6, 2007.

  1. #1
    There is a PHP – script on the server, which is worked out for a long time (over 10 min). The connection breaks up while performing the script and the absence of output to the client’s browser since the browser thinks that the server stops answering. How can I solve the problem that part of the PHP script on the server can not be performed because of connection interruption?
     
    kustov, Jul 6, 2007 IP
  2. sv4rog

    sv4rog Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    http://www.php.net/function.set-time-limit

    But there is also the possibility that the server sends a timeout message (and times out the browser), while the script is still being executed until the end.
     
    sv4rog, Jul 6, 2007 IP