Rolf Wouters wrote:
Chris wrote:
Rolf Wouters wrote:
Hello everybody
I'm having some strange behaviour in a PHP4 app I'm working on.
When I send my request to the server, it returns a blank page to me
within ca. 40 sec. On the server itself, my request is still being
handled.
What exactly do you want help with? The blank page or the request
still going?
The blank page. It shouldn't be there, and not when the request is
still running. Or am I mistaken in thinking that the browser should
wait with displaying _anything_ before it becomes the result-page from
the server.
I'm guessing it's just a timeout issue - "maximum execution time
exceeded" type thing - check your php or apache error logs and see what
that tells you.. if nothing shows up, turn log_errors on, restart apache
and see what you get.
Try adding some flush() calls to the script. That might get the browser
to display some content.. Don't know whether it will work though.
Copy has to wait until it's finished before telling you the results. If
it's copying a 20M file, that takes a while.. If you're copying multiple
20M files, then hey.. there's you're problem. How many and how big are
the files in this case?
You might be better off running a script to run through cron every 5
minutes or so and doing it all for you.. then getting it to email you
the results.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php