That all looks correct. But it may be failing since we’re not sending
a content-length header. Does this work in any browser at all?
Walter
On Feb 11, 2008, at 12:28 PM, dwn wrote:
Sorry this does not work either, can I check the whole code is
correct?<?php $base = dirname(__FILE__); $file = trim(strip_tags($_GET
[‘f’])); header(‘Content-type: video/mpeg’); header(‘Content-
disposition: attachment; filename="’ . $file . ‘"’); readfile
($base . ‘/’ . $file); ?>
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options