[nycphp-talk] Script terminates after certain amount of time period
Chris Shiflett
shiflett at php.net
Mon Sep 8 09:08:16 EDT 2003
--- Anirudh Zala <xml at aumcomputers.com> wrote:
> My php script generates PDF document that takes approx 2 mins to
> generate 1.5 MB PFD depending upon criteria, But if i choose more
> data and when PDF size is to be needed more than 2 MB and higher,
> browser says "The page cannot be displayed" after few mins, ie php
> scripts is terminated.
There are two problems, I think:
1. Set your time limit to something big for this script.
<http://www.php.net/set_time_limit>
2. Are you using IE? Don't.
Hope that helps.
Chris
=====
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.org/
More information about the talk
mailing list