| 
	
 | 
 Posted by Dahak on 10/20/07 21:09 
On Sat, 20 Oct 2007 21:49:46 +0200, an orbiting mind-control laser 
made Michael Fesser <netizen@gmx.de> write: 
 
>>	I want to get the script to continue rendering a 'Thank you for 
>>downloading...'-type page, but nothing seems to happen after the 
>>readfile() or fpassthru(). 
> 
>That would be an entirely different thing. The browser requests one 
>resource and gets one, a ZIP file in this case. For another resource 
>like an HTML page for example the browser would have to send another 
>request, because you can't send two resources back at the same. One 
>request, one response, one resource. 
> 
>>	In practical terms, this is nothing more than an annoyance.  The 
>>end user gets the requested ZIP file, but nothing else can be done in 
>>the script. 
> 
>It can't be done in the script because it can't be done in HTTP. 
> 
>>	Other examples I've searched for online seem to imply that script 
>>execution should continue. 
> 
>Of course the script execution can continue, but you can't send a second 
>document back to the browser after the first requested file was sent. 
 
	Thanks for the quick reply. 
 
	Not being able to send anything else after the file was the bit I 
was missing. 
 
 
-Joe
 
  
Navigation:
[Reply to this message] 
 |