yeah, but images with filenames something like this -> cool_image
v2.5.443.jpg
--
-->>
Jasper Howard :: Database Administration
Velocity7
1.530.470.9292
http://www.Velocity7.com/
<<--
Were you trying to download any files in the format "filename v1.0.2.0.exe"
I just tried using readfile and got the same results.
Aaron
"Jasper Howard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When I created a download script a couple weeks ago I used
> readfile($filename)
When I created a download script a couple weeks ago I used
readfile($filename) instead of fread() and didn't get anything like what
you're getting.
[snippet]
header("Content-type: $type");
header('Content-Disposition: attachment; filename="'.$file_name.'"');
readfile($dfile);
[/snippet]
NOTE: $
3 matches
Mail list logo