Isn't working because when you include the file it complains that it can't send headers? Specially because there's an output on line X of the included file? Like anything outside <?php ?> and/or echo, print, etc...?
Well, you could try to make a smaller version of the included file that doesn't output anything to the browser. -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Ian Wayne" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm trying to force the browser to download a movie rather than open it up > and play it. Yesterday, Miguel kindly put me onto headers as being the way > to do this. Problem is I have an include at the top of the page and that > won't let me add in the necessary headers. The PHP manual says to use > buffering as the way around this: ob_start(); and ob_end_clean(); > > Should these buffer commands go around the include statement? When I do that > the page doesn't load at all, so I'm guessing that there must be another > way, but what that way is I have no idea. Does anyone??? > > Thanks, > > Ian > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php