By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,641 Members | 1,685 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,641 IT Pros & Developers. It's quick & easy.

Download files - Problem

P: n/a

I'm geting file :

$contents = file_get_contents($file);
$size = filesize($file);
header("Content-Length: $size;");
header("Content-Disposition: attachment; filename=$export_file_name");

I've two problems.

1. File who I got is one Enter greater.
2. When the filename include more points for instance I've got

Thanks for Your help

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.