carolyn at supersaturated.com
Thu Apr 24 15:10:45 PDT 2008
Instead of die()ing, I would just print to the web page whatever message
you want to end with. (I hate die() and never call it. In fact, I disable
it wherever anyone else calls it, or do an end run around it with eval().
Is that evil()? :)
I may have misunderstood your problem. Maybe I need the long, superdrawn
out version of it.
Carolyn Ray, Ph.D.
www.supersaturated.com The mind is a terrible thing.
On Thu, 24 Apr 2008, Urivan Saaib wrote:
> That's the normal behaviour of any web loaded application, where the web
> server executes, parses and then sends the response back to the client.
> There is however a setting to flush out the output, it's not comming to my
> head right now, somebody else might remember it?
> -Urivan Flores-Saaib
> ==============Original message text===============
> On Thu, 24 Apr 2008 13:49:04 PDT Joel Fentin wrote:
> This is the super-short explanation:
> The perl code:
> sleep 10;
> die 'fff';
> In my laptop using a personal server (Apache 2.2), The success message
> is displayed. Ten seconds later the program dies:
> Software error: fff at .....pl line 116. This is what I want.
> When I FTP the program to the internet and run it (Apache 1.3), it waits
> the ten seconds and then displays all. This is what I don't want.
> Suggestions please.
More information about the San-Diego-pm