Re: Continue Script after readfile()

From: Date: Wed, 16 May 2001 18:13:33 +0000
Subject: Re: Continue Script after readfile()
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-53083@lists.php.net to get a copy of this message
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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#53083) next »