[thelist] Downloading files with a Mac

Anthony Baratta Anthony at Baratta.com
Thu Sep 5 18:27:01 CDT 2002


At 04:06 PM 9/5/2002, CV wrote:

>On the server end I send out the file with: (it's php)
>
>Header( "Content-Type: application/octet-stream" );
>Header( "Content-Length:" . filesize( $filepath ) );
>Header( "Content-Disposition: attatchment;
>filename=$filename" );
>Header( "Content-Location:
>$HTTP_HOST/downloadcache/$filename" );


You have "attatchment" spelled wrong, too many t's.
--
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."




More information about the thelist mailing list