OK, I think I failed to see what was realling happening. The script is
continuing after the readfile(), however, I want the page to reload
after the file is done. The link that lets the user download the file is
really a link to $PHP_SELF with some variables set. Everything in the
script will continue to run, but the page will not reload. I also tried
sending a header("Location: ...") and that didn't work. Is this
possible? Thanks,

Joe

Rasmus Lerdorf wrote:
> 
> > is it possible for a script to continue running after calling
> > readfile()? I have a function that uses readfile(), after the file has
> > been read, I need to update a database. Any reason my script would just
> > stop executing? At first I thouht it may be a time limit, issue, but I
> > set time limit to 0 and it still doesn't work. Any ideas? Thanks,
> 
> There is no reason your script should be terminating after a readfile()
> call.
> 
> -Rasmus
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to