[PHP] Re: Download Script

2004-08-27 Thread Jasper Howard
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/ <<--

[PHP] Re: Download Script

2004-08-27 Thread Aaron Todd
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)

[PHP] Re: Download Script

2004-08-27 Thread Jasper Howard
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: $