|
Posted by robin on 09/21/06 18:38
If a user is is downloading a file from the server via a php
link...there are 2 ways I can do it..
1. Create a symlink to the file and .. redirect user to it and delete
the symlink later
OR
2. Just send appropriate headers to the browser and read the file to
it.
I was wondering which of these 2 approaches will take more resources.
Is there a way to benchmark this?
Regards,
Robin
Navigation:
[Reply to this message]
|