|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-07-09 15:41 UTC] shane
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 19:00:02 2025 UTC |
Hi! OS: Windows NT, SP3, various hotfixes PHP: 3.0 Clients: M$IE 4.01, Netscape 4.04 I'm trying to download file to client <? Header("Content-Type: application/octet-stream; ". "name=\"$fname\""); Header("Content-Disposition: filename=\"$fname\""); Header("Content-Length: ".filesize($fname)); readfile($fname); ?> If user selects "Save", PHP uploads file successfully and exit. If user selects "Cancel", PHP stays in memory and locks file - it can't be neither moved nor deleted. In php3.ini max_execution_time = 30 --- Vladimir Litovka <doka@webest.com>, lamer