Date: 09/02/99
- Next message: a.gremm <email protected>: "[PHP-DEV] Bug #2215: apache seg fault /"
- Previous message: Rick -: "[PHP-DEV] search"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello!
I need to upload files to clients in some special way!
As described here:
<?
$filename="/path/to/some/file/file_name";
$size=filesize($filename);
Header("Content-Type: application/octet-stream");
Header("Content-Length: $size");
Header("Content-Disposition: attachment; filename=file_name");
readfile($filename);
?>
How can I make sure that file was downloaded successfully
or aborted?
- Next message: a.gremm <email protected>: "[PHP-DEV] Bug #2215: apache seg fault /"
- Previous message: Rick -: "[PHP-DEV] search"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

