File Download and Header

This is a discussion on File Download and Header within the PHP General forums, part of the PHP Programming Forums category; Hello, I have a link on a page(A) that calls another page(B) that reads a BLOB from a ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-22-2008
Mike
 
Posts: n/a
Default File Download and Header

Hello,
I have a link on a page(A) that calls another page(B) that reads a
BLOB from a DB and uses header() fields to display a file save dialog
box. This all works. But nothing else on page B ever gets
displayed.Page A Stays up:

header("Content-Type: $filetype");
header("Content-length: $filesize");
header("Content-Disposition: attachment; filename=$filename");
header("Content-Description: PHP Generated Data");
header('Pragma: private');
header('Cache-control: private, must-revalidate');

But there is also other stuff on this page(B) that I want to display.
I am using PhpEd and I step through page B to the end but B never
shows.
Any suggestions?
Thanks
Mike
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0